Posts: 5
Joined: Sat Jun 19, 2021 8:29 pm


Wed Sep 20, 2023 4:15 pm

Hi I have a scenario where i and not displaying datalabels at first but when user open graphs in full screen i show the datalabels.
so !fullscreen =. datalabels : disabled and fullscreen =. datalabels : enabled.

But when I am downloading the chart it is giving the chart in initial stage without datalabels I want it to be downloaded as shown in fullscreen.

Is there any way I can achieve this?

Posts: 419
Joined: Thu Oct 06, 2022 12:49 pm


Thu Sep 21, 2023 9:00 am

Hello There!

We appreciate you reaching out to us again.

There's a very straightforward exporting.chartOptions property that allows you to define chart options only for export, so you can export a different chart than what you have rendered. Please take a look at an example: As you can see, the dataLabels you mentioned are disabled initially but are visible in the exported file.

Let me know if that's what you were looking for,
Kind Regards!
Kamil Kubik
Highcharts Developer

Return to “Highcharts Usage”