Print a particular chart on button click
FusionCharts Forum
Home       Members    Calendar    Who's On
Welcome Guest ( Login | Register )
        



Print a particular chart on button click Expand / Collapse
Author
Message
Posted 8/7/2008 8:16:44 AM
Forum Newbie

Forum NewbieForum NewbieForum NewbieForum NewbieForum NewbieForum NewbieForum NewbieForum Newbie

Group: Forum Members
Last Login: 9/12/2008 7:57:00 AM
Posts: 7, Visits: 24
Hi ,

I have dowloaded version 3.0.6 of fusion charts . I need to print a  chart on click of  a button rather than right clicking on the chart .

Is there any javascript method  available , like saveAsImage( to save chart as an image ) for printing the chart .

Please also specify the steps i need to follow to print the chart on button click .

 



Thanks ,
Chandrasekar.T
Post #7868
Posted 8/7/2008 11:19:35 PM
Supreme Being

Supreme BeingSupreme BeingSupreme BeingSupreme BeingSupreme BeingSupreme BeingSupreme BeingSupreme Being

Group: Moderators
Last Login: Today @ 7:14:23 AM
Posts: 153, Visits: 634
Hi,

Please you the following JavaScript code to invoke print method:

  function PrintChart()
  {
   var chartToPrint = getChartFromId('chartID');
   chartToPrint.print();
  }


Regards,
Rahul
FusionCharts Team.

Post #7875
Posted 8/11/2008 2:50:04 AM
Forum Newbie

Forum NewbieForum NewbieForum NewbieForum NewbieForum NewbieForum NewbieForum NewbieForum Newbie

Group: Forum Members
Last Login: 9/12/2008 7:57:00 AM
Posts: 7, Visits: 24
Hi Rahul ,

Thanks a lot for your quick reply and solution .

It helped me solve my issue .

Thanks,

Chandrasekar.T

Thanks ,
Chandrasekar.T

Post #7900
Posted 9/10/2008 9:53:16 AM
Forum Newbie

Forum NewbieForum NewbieForum NewbieForum NewbieForum NewbieForum NewbieForum NewbieForum Newbie

Group: Forum Members
Last Login: 11/26/2008 11:27:08 AM
Posts: 3, Visits: 6
When I print a chart the background always shows as dark gray. How do I set the chart background to display as white when printing

D.Reid
Post #8427
Posted 9/12/2008 5:14:52 AM
FusionCharts Team

FusionCharts TeamFusionCharts TeamFusionCharts TeamFusionCharts TeamFusionCharts TeamFusionCharts TeamFusionCharts TeamFusionCharts Team

Group: Administrators
Last Login: 2 days ago @ 8:20:12 AM
Posts: 2,194, Visits: 521
Hi,

Can you send us a live link?


Thanks,
Pallav Nadhani
FusionCharts Team
Post #8472
« Prev Topic | Next Topic »


Permissions Expand / Collapse

All times are GMT -7:00, Time now is 7:17pm


Execution: 0.063.