Skip to content
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

Annotations are not exported if added dynamically #8393

Closed
Izothep opened this issue May 29, 2018 · 2 comments
Closed

Annotations are not exported if added dynamically #8393

Izothep opened this issue May 29, 2018 · 2 comments
Assignees

Comments

@Izothep
Copy link
Contributor

@Izothep Izothep commented May 29, 2018

Expected behaviour

Annotations should be exported when added dynamically just like they are exported when added in initial chart options.

Actual behaviour

Annotations are not visible on exported chart if added dynamically

Live demo with steps to reproduce

https://jsfiddle.net/BlackLabel/8d1xa85o/1/

Product version

Highcharts 6.1.0

Affected browser(s)

All

@TorsteinHonsi
Copy link
Collaborator

@TorsteinHonsi TorsteinHonsi commented May 31, 2018

The addAnnotation function must probably also add it the the chart annotation options in order for it to be picked up by the export. The same applies to removeAnnotation.

On a side note, there seems to be an Annotation.update function missing.

@sebastianbochan
Copy link
Contributor

@sebastianbochan sebastianbochan commented Jun 4, 2018

@morganfree
Any comments?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Linked pull requests

Successfully merging a pull request may close this issue.

None yet
5 participants
You can’t perform that action at this time.