Alejo77
Posts: 2
Joined: Mon Nov 08, 2021 8:34 pm

Different yAxis labels values in exported files

Hi, I'have a column stockChart that shows correctly in the web (3 labels in yAxis, 1000, 2000, and 3000) but in all exported files it shows juste one yAxis label an it's way too différent from the max value (10 000). I attached images of the graphic. here is teh code of the exporting object:
exporting: {
enabled: true,
buttons: {
contextButton: {
menuItems: ['viewFullscreen', 'printChart', 'separator', 'downloadPNG', "downloadJPEG", "downloadPDF", 'separator', "downloadCSV"]
}
},
chartOptions: {
title: {
style: {
fontSize: '14px'
},
text: "xxxx"
},
rangeSelector: {
enabled: false,
},
chart:{
marginTop:'75',
}

},

filename:'xxxx'
},
Attachments
erreurExportedOneLabel.JPG
erreurExportedOneLabel.JPG (49.98 KiB) Viewed 344 times
mateusz.b
Posts: 2006
Joined: Tue Jul 13, 2021 11:34 am

Re: Different yAxis labels values in exported files

Hello Alejo77,

Welcome to our forum and thanks for contacting us with your question!

Export config is not enough in this case. Please provide me with reproduction of your chart in a form of a live demo. You can start here: https://jsfiddle.net/BlackLabel/zjLxq9hm/
Please make sure that the demo presents the issue.

Regards!
Mateusz Bernacik
Highcharts Developer

Return to “Highcharts Stock”