View Full Version : Ext.chart.Chart with Sencha cmd

6 Apr 2014, 10:30 AM
Hi all!
I have a problem with sencha cmd. When I build app (running sencha app build), charts don't redraw after store have been loaded. But when I run this code without sencha cmd just including ext-all-debug.js and ext-charts-debug.js it's work fine. May be I forgot include something?

P.S. I'll provide any additional information you need.

10 Apr 2014, 3:07 AM
Within your Cmd app, did you require a charts package?

14 Apr 2014, 8:50 AM
Yes, I did. I see the diagram but without any data on it.

15 Apr 2014, 10:28 AM
I include requires in app .jso the sencha chart but when I give redraw not refresh and do the same when set store,
and I do set again the axes and series

21 May 2014, 12:34 AM
I confirm, the redraw() function on sencha charts seems not to update the chart.

I dinamically set xField and yField of the series in line chart and call chart.redraw()

While for example axes title gets updated, the data from bound store are not rendered.

I found out that calling performLayout() instead of redraw() is better for this case - but still, the series is not rendered until bound store data are updated.