Classic chart print script

Can you give me a script example that will print the classic chart? I need to be able to print and I’m doing some funky stuff that requires I use the classic chart.

Sure, the chart has a print() function right on it, which means you could do something like this in a button next to your chart:

chart = event.source.parent.getComponent("Chart") chart.print()

Hope this helps,