JimM

Drawing Pad And Print Manager

Recommended Posts

I don't seem to be able to get the print manager to work with drawing pad. I have a drawing pad charts that appears to render correctly and I also have export as image functionality activated. The image exports work fine, but the print manager never seems to get the "ready" signal. Also for the record I have the same print manager configuration set up on pages that contain column charts and line charts, and the print manager works perfectly as expected on those pages. It is just the drawing pad pages. I can include the xml or any other code if you would like, just let me know.

 

Thank you for your help!

Share this post


Link to post
Share on other sites

ECHO.... Echo.... echo...

Is anyone out there? Has anyone else had this issue or tried this combination of printmanager and drawingpad? At least if I know they are Supposed to work I can continue looking into it, but if they have never worked together then I'd like to be able to move on. Thank you!

Share this post


Link to post
Share on other sites

Just in case someone pops in and just requests my code I don't want to have to waste more time replying, so I'll include it here...

 

 

Here is the javascript code:

 

FusionCharts.printManager.enabled(true);

FusionCharts.addEventListener (

FusionChartsEvents.PrintReadyStateChange ,

function (identifier, parameter) {

if(parameter.ready){

document.getElementById('printButton').disabled = false;

}

});

 

function printDiv() {FusionCharts.printManager.managedPrint();}

 

 

Here is the chart xml:

 

<chart autoScale="1" baseFontSize="10" bgColor="F0F0F0" borderColor="CCCCCC" exportAction="download" exportAtClient="0" exportDataSeparator="{tab}" exportEnabled="1" exportHandler="/Registry/fusionchart/" showExportDataMenuItem="1" manageResize="1" WMode="opaque">

<annotations origW="360" origH="175" autoScale="1">

<annotationGroup autoScale="1" id="container">

<annotation showBorder="1" type="rectangle" x="41" y="15" toXPos="355" toYPos="160" radius="0" borderColor="666666" borderThickness="2" color="FFFFFF"/>

<annotation fontSize="8" type="text" x="26" y="160" label="0%" color="444444"/>

<annotation fontSize="8" type="text" x="26" y="123" label="3%" color="444444"/>

<annotation showBorder="0" type="rectangle" x="42" y="124" toXPos="354" toYPos="159" radius="0" borderColor="aaaaaa" borderThickness="0" color="F0F0F0"/>

<annotation fontSize="8" type="text" x="26" y="87" label="6%" color="444444"/>

<annotation fontSize="8" type="text" x="26" y="51" label="9%" color="444444"/>

<annotation showBorder="0" type="rectangle" x="42" y="52" toXPos="354" toYPos="87" radius="0" borderColor="aaaaaa" borderThickness="0" color="F0F0F0"/>

<annotation fontSize="8" type="text" x="26" y="15" label="12%" color="444444"/>

<annotation fontSize="12" type="text" x="8" y="80" label="" color="333333" bold="1"/>

<annotation fontSize="12" type="text" x="177" y="166" label="" color="333333" bold="1"/>

</annotationGroup>

<annotationGroup autoScale="1" id="data">

<annotation type="line" x="56" y="95" toX="56" toY="160" color="aaaaaa" thickness="1"/>

<annotation type="polygon" sides="4" x="56" y="138" radius="4" color="505222" borderColor="333333" borderThickness="1"/>

<annotation type="line" x="70" y="93" toX="70" toY="160" color="444444" thickness="1"/>

<annotation type="polygon" sides="4" x="70" y="136" radius="4" color="EAE6B8" borderColor="333333" borderThickness="1"/>

<annotation type="line" x="85" y="95" toX="85" toY="160" color="aaaaaa" thickness="1"/>

<annotation type="polygon" sides="4" x="85" y="135" radius="4" color="505222" borderColor="333333" borderThickness="1"/>

<annotation type="line" x="100" y="91" toX="100" toY="160" color="aaaaaa" thickness="1"/>

<annotation type="polygon" sides="4" x="100" y="135" radius="4" color="505222" borderColor="333333" borderThickness="1"/>

<annotation type="line" x="114" y="93" toX="114" toY="160" color="aaaaaa" thickness="1"/>

<annotation type="polygon" sides="4" x="114" y="135" radius="4" color="505222" borderColor="333333" borderThickness="1"/>

<annotation type="line" x="129" y="91" toX="129" toY="160" color="aaaaaa" thickness="1"/>

<annotation type="polygon" sides="4" x="129" y="134" radius="4" color="505222" borderColor="333333" borderThickness="1"/>

<annotation type="line" x="144" y="90" toX="144" toY="160" color="aaaaaa" thickness="1"/>

