warning: Cannot modify header information - headers already sent by (output started at /home/joel/public_html/blog/includes/bootstrap.inc:696) in /home/joel/public_html/blog/includes/common.inc on line 148.
Submitted by Marcel (not verified) on 7 April 2008 - 3:36am.
I really love this piece of work!
I got it working with AreaChart as well. I noticed that if you want a smooth update of your scrollbar using a DateTimeAxis with irregular dates, you need to add
_scrollBar.invalidateDisplayList();
_scrollBar.invalidateProperties();
_scrollBar.invalidateSize();
in ChartDataScrollBar just after the updateScrollBar line 444. Not sure if you need all these invalidate functions, but it works better now.
BUT, one thing I can't seem to figure out is that when you update your dataProvider, it just shows you all your datapoints and the whole zoom and scroll stuff does not work. It seems to have lost its connection with the original chart or something. Any ideas?
(but thanks for the great work, it made a big impression here...!)
Got it working with AreaChart
I really love this piece of work!
I got it working with AreaChart as well. I noticed that if you want a smooth update of your scrollbar using a DateTimeAxis with irregular dates, you need to add
_scrollBar.invalidateDisplayList();
_scrollBar.invalidateProperties();
_scrollBar.invalidateSize();
in ChartDataScrollBar just after the updateScrollBar line 444. Not sure if you need all these invalidate functions, but it works better now.
BUT, one thing I can't seem to figure out is that when you update your dataProvider, it just shows you all your datapoints and the whole zoom and scroll stuff does not work. It seems to have lost its connection with the original chart or something. Any ideas?
(but thanks for the great work, it made a big impression here...!)