Is there any easy way to print Flash Charts (Open Flash Charts 2) within a web page. Flash doesn't seem to print at all.
I'm maintaining a health site for a client, and we use Open Flash Charts to draw multiple line charts for patients dynamic data. T开发者_运维知识库he client would like for patients to be able to easily print these charts, although Flash doesn't appear to be printable (unless I'm missing something).
Unfortunately I can't provide a link to the page as an example at the moment as the patient data is obviously confidential and is locked away behind usernames and passwords. I should be able to however provide some edited html of one of the flash chart pages if necesarry.
I'm open to suggestions, as I've never come accross anyone wanting to print flash before, and it's not something I've ever personally wanted to do either.
Yes! convert the flash to images: http://teethgrinder.co.uk/open-flash-chart-2/save-image-js.php
There is code by Sylvain Abelard used with the Open Flash Chart 2 system by John Glazebrook
You can use this function
OFC.jquery.rasterize('my_chart', 'my_chart');
to convert a flash graph to an image which can be printed.
Strange I would thing you could print anything that's on the screen try
- CRTL + P
- or Right Click the Chart and select Print
Tested both and seem to work fine for me, tested this site: http://teethgrinder.co.uk/open-flash-chart/
Can you alter the code in charts? If so, you can easily write some ActionScript code to print your data the way you like, check PrintJob
class.
精彩评论