<annotation type="polygon" sides="4" x="144" y="133" radius="4" color="505222" borderColor="333333" borderThickness="1"/>

<annotation type="line" x="158" y="90" toX="158" toY="160" color="aaaaaa" thickness="1"/>

<annotation type="polygon" sides="4" x="158" y="133" radius="4" color="505222" borderColor="333333" borderThickness="1"/>

<annotation type="line" x="173" y="89" toX="173" toY="160" color="aaaaaa" thickness="1"/>

<annotation type="polygon" sides="4" x="173" y="132" radius="4" color="505222" borderColor="333333" borderThickness="1"/>

<annotation type="line" x="188" y="89" toX="188" toY="160" color="aaaaaa" thickness="1"/>

<annotation type="polygon" sides="4" x="188" y="131" radius="4" color="505222" borderColor="333333" borderThickness="1"/>

<annotation type="line" x="203" y="86" toX="203" toY="160" color="aaaaaa" thickness="1"/>

<annotation type="polygon" sides="4" x="203" y="130" radius="4" color="505222" borderColor="333333" borderThickness="1"/>

<annotation type="line" x="217" y="93" toX="217" toY="160" color="aaaaaa" thickness="1"/>

<annotation type="polygon" sides="4" x="217" y="129" radius="4" color="505222" borderColor="333333" borderThickness="1"/>

<annotation type="line" x="232" y="87" toX="232" toY="160" color="aaaaaa" thickness="1"/>

<annotation type="polygon" sides="4" x="232" y="128" radius="4" color="505222" borderColor="333333" borderThickness="1"/>

<annotation type="line" x="247" y="91" toX="247" toY="160" color="aaaaaa" thickness="1"/>

<annotation type="polygon" sides="4" x="247" y="126" radius="4" color="505222" borderColor="333333" borderThickness="1"/>

<annotation type="line" x="261" y="83" toX="261" toY="160" color="aaaaaa" thickness="1"/>

<annotation type="polygon" sides="4" x="261" y="125" radius="4" color="505222" borderColor="333333" borderThickness="1"/>

<annotation type="line" x="276" y="79" toX="276" toY="160" color="aaaaaa" thickness="1"/>

<annotation type="polygon" sides="4" x="276" y="121" radius="4" color="505222" borderColor="333333" borderThickness="1"/>

<annotation type="line" x="291" y="77" toX="291" toY="160" color="aaaaaa" thickness="1"/>

<annotation type="polygon" sides="4" x="291" y="120" radius="4" color="505222" borderColor="333333" borderThickness="1"/>

<annotation type="line" x="305" y="72" toX="305" toY="160" color="aaaaaa" thickness="1"/>

<annotation type="polygon" sides="4" x="305" y="116" radius="4" color="505222" borderColor="333333" borderThickness="1"/>

<annotation type="line" x="320" y="70" toX="320" toY="158" color="aaaaaa" thickness="1"/>

<annotation type="polygon" sides="4" x="320" y="114" radius="4" color="505222" borderColor="333333" borderThickness="1"/>

<annotation type="line" x="335" y="62" toX="335" toY="149" color="aaaaaa" thickness="1"/>

<annotation type="polygon" sides="4" x="335" y="106" radius="4" color="505222" borderColor="333333" borderThickness="1"/>

</annotationGroup>

<annotationGroup autoScale="1" id="data2">

<annotation type="line" x="52" y="160" toX="60" toY="160" color="aaaaaa" thickness="1"/>

<annotation type="line" x="52" y="95" toX="60" toY="95" color="aaaaaa" thickness="1"/>

<annotation type="line" x="66" y="160" toX="74" toY="160" color="444444" thickness="1"/>

<annotation type="line" x="66" y="93" toX="74" toY="93" color="444444" thickness="1"/>

<annotation type="line" x="81" y="160" toX="89" toY="160" color="aaaaaa" thickness="1"/>

<annotation type="line" x="81" y="95" toX="89" toY="95" color="aaaaaa" thickness="1"/>

<annotation type="line" x="96" y="160" toX="104" toY="160" color="aaaaaa" thickness="1"/>

<annotation type="line" x="96" y="91" toX="104" toY="91" color="aaaaaa" thickness="1"/>

<annotation type="line" x="110" y="160" toX="118" toY="160" color="aaaaaa" thickness="1"/>

<annotation type="line" x="110" y="93" toX="118" toY="93" color="aaaaaa" thickness="1"/>

<annotation type="line" x="125" y="160" toX="133" toY="160" color="aaaaaa" thickness="1"/>

