You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Jul 29, 2019. It is now read-only.
I just started trying to use Graph3d yesterday and used the available example code 10_styling.html to reproduce the excpetion. Btw; nice work! I changed the example to call setBarWidth() when x or y width is changed.
I cloned the latest repository and am using the distribution:
I wanted to allow the users to dynamically set the value range for coloring. When I pass updated options to graph3d.setOptions() an exception is throw from DataGroup.reload line 13850 that says DataGroup does not have a setData method. I changed reload to take a graph3d as an argument and called graph3d.setData(this.dataTable) rather than this.setData(dataTable). This seems to have the correct behavior. The graph updates and has the new value range. Or in the case of the example code below the correct bar width.
Not sure if this would be the proper fix as I have just started looking at your component.
Object doesn't support property or method 'set
/** * Reload the data */DataGroup.prototype.reload=function(){if(this.dataTable){this.setData(this.dataTable);}};