Announcement

Collapse
No announcement yet.
X
  • Filter
  • Time
Clear All
new posts

    Is it possible to update an existing FacetChart with new data?

    It seems that using setData() on a chart after it is created is OK as long as data is null to begin with. But after calling setData with a Record[] and then calling it again with a new Record[] I get this error.

    19:02:30.781 [ERROR] [ipgui] 19:02:22.495:TMR0:WARN:DrawRect:isc_DrawRect_12:[Exception... "Operation is not supported" code: "9" nsresult: "0x80530009 (NS_ERROR_DOM_NOT_SUPPORTED_ERR)" location: "http://127.0.0.1:8888/ipgui/sc/modules/ISC_Drawing.js?isc_version=7.0.js Line: 144"] [No error.stack available]

    Do I need to destroy and rebuild the FacetChart altogether to update the data?

    #2
    No need, in fact setData() with existing data is how all the chart type switching and facet switching and such is implemented, so it clearly works in general - can you find something special about your particular case?

    Comment


      #3
      Sorry. My fault. My facet values were null due to a bug in my code. It's working now, thanks.

      Great charting feature, by the way!

      Comment

      Working...
      X