pongz79

Fusioncharts Xt - Multi-Series Line 2D Chart Problem After Exporting To Pdf

Recommended Posts

Hi all,

 

I'm using FusionCharts XT version 3.3.0 and I have a problem with one of my multi-series line 2D chart.

The chart renders fine and you can click on points that have multiple values and select the values that you want but after exporting the chart to PDF the click doesn't work anymore and you have to reload the page for it to work again.

This was tested in IE9 with Flash disabled (which works fine in this situation) and with Flash enabled (which is where the problem exist).

Can someone advise on this?

Thanks in advance.

 

Here is the XML for the chart:

 

<chart caption="Incidents by Incident date (Financial Month) and Directorate" showLegend="1" subCaption="" bgSWFAlpha="50" xAxisName="Incident date (Financial Month)" yAxisName="Directorate" showValues="0" bgColor="e3efff" exportEnabled="1" exportAtClient="0" exportAction="save" exportHandler="thirdpartylibs/fusioncharts/ExportHandlers/FCExporter.php" registerWithJS="1" exportFileName="DATIXWebReport" exportShowMenuItem="0" ShowPrintMenuItem="0" labelDisplay="Rotate" slantLabels="1" chartRightMargin="50" chartLeftMargin="120" html5ExportHandler="thirdpartylibs/fusioncharts/ExportHandlers/index.php">
    <categories>
        <category label="Jul" />
        <category label="Aug" />
        <category label="Sep" />
        <category label="Oct" />
        <category label="Nov" />
        <category label="Dec" />
        <category label="Jan" />
        <category label="Feb" />
        <category label="Mar" />
        <category label="Apr" />
        <category label="May" />
        <category label="Jun" />
    </categories>
    <dataset seriesName="Anaesthetics and Intensive Care">
        <set value="0" label="Jul" toolText="Multiple values - click to select" link="javascript:customReportTooltip(tooltip_0_0)" />
        <set value="0" label="Aug" toolText="Multiple values - click to select" link="javascript:customReportTooltip(tooltip_1_0)" />
        <set value="0" label="Sep" toolText="Multiple values - click to select" link="javascript:customReportTooltip(tooltip_2_0)" />
		<set value="0" label="Oct" toolText="Multiple values - click to select" link="javascript:customReportTooltip(tooltip_3_0)" />
		<set value="0" label="Nov" toolText="Multiple values - click to select" link="javascript:customReportTooltip(tooltip_4_0)" />
		<set value="0" label="Dec" toolText="Multiple values - click to select" link="javascript:customReportTooltip(tooltip_5_0)" />
		<set value="0" label="Jan" toolText="Multiple values - click to select" link="javascript:customReportTooltip(tooltip_6_0)" />
		<set value="0" label="Feb" toolText="Multiple values - click to select" link="javascript:customReportTooltip(tooltip_7_0)" />
		<set value="0" label="Mar" toolText="Multiple values - click to select" link="javascript:customReportTooltip(tooltip_8_0)" />
		<set value="1" label="Apr" toolText="Multiple values - click to select" link="javascript:customReportTooltip(tooltip_9_1)" />
		<set value="0" label="May" toolText="Multiple values - click to select" link="javascript:customReportTooltip(tooltip_10_0)" />
		<set value="0" label="Jun" toolText="Multiple values - click to select" link="javascript:customReportTooltip(tooltip_11_0)" />
	</dataset>
	<dataset seriesName="Emergency care">
		<set value="0" label="Emergency care" toolText="Multiple values - click to select" link="javascript:customReportTooltip(tooltip_0_0)" />
		<set value="0" label="Emergency care" toolText="Multiple values - click to select" link="javascript:customReportTooltip(tooltip_1_0)" />
		<set value="0" label="Emergency care" toolText="Multiple values - click to select" link="javascript:customReportTooltip(tooltip_2_0)" />
		<set value="0" label="Emergency care" toolText="Multiple values - click to select" link="javascript:customReportTooltip(tooltip_3_0)" />
		<set value="0" label="Emergency care" toolText="Multiple values - click to select" link="javascript:customReportTooltip(tooltip_4_0)" />
		<set value="0" label="Emergency care" toolText="Multiple values - click to select" link="javascript:customReportTooltip(tooltip_5_0)" />
		<set value="0" label="Emergency care" toolText="Multiple values - click to select" link="javascript:customReportTooltip(tooltip_6_0)" />
		<set value="0" label="Emergency care" toolText="Multiple values - click to select" link="javascript:customReportTooltip(tooltip_7_0)" />
		<set value="0" label="Emergency care" toolText="Multiple values - click to select" link="javascript:customReportTooltip(tooltip_8_0)" />
		<set value="1" label="Emergency care" toolText="Multiple values - click to select" link="javascript:customReportTooltip(tooltip_9_1)" />
		<set value="0" label="Emergency care" toolText="Multiple values - click to select" link="javascript:customReportTooltip(tooltip_10_0)" />
		<set value="0" label="Emergency care" toolText="Multiple values - click to select" link="javascript:customReportTooltip(tooltip_11_0)" />
	</dataset>
	<dataset seriesName="Medical Specialties">
		<set value="0" label="Medical Specialties" toolText="Multiple values - click to select" link="javascript:customReportTooltip(tooltip_0_0)" />
		<set value="0" label="Medical Specialties" toolText="Multiple values - click to select" link="javascript:customReportTooltip(tooltip_1_0)" />
		<set value="0" label="Medical Specialties" toolText="Multiple values - click to select" link="javascript:customReportTooltip(tooltip_2_0)" />
		<set value="0" label="Medical Specialties" toolText="Multiple values - click to select" link="javascript:customReportTooltip(tooltip_3_0)" />
		<set value="0" label="Medical Specialties" toolText="Multiple values - click to select" link="javascript:customReportTooltip(tooltip_4_0)" />
		<set value="0" label="Medical Specialties" toolText="Multiple values - click to select" link="javascript:customReportTooltip(tooltip_5_0)" />
		<set value="0" label="Medical Specialties" toolText="Multiple values - click to select" link="javascript:customReportTooltip(tooltip_6_0)" />
		<set value="0" label="Medical Specialties" toolText="Multiple values - click to select" link="javascript:customReportTooltip(tooltip_7_0)" />
		<set value="0" label="Medical Specialties" toolText="Multiple values - click to select" link="javascript:customReportTooltip(tooltip_8_0)" />
		<set value="1" label="Medical Specialties" toolText="Multiple values - click to select" link="javascript:customReportTooltip(tooltip_9_1)" />
		<set value="0" label="Medical Specialties" toolText="Multiple values - click to select" link="javascript:customReportTooltip(tooltip_10_0)" />
		<set value="0" label="Medical Specialties" toolText="Multiple values - click to select" link="javascript:customReportTooltip(tooltip_11_0)" />
	</dataset>
	<dataset seriesName="NEUROSCIENCES">
		<set value="0" label="NEUROSCIENCES" toolText="Multiple values - click to select" link="javascript:customReportTooltip(tooltip_0_0)" />
		<set value="0" label="NEUROSCIENCES" toolText="Multiple values - click to select" link="javascript:customReportTooltip(tooltip_1_0)" />
		<set value="0" label="NEUROSCIENCES" toolText="Multiple values - click to select" link="javascript:customReportTooltip(tooltip_2_0)" />
		<set value="0" label="NEUROSCIENCES" toolText="Multiple values - click to select" link="javascript:customReportTooltip(tooltip_3_0)" />
		<set value="0" label="NEUROSCIENCES" toolText="Multiple values - click to select" link="javascript:customReportTooltip(tooltip_4_0)" />
		<set value="0" label="NEUROSCIENCES" toolText="Multiple values - click to select" link="javascript:customReportTooltip(tooltip_5_0)" />
		<set value="0" label="NEUROSCIENCES" toolText="Multiple values - click to select" link="javascript:customReportTooltip(tooltip_6_0)" />
		<set value="0" label="NEUROSCIENCES" toolText="Multiple values - click to select" link="javascript:customReportTooltip(tooltip_7_0)" />
		<set value="0" label="NEUROSCIENCES" toolText="Multiple values - click to select" link="javascript:customReportTooltip(tooltip_8_0)" />
		<set value="1" label="NEUROSCIENCES" toolText="Multiple values - click to select" link="javascript:customReportTooltip(tooltip_9_1)" />
		<set value="0" label="NEUROSCIENCES" toolText="Multiple values - click to select" link="javascript:customReportTooltip(tooltip_10_0)" />
		<set value="0" label="NEUROSCIENCES" toolText="Multiple values - click to select" link="javascript:customReportTooltip(tooltip_11_0)" />
	</dataset>
	<dataset seriesName="Other">
		<set value="0" label="Other" toolText="Multiple values - click to select" link="javascript:customReportTooltip(tooltip_0_0)" />
		<set value="0" label="Other" toolText="Multiple values - click to select" link="javascript:customReportTooltip(tooltip_1_0)" />
		<set value="0" label="Other" toolText="Multiple values - click to select" link="javascript:customReportTooltip(tooltip_2_0)" />
		<set value="0" label="Other" toolText="Multiple values - click to select" link="javascript:customReportTooltip(tooltip_3_0)" />
		<set value="0" label="Other" toolText="Multiple values - click to select" link="javascript:customReportTooltip(tooltip_4_0)" />
		<set value="0" label="Other" toolText="Multiple values - click to select" link="javascript:customReportTooltip(tooltip_5_0)" />
		<set value="0" label="Other" toolText="Multiple values - click to select" link="javascript:customReportTooltip(tooltip_6_0)" />
		<set value="0" label="Other" toolText="Multiple values - click to select" link="javascript:customReportTooltip(tooltip_7_0)" />
		<set value="0" label="Other" toolText="Multiple values - click to select" link="javascript:customReportTooltip(tooltip_8_0)" />
		<set value="1" label="Other" toolText="Multiple values - click to select" link="javascript:customReportTooltip(tooltip_9_1)" />
		<set value="0" label="Other" toolText="Multiple values - click to select" link="javascript:customReportTooltip(tooltip_10_0)" />
		<set value="0" label="Other" toolText="Multiple values - click to select" link="javascript:customReportTooltip(tooltip_11_0)" />
	</dataset>
	<dataset seriesName="PATHOLOGY">
		<set value="0" label="PATHOLOGY" toolText="Multiple values - click to select" link="javascript:customReportTooltip(tooltip_0_0)" />
		<set value="0" label="PATHOLOGY" toolText="Multiple values - click to select" link="javascript:customReportTooltip(tooltip_1_0)" />
		<set value="0" label="PATHOLOGY" toolText="Multiple values - click to select" link="javascript:customReportTooltip(tooltip_2_0)" />
		<set value="0" label="PATHOLOGY" toolText="Multiple values - click to select" link="javascript:customReportTooltip(tooltip_3_0)" />
		<set value="0" label="PATHOLOGY" toolText="Multiple values - click to select" link="javascript:customReportTooltip(tooltip_4_0)" />
		<set value="0" label="PATHOLOGY" toolText="Multiple values - click to select" link="javascript:customReportTooltip(tooltip_5_0)" />
		<set value="0" label="PATHOLOGY" toolText="Multiple values - click to select" link="javascript:customReportTooltip(tooltip_6_0)" />
		<set value="0" label="PATHOLOGY" toolText="Multiple values - click to select" link="javascript:customReportTooltip(tooltip_7_0)" />
		<set value="0" label="PATHOLOGY" toolText="Multiple values - click to select" link="javascript:customReportTooltip(tooltip_8_0)" />
		<set value="1" label="PATHOLOGY" toolText="Multiple values - click to select" link="javascript:customReportTooltip(tooltip_9_1)" />
		<set value="0" label="PATHOLOGY" toolText="Multiple values - click to select" link="javascript:customReportTooltip(tooltip_10_0)" />
		<set value="0" label="PATHOLOGY" toolText="Multiple values - click to select" link="javascript:customReportTooltip(tooltip_11_0)" />
	</dataset>
	<dataset seriesName="Surgical services">
		<set value="0" label="Surgical services" toolText="Multiple values - click to select" link="javascript:customReportTooltip(tooltip_0_0)" />
		<set value="0" label="Surgical services" toolText="Multiple values - click to select" link="javascript:customReportTooltip(tooltip_1_0)" />
		<set value="0" label="Surgical services" toolText="Multiple values - click to select" link="javascript:customReportTooltip(tooltip_2_0)" />
		<set value="0" label="Surgical services" toolText="Multiple values - click to select" link="javascript:customReportTooltip(tooltip_3_0)" />
		<set value="0" label="Surgical services" toolText="Multiple values - click to select" link="javascript:customReportTooltip(tooltip_4_0)" />
		<set value="0" label="Surgical services" toolText="Multiple values - click to select" link="javascript:customReportTooltip(tooltip_5_0)" />
		<set value="0" label="Surgical services" toolText="Multiple values - click to select" link="javascript:customReportTooltip(tooltip_6_0)" />
		<set value="0" label="Surgical services" toolText="Multiple values - click to select" link="javascript:customReportTooltip(tooltip_7_0)" />
		<set value="0" label="Surgical services" toolText="Multiple values - click to select" link="javascript:customReportTooltip(tooltip_8_0)" />
		<set value="1" label="Surgical services" toolText="Multiple values - click to select" link="javascript:customReportTooltip(tooltip_9_1)" />
		<set value="0" label="Surgical services" toolText="Multiple values - click to select" link="javascript:customReportTooltip(tooltip_10_0)" />
		<set value="0" label="Surgical services" toolText="Multiple values - click to select" link="javascript:customReportTooltip(tooltip_11_0)" />
	</dataset>
	<dataset seriesName="TEST">
		<set value="0" label="TEST" toolText="Multiple values - click to select" link="javascript:customReportTooltip(tooltip_0_0)" />
		<set value="0" label="TEST" toolText="Multiple values - click to select" link="javascript:customReportTooltip(tooltip_1_0)" />
		<set value="0" label="TEST" toolText="Multiple values - click to select" link="javascript:customReportTooltip(tooltip_2_0)" />
		<set value="0" label="TEST" toolText="Multiple values - click to select" link="javascript:customReportTooltip(tooltip_3_0)" />
		<set value="0" label="TEST" toolText="Multiple values - click to select" link="javascript:customReportTooltip(tooltip_4_0)" />
		<set value="0" label="TEST" toolText="Multiple values - click to select" link="javascript:customReportTooltip(tooltip_5_0)" />
		<set value="0" label="TEST" toolText="Multiple values - click to select" link="javascript:customReportTooltip(tooltip_6_0)" />
		<set value="0" label="TEST" toolText="Multiple values - click to select" link="javascript:customReportTooltip(tooltip_7_0)" />
		<set value="0" label="TEST" toolText="Multiple values - click to select" link="javascript:customReportTooltip(tooltip_8_0)" />
		<set value="1" label="TEST" toolText="Multiple values - click to select" link="javascript:customReportTooltip(tooltip_9_1)" />
		<set value="0" label="TEST" toolText="Multiple values - click to select" link="javascript:customReportTooltip(tooltip_10_0)" />
		<set value="0" label="TEST" toolText="Multiple values - click to select" link="javascript:customReportTooltip(tooltip_11_0)" />
	</dataset>
	<styles>
		<definition><style name="SubCap" type="font" color="b3b3b3" /><style name="myCaptionFont" type="font" size="14" /></definition>
		<application><apply toObject="SUBCAPTION" styles="SubCap" /><apply toObject="Caption" styles="myCaptionFont" /></application>
	</styles>
