hlukes

Direct Printing Ie8/windows Xp

Recommended Posts

We have one client using our FusionCharts-based app that is having a weird printing problem. This issue is NOT replicable for anyone else. The client is using IE8 on Windows XP. When he goes to print a chart using the File - Print option (direct to PDF or his printer), there is a 1" section of the X-axis titles (that are rotated at an angle) between the X-axis and the start of the titles that is missing. Renders just fine on the screen and if he uses the embedded download feature, it works fine too (but the colors are pretty poor using that feature so he really prefers the direct print). This has also been posted under Misc.

 

We are using Javascript in this instance.

 

offset.jpg

Share this post


Link to post
Share on other sites
Guest Sashibhusan

Hi,

 

Could you please provide the complete chart XML/JSON data, to test and replicate the issue from our end?

 

Also, please provide the FusionCharts XT version details, which is being used at your end.

 

Awaiting your response!

Share this post


Link to post
Share on other sites

I can't replicate this at all on any browser or in any setting so if you can replicate it - that would be great.

 

<chart palette='1' caption='Student Official FTE Enrollment -- Averages Summarized By: APPA Region -- Fiscal Year 2011-12 APPA FPI Report' shownames='1' showvalues='1' decimals='1' useRoundEdges='1' legendBorderAlpha='0' labelDisplay='Rotate' slantLabels='1' baseFont='Arial' baseFontSize ='12' baseFontColor ='000000' rotateValues='1' exportEnabled='1' exportAtClient='1' exportHandler='fcExporter1' bgcolor='FFFFFF' showBorder='0' canvasBorderColor='000000'><dataset seriesName='2010' showvalues='1'><set value='48623'/><set value='17008'/><set value='41949'/><set value=''/><set value='44953.32'/><set value='41308'/><set value='42099'/><set value='12965.9238636'/><set value='13028.0460377'/><set value='4945.32026846'/><set value='14994.8881818'/><set value='13692.2962963'/><set value='13266.4632836'/></dataset><dataset seriesName='2011' showvalues='1'><set value='50397'/><set value=''/><set value='41597'/><set value=''/><set value='44999.22'/><set value='43502'/><set value='42595'/><set value='13882.3958824'/><set value='14630.8638983'/><set value='6786.88301587'/><set value='17408.697619'/><set value='15655.422'/><set value='13127.167931'/></dataset><dataset seriesName='2012' showvalues='1'><set value='51469'/><set value='24334'/><set value='42605'/><set value='28459'/><set value='39388'/><set value='43892'/><set value='42441'/><set value='14531.5989655'/><set value='14479.1904545'/><set value='7543.55412371'/><set value='14861.4422034'/><set value='16081.4703571'/><set value='13770.3973016'/></dataset><trendLines><line startValue='12452.7087187' color='009933' toolText='Average of All Survey Participants - 12,452.71'/></trendLines><categories><category label='School Name'/><category label='School Name'/><category label='School Name'/><category label='School Name'/><category label='School Name'/><category label='School Name'/><category label='School Name'/><category label='CAPPA'/><category label='ERAPPA'/><category label='MAPPA'/><category label='PCAPPA'/><category label='RMA'/><category label='SRAPPA'/></categories><styles><definition><style type='font' name='CaptionFont' color='666666' size='15'/><style type='font' name='SubCaptionFont' bold='0'/><style type='font' name='myLegend' color='666666' size='13'/><style name='myAxisTitlesFont' type='font' font='Arial' size='12' bold='0'/></definition><application><apply toObject='caption' styles='CaptionFont'/><apply toObject='SubCaption' styles='SubCaptionFont'/><apply toObject='Legend' styles='myLegend'/><apply toObject='X-AxisName' styles='myAxisTitlesFont' /><apply toObject='Y-AxisName' styles='myAxisTitlesFont' /> <apply toObject='DataLabels' styles='myAxisTitlesFont' /></application></styles></chart>

 

var chart_PSumChart = new FusionCharts("FusionCharts/MSColumn2D.swf", "PSumChart", "800", "600", 0, 1);

 

We are using the most current version of FusionCharts.

Share this post


Link to post
Share on other sites
Guest Sashibhusan

Hi,

 

We have checked your XML file and tried to render and print the chart in IE8, which is absolutely fine from our end.

 

Please find the printed PDF file attached. (Tested in Windows 7 platform using FusionCharts XT V3.3.0 Evaluation files)

 

Also, attached the sample that we have tested. Please check once at your end (in Windows XP) and let us know, whether you are able to replicate the issue in our sample too?

 

Hope this helps!

 

Awaiting your response.

ForumPrint.pdf

ForumSample.zip

Share this post


Link to post
Share on other sites
Guest Sashibhusan

Hi,

 

For explicitly rendering the chart in JavaScript mode, you would just need to UN-comment the below line of code in "ForumPrint.html" file.

 

Ref. Code snippet:

....
var currentRenderer = 'javascript';         	
FusionCharts.setCurrentRenderer(currentRenderer);//UN-commented this line
...

 

Could you please check the issue in JavaScript mode of rendering and let us know, if you are replicating the issue?

 

Also, please find the attached PDF file of the printed JavaScript chart, for your reference.

ForumPrint(JavaScript Chart).pdf

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now