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

Comments

Projects
None yet
5 participants
@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

This comment has been minimized.

Collaborator

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

This comment has been minimized.

Contributor

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