-
Notifications
You must be signed in to change notification settings - Fork 3.6k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Export utility not including changes made to the data after render time #48
Comments
For adding series, this issue can be worked around by adding the series options to the chart options object in an event handler. See http://jsfiddle.net/qX6Kf/2/
|
...and with series.remove: |
Added feature where exported image reflects updated data in the chart. Closed by 9bd4aad. |
The same problem applies for setCategories() method. New categories don't appear on exported charts. Reporter at: http://highslide.com/forum/viewtopic.php?f=9&t=7052#p34282 |
Same problem with setTitle(). Click the Set Title link and see the title change on the chart. Then click export button and you see it renders the old title without the new title and subtitle. |
I needed the ability to export categories that were added after initial chart creation by setCategories(), so I added the some code into the loop that sets the extremes of the axis to also loop through and set the categories of the axis.
|
Demo for the setCategories case: http://jsfiddle.net/highcharts/WMtv6/
|
Demo after fix: http://jsfiddle.net/highcharts/WMtv6/1/ |
Excuse me, [Same problem with setTitle(). Click the Set Title link and see the title change on the chart. Then click export button and you see it renders the old title without the new title and subtitle. You have not resolve this problem? |
Here's a little workaround that you can use: |
I have found an issue with the workaround. If you click "Set Title" more than once, you lose the formatting on the chart title. I am also seeing this in my application when trying to use the workaround. Does anyone have any thoughts on avoiding this? |
I've updated the workaround, and also fixed the issue in the core. |
Demo: http://jsfiddle.net/qX6Kf/
Also test all other dynamic data operations.
The text was updated successfully, but these errors were encountered: