I have code that updates the datasource of a chart and it works fine. I also have code that changes the chart from a column to bar to line. That also works, but any time the .refresh() method is called on the chart, it reverts the datasource to the original data source.
Was wondering if this is a bug, or a feature change.
Testing steps:
Change the "Select parking area filter" from 0 to 4. Notice the chart refreshes with values of 5 (n+1).
Change the "Chart type" from column to bar. Notice the data source reverts back to original.
The fiddles below are identical except for the kendo.all.min.js included.
2012.1.322 - Broken
http://jsfiddle.net/CdpgZ/3/
2011.3.1129 - Works
http://jsfiddle.net/YbrgL/1/
Thank you
Jon
Was wondering if this is a bug, or a feature change.
Testing steps:
Change the "Select parking area filter" from 0 to 4. Notice the chart refreshes with values of 5 (n+1).
Change the "Chart type" from column to bar. Notice the data source reverts back to original.
The fiddles below are identical except for the kendo.all.min.js included.
2012.1.322 - Broken
http://jsfiddle.net/CdpgZ/3/
2011.3.1129 - Works
http://jsfiddle.net/YbrgL/1/
Thank you
Jon