Resize issue when printing page through Browser
Posted: Wed Sep 14, 2011 3:39 pm
We are currently experiencing an issue when a user attempts to print one of our pages which contains a high chart graph. Specifically, when viewing the 'Print Preview' (as well as the actual physically printed page) and the user has the scale option set to 'Shrink to Fit' the graphs within the page are not properly resizing themselves.
I've gone through and made sure the proper containers which hold the chart all have their widths set to '100%' and I cannot for the life of me fix this issue. Yes, I understand that they can use the print button on the chart itself to print it, but the user wants to print the chart AS WELL as the textual information within the page.
Please use the following demo page to see what I'm referring to:
http://www.highcharts.com/demo/area-basic
(Really any of the demos will work)
You'll notice that if you have the scale option set to 'Shrink to Fit' the chart does not properly resize itself to fit within the width of the page. I should also note that it appears the width of the chart on the print preview just carriers over from what its size was within the browser. So, in my case I have the browser maximized and also have my resolution at 1900x12000.
I've gone through and made sure the proper containers which hold the chart all have their widths set to '100%' and I cannot for the life of me fix this issue. Yes, I understand that they can use the print button on the chart itself to print it, but the user wants to print the chart AS WELL as the textual information within the page.
Please use the following demo page to see what I'm referring to:
http://www.highcharts.com/demo/area-basic
(Really any of the demos will work)
You'll notice that if you have the scale option set to 'Shrink to Fit' the chart does not properly resize itself to fit within the width of the page. I should also note that it appears the width of the chart on the print preview just carriers over from what its size was within the browser. So, in my case I have the browser maximized and also have my resolution at 1900x12000.