j.senden
Posts: 1
Joined: Fri Oct 12, 2018 10:06 am

No secondary Y-axis shown on export

I have chart with two Y-axes. Both Y-axes are shown on the screen but on the export only the first Y-axis is visible.
Chart on screen has a different styling then export-chart. On screen: background grey and text-color white, On export: background white and text-color black.
It seems that the exported secondary Y-axis has the text-color white so on a white background not visible. (when clicking Crtl-A on the exported chart I can see that there is a Y-axis title but it is not visible; white color on white background ?)
How can I get the right styling for the secondary Y-axis for the exported chart ?
bastss
Site Admin
Posts: 1208
Joined: Wed Oct 17, 2018 10:59 am

Re: No secondary Y-axis shown on export

Hi j.senden,

Is this what you had in mind?
https://jsfiddle.net/Bastss/hbp2rc7s/

I suppose you forgot set something inside exporting and after exporting, value from screen was loaded.

API: https://api.highcharts.com/highcharts/e ... artOptions

Best regards,
Sebastian Wędzel,
Highcharts Developer

Return to “Highcharts Usage”