<annotation type="line" x="125" y="91" toX="133" toY="91" color="aaaaaa" thickness="1"/>

<annotation type="line" x="140" y="160" toX="148" toY="160" color="aaaaaa" thickness="1"/>

<annotation type="line" x="140" y="90" toX="148" toY="90" color="aaaaaa" thickness="1"/>

<annotation type="line" x="154" y="160" toX="162" toY="160" color="aaaaaa" thickness="1"/>

<annotation type="line" x="154" y="90" toX="162" toY="90" color="aaaaaa" thickness="1"/>

<annotation type="line" x="169" y="160" toX="177" toY="160" color="aaaaaa" thickness="1"/>

<annotation type="line" x="169" y="89" toX="177" toY="89" color="aaaaaa" thickness="1"/>

<annotation type="line" x="184" y="160" toX="192" toY="160" color="aaaaaa" thickness="1"/>

<annotation type="line" x="184" y="89" toX="192" toY="89" color="aaaaaa" thickness="1"/>

<annotation type="line" x="199" y="160" toX="207" toY="160" color="aaaaaa" thickness="1"/>

<annotation type="line" x="199" y="86" toX="207" toY="86" color="aaaaaa" thickness="1"/>

<annotation type="line" x="213" y="160" toX="221" toY="160" color="aaaaaa" thickness="1"/>

<annotation type="line" x="213" y="93" toX="221" toY="93" color="aaaaaa" thickness="1"/>

<annotation type="line" x="228" y="160" toX="236" toY="160" color="aaaaaa" thickness="1"/>

<annotation type="line" x="228" y="87" toX="236" toY="87" color="aaaaaa" thickness="1"/>

<annotation type="line" x="243" y="160" toX="251" toY="160" color="aaaaaa" thickness="1"/>

<annotation type="line" x="243" y="91" toX="251" toY="91" color="aaaaaa" thickness="1"/>

<annotation type="line" x="257" y="160" toX="265" toY="160" color="aaaaaa" thickness="1"/>

<annotation type="line" x="257" y="83" toX="265" toY="83" color="aaaaaa" thickness="1"/>

<annotation type="line" x="272" y="160" toX="280" toY="160" color="aaaaaa" thickness="1"/>

<annotation type="line" x="272" y="79" toX="280" toY="79" color="aaaaaa" thickness="1"/>

<annotation type="line" x="287" y="160" toX="295" toY="160" color="aaaaaa" thickness="1"/>

<annotation type="line" x="287" y="77" toX="295" toY="77" color="aaaaaa" thickness="1"/>

<annotation type="line" x="301" y="160" toX="309" toY="160" color="aaaaaa" thickness="1"/>

<annotation type="line" x="301" y="72" toX="309" toY="72" color="aaaaaa" thickness="1"/>

<annotation type="line" x="316" y="158" toX="324" toY="158" color="aaaaaa" thickness="1"/>

<annotation type="line" x="316" y="70" toX="324" toY="70" color="aaaaaa" thickness="1"/>

<annotation type="line" x="331" y="149" toX="339" toY="149" color="aaaaaa" thickness="1"/>

<annotation type="line" x="331" y="62" toX="339" toY="62" color="aaaaaa" thickness="1"/>

</annotationGroup>

<annotationGroup autoScale="1" id="selected">

<annotation type="polygon" sides="4" x="70" y="136" radius="4" color="EAE6B8" borderColor="333333" borderThickness="1"/>

</annotationGroup>

<annotationGroup autoScale="1" id="avg">

<annotation type="line" x="41" y="134" toX="355" toY="134" color="880000" thickness="1"/>

</annotationGroup>

</annotations>

<styles>

<definition>

<style name="AnimYScale" type="animation" param="_yScale" start="0" end="100" wait="0" duration="1.0"/>

<style name="AnimXScale" type="animation" param="_xScale" start="0" end="100" wait="1" duration="0.5"/>

</definition>

<application>

<apply toObject="data" styles="AnimYScale"/>

<apply toObject="data2" styles="AnimXScale"/>

<apply toObject="avg" styles="AnimXScale"/>

</application>

</styles>

</chart>

Share this post


Link to post
Share on other sites

That is great to know, thank you! I will start messing around with the code and if I find out what I was doing wrong I'll come back and post it in case anyone else runs into a similar issue. Thanks again, sorry for being impatient!

Share this post


Link to post
Share on other sites

Just as way of an update for future problem-havers: I was using Fusioncharts 3.1.1 and as soon as I switched to the latest version (3.3 I think?) it worked just fine.

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