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.
![](https://secure.gravatar.com/avatar/8409034ba572611abcde6e49865f9abf?size=40&default=https%3A%2F%2Fassets.uvcdn.com%2Fpkg%2Fadmin%2Ficons%2Fuser_70-6bcf9e08938533adb9bac95c3e487cb2a6d4a32f890ca6fdc82e3072e0ea0368.png)
-
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.