AnyChart events using Sankey - anyone get this to work?

0
Has anyone been able to get  events to work using Plotly’s Sankey charts?  I get strange results even when using the very simplistic sample code from the Plotly documentation. Hover works (i.e. Plotly’s default hover message is shown), but an error is put in the the console on each mouse-over.  I don’t have a tool tip configured on the Events tab. Cannot read property 'hoverinfo' of undefined TypeError: Cannot read property 'hoverinfo' of undefined     at s.t.onHover (http://localhost:8080/widgets/com/mendix/widget/custom/AnyChart/AnyChart.js?637568490308695324:18:65535)     at s.emit (http://localhost:8080/widgets/com/mendix/widget/custom/AnyChart/chunk8784dca36f4a31bbae64.js:7:80858)     at HTMLDivElement.t.emit (http://localhost:8080/widgets/com/mendix/widget/custom/AnyChart/chunk8784dca36f4a31bbae64.js:54:452710)     at Object.hover (http://localhost:8080/widgets/com/mendix/widget/custom/AnyChart/chunk8784dca36f4a31bbae64.js:54:1371394)     at SVGGElement.<anonymous> (http://localhost:8080/widgets/com/mendix/widget/custom/AnyChart/chunk8784dca36f4a31bbae64.js:54:1380984)     at SVGGElement.__onmouseover.basic (http://localhost:8080/widgets/com/mendix/widget/custom/AnyChart/chunk8784dca36f4a31bbae64.js:14:193883)   On-click:  I have a simple microflow to display a message showing the event string returned from AnyChart.  The message box does not display, and this error is put in the console: Converting circular structure to JSON     --> starting at object with constructor 'Object'     |     property 'sourceLinks' -> object with constructor 'Array'     |     index 0 -> object with constructor 'Object'     --- property 'source' closes the circle TypeError: Converting circular structure to JSON     --> starting at object with constructor 'Object'     |     property 'sourceLinks' -> object with constructor 'Array'     |     index 0 -> object with constructor 'Object'     --- property 'source' closes the circle     at JSON.stringify (<anonymous>)     at callback (http://localhost:8080/widgets/com/mendix/widget/custom/AnyChart/AnyChart.js?637568506525137386:18:298676)     at C (http://localhost:8080/mxclientsystem/mxui/mxui.js?637568506525137386:5:210591)     at http://localhost:8080/mxclientsystem/mxui/mxui.js?637568506525137386:5:217304 This is the Plotly sample data I have in the Static property on the Data tab of AnyChart: [{   "type": "sankey",   "orientation": "h",   "node": {     "pad": 15,     "thickness": 30,     "line": {       "color": "black",       "width": 0.5     },    "label": ["A1", "A2", "B1", "B2", "C1", "C2"],    "ids": ["A1", "A2", "B1", "B2", "C1", "C2"],    "color": ["blue", "blue", "blue", "blue", "blue", "blue"]       },   "link": {     "source": [0,1,0,2,3,3],     "target": [2,3,3,4,4,5],     "value":  [8,4,2,8,4,2]   } }] I’m using Mendix 9.0.5 and the latest AnyChart Building Blocks 2.0.1 Thanks
asked
0 answers