-
Sencha User
Chart does not update
I am using gxt 3.0.0 beta.
My bar chart uses a store which gets updated
store.clear();
store.addAll(new data);
you need to call chart.redraw() to show the new data.
In the old lib, you can call store.setMonitorChange(true). Is there an equivalent call needed here? I tried store.setAutoCommit(), but that did not work.
-
Sencha User
bindStore in Chart should give you what you want.
-
Sencha User
Thanks, bindStore is the correct call. However, Gauge chart has a bug which causes a crash when you call store.clear(). so I am back to calling redraw().
-
Sencha User
Thanks for pointing out that bug. It will be fixed in the next release.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules