I'm facing an issue with a chart that doesn't have a specified height or width.
My goal is to print the graph in a taller and larger size when I click on the print button. I attempted to use setSize() function, but since there are no original dimensions for the graph, I can't resize it properly and end up with an oversized graph. I also tried to duplicate the chart by changing the renderTo, width, and height attributes inside a different div, but unfortunately, I couldn't get it to work. I've spent several hours on this problem and now I'm feeling completely confused.
What should be my next steps to stretch the graph for printing without altering the original version?
Thank you for your assistance.