printing Chart with Scroll Bar
Do we have an option to print the complete chart instead of the just the part of the chart in view when using a scroll bar
Example: http://jsfiddle.net/gopinaghr/kUSyF/293/
I would like to print complete chart using the print button.
-
Karthik commented
Any updates on this @Torstein Hønsi @Paweł Fus
-
Karthik commented
Do you think we can use AfterPrint to go back to previous scale?
-
Seems like null, null doesn't work, so you can use xAxis.dataMax:
-
AdminPaweł Fus (Admin, Highcharts JS) commented
You can use beforePrint and afterPrint events ( http://api.highcharts.com/highcharts/chart.events.beforePrint ) and call there:
xAxis.[0].setExtremes(null, null);
To change extremes just for a print action. After print you can restore previous extremes.