Hello All,
We are trying to create chart, data in which could be switched.
In the bottom of page there is switcher/link that control what data to show.
We are using javascript version. The problem is that we need not only change datasource, but all including axes properties, zoom levels,
datalabels etc. So generally 2 versions could look completely different. We just want to preserve chart size, names of axes and some general properties including chart type.
Everything related to data could differ. We tried to use $("#container").ejChart(chartProperties); when switching datasource. But it just create second chart over first seem to me, because datalabels are mixed. We tried $("#container").ejChart("instance").model = chartProperties; it also fails. Are there any possibilities? We don't want blinking of chart due of recreation/destroy. But could not find any good way.
I have attached our sample cshtml.
Attachment:
Index_99e11900.zip