2

I'm trying to print the entire page with graph using CTRL + P, but the graph is always cropped.

I tried to limit the width of the graph using CSS media = "print", but it seems to have no effect on the graph.

print.css

figure{
width: 100% !important;
/* width: 300px !important; //also does not work */
}

If I try to change the size of the graph in CSS media = "screen", the graph will immediately shrink / enlarge.

I know there is a function chart.print(); But it only prints the graph. I need to print the entire page, including the graph. I tried it in Chrome 73. Anychart 8.5.1

Venca
  • 21
  • 1
  • Usually, there are no problems with printing the page with charts. Please, can you provide a screenshot of the page and screenshot of the printed page? Just to compare it visually, it will give us many useful details. – AnyChart Support Apr 24 '19 at 02:27
  • @AnyChartSupport I created a simple page on your playground site. If you want to print a page (CTRL + P), the graph is cropped. Thank you for your help. [link](https://playground.anychart.com/0bMOWpSg/4/iframe) – Venca Apr 25 '19 at 12:46
  • Thank you for pointing us this issue. The problem is that Chrome and FF block the JS interactivity and the SVG part is not resized by the library. Only Safari browser handles this situation properly. We will investigate this issue and update you as soon as we get any workaround. – AnyChart Support Apr 26 '19 at 05:06

0 Answers0