</chart>

 

 

 

Kind regards,

Tiago

Share this post


Link to post
Share on other sites
Guest Sashibhusan

Hi,

 

I am afraid, we have tested your XML with Evaluation version of FusionCharts XT v3.3.0 files and it is working fine in IE9 browser.

 

Please find the attached sample of the same for your reference.

 

Please note that we have tested by exporting the chart PDF at client side (for both Flash and JavaScript mode) and then click on data point works fine. Could you please confirm whether the issue is being replicated after exporting at server-side?

 

Awaiting your response.

Export_Link_issue.zip

Share this post


Link to post
Share on other sites
Guest Sashibhusan

Hi Tiago,

 

Could you please confirm, whether the sample provided is working at your end?

 

Awaiting your response!

Share this post


Link to post
Share on other sites

Hi the sample provided works, but the sample is using client-side export to PDF right?

The problem is with server-side export to PDF because that's what I'm using on my production server.

 

Kind regards,

Tiago

Share this post


Link to post
Share on other sites
Guest Sashibhusan

Hi Tiago,

 

Please find the modified sample attached with this post, which exports Flash chart PDF to server and then the click functionality is working fine on the IE9 browser.

 

Could you please verify and let us know your valuable feedback?

 

Please note that, before running this sample at your end, you would need to modify the HTTP mapping relative path in "index.php" file and in "exportHandler" attribute in chart XML, as per your server configuration.

 

Hope this helps!

 

Awaiting your response.

Export_Link_issue1.zip

Share this post


Link to post
Share on other sites

Hi,

 

Sorry for the delayed response.

The provided sample is working. I'm going to check the differences between the sample and our code and check what's wrong.

Thanks for your time.

 

Kind regards,

Tiago

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