Reply to comment

  • 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.
  • The comment you are replying to does not exist.
  • The comment you are replying to does not exist.
  • The comment you are replying to does not exist.

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...!)

Reply

The content of this field is kept private and will not be shown publicly.
  • Web page addresses and e-mail addresses turn into links automatically.
  • Allowed HTML tags: <a> <em> <strong> <cite> <code> <ul> <ol> <li> <dl> <dt> <dd>
  • Lines and paragraphs break automatically.
  • You may post code using <code>...</code> (generic) or <?php ... ?> (highlighted PHP) tags.
  • Syntax highlight code surrounded by the {syntaxhighlighter OPTIONS}...{/syntaxhighlighter} tags.

More information about formatting options

CAPTCHA
This question is for testing whether you are a human visitor and to prevent automated spam submissions.
Image CAPTCHA
Enter the characters (without spaces) shown in the image.