开发者

Is there an easy way for users to print Flash (Open Flash Charts) from their browser?

开发者 https://www.devze.com 2022-12-10 00:12 出处:网络
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.

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.

0

精彩评论

暂无评论...
验证码 换一张
取 消

关注公众号