suyashdeshpande
Posts: 23
Joined: Wed Feb 24, 2021 5:57 am

exportChartLocal exporting black chart

Hey,

I am exporting a scatter & Box plot using exportChartLocal(). When number of points is greater than approx 2500, it exports a blank chart and when number of points is less, it works correctly.

Sorry, I was not able to reproduce it on jsfiddle.

Any idea what might be wrong?

Thanks
mateusz.b
Posts: 2006
Joined: Tue Jul 13, 2021 11:34 am

Re: exportChartLocal exporting black chart

Hello suyashdeshpande,

Thanks for contacting us with your issue.

I have tried to reproduce that issue and here are results: https://jsfiddle.net/BlackLabel/Lmxnuyos/
Roughly 3000 points total and chart still exports fine. However, exporting more points might not be possible due to our limitations. I believe that this could be the reason for exporting blank chart. In such cases you need to setup your own export server.

Related GH issue:
https://github.com/highcharts/highcharts/issues/4614

Setting custom exporting server with increased increased size limit in nginx.conf as a workaround:
https://www.highcharts.com/docs/export- ... the-server

Let me know if you have any further questions!
Best regards!
Mateusz Bernacik
Highcharts Developer
suyashdeshpande
Posts: 23
Joined: Wed Feb 24, 2021 5:57 am

Re: exportChartLocal exporting black chart

Hey,

https://jsfiddle.net/pw69hjdt/8/
In this example, I am able to export approx 8000 points using offline module. But in my code, it exports blank (offline module) chart if number of points exceeds approx 3000

Thanks
mateusz.b
Posts: 2006
Joined: Tue Jul 13, 2021 11:34 am

Re: exportChartLocal exporting black chart

Hi suyashdeshpande,

I will pass this topic on to our export server expert and your issue will be addressed as fast as possible. Thanks for your patience.

Best regards!
Mateusz Bernacik
Highcharts Developer
User avatar
KacperMadej
Posts: 4632
Joined: Mon Sep 15, 2014 12:43 pm

Re: exportChartLocal exporting black chart

Hi,

The provided demo works fine. Please add a live demo based on your code to show the problem.

If this works fine in the demo and in your code it doesn't then it looks like the problem is within your code - without the code there is not much that we could help here as there is nothing to check or debug.

Maybe turboThreshold plays tricks on your chart, but by default, the threshold is set to 1000.
Maybe the used browser (name + version) is the problem source.
Maybe something else.

If you are not able to recreate the problem in a live demo in the JSFiddle then you could:
- check if versions of Highcharts and its modules match your code and the working demo
- disable all unrelated code to make the both (working and broken) chart more similar code-wise
- share the problematic chart another way - file, URL, GitHub repository, different JS sandbox than JSFiddle, etc.

Best regards,
Kacper Madej
Highcharts Developer

Return to “Highcharts Usage”