I am using a chart to visualize data in TimeboxScopedApp , and I want to update the data when the area changes. A rougher approach to using remove() , and then redrawing the diagram as described here , leaves me with the "Loading ..." mask attached, but it works otherwise. A natural approach to using the highchart native redraw() method would be my preference, but I donβt know how to access the real Highchart object, and not the App SDK shell.
Here's the relevant piece of code:
var chart = Ext.getCmp('componentQualityChart'); if (chart) { var chartCfg = chart.getChartConfig(); chartCfg.xAxis.categories = components; chart.setChartConfig(chartCfg); chart.setChartData(data); chart.redraw();
How do I redraw a chart with new data?
source share