Sign in to follow this  
findstar

Drawanchors Not Work In Javascript Render

Recommended Posts

Hi.

 

I have a question about the anchor peoperties for the Multi-series Line 2D Chart

In Enterprise version Version 3.2 (I upgrade version 3.1.1-> 3.2 on today) I want to config javascript version chart

 

so I try to " renderer : 'JavaScript' "

 

like this

 

 

$('#bdichartDiv').insertFusionCharts({

swfUrl : "<?=$_URL?>/lib/FusionChartsXT/Charts/MSLine.swf?",

renderer : 'JavaScript',

dataSource : "samplebdi.php",

dataFormat : "xmlurl",

width : "100%",

height: "340",

id : "ChId1"

});

 

 

but that is some anchors is happen. I don't want to anchors but there it is.

 

so I test flash render and javascript render

 

In flash render anchor is not shown but in javascript anchors is shown.

 

Why is this?? I need your help.

 

I don't want to draw anchor..

 

this is my xml

 

 

 

<chart

showBorder="0"

showToolTip="0"

showLabels="1"

yAxisMinValue="0"

yAxisMaxValue="5000"

adjustDiv="0"

numDivLines="9"

formatNumberScale="0"

 

caption=""

subcaption=""

animation="0"

numberPrefix=""

lineThickness="1"

showValues="0"

 

drawAnchors="0"

 

divLineAlpha="30"

divLineColor="BBBBBB"

divLineIsDashed="0"

showAlternateHGridColor="1"

alternateHGridAlpha="10"

alternateHGridColor="BBBBBB"

shadowAlpha="20"

labelStep="20"

chartTopMargin="10"

chartLeftMargin="5"

chartRightMargin="20"

chartBottomMargin="10"

bgColor="FFFFFF"

borderColor="FFFFFF"

bgAngle="270"

bgAlpha="10,10"

canvasBorderColor="BBBBBB"

 

rotateNames="0"

setAdaptiveYMin="1">

 

 

<categories>

<category Name='Nov 2010' />

<category Name='Nov 2010' />

<category Name='Nov 2010' />

<category Name='Nov 2010' />

<category Name='Dec 2010' />

<category Name='Dec 2010' />

<category Name='Dec 2010' />

<category Name='Dec 2010' />

<category Name='Dec 2010' />

<category Name='Dec 2010' />

 

 

</categories>

<dataset seriesName="BDI" color="#e13b3e" lineThickness="5" >

 

<set value='2200' anchorRadius="0"/>

<set value='2170' anchorRadius="0"/>

<set value='2145' anchorRadius="0"/>

<set value='2099' anchorRadius="0"/>

<set value='2096' anchorRadius="0"/>

<set value='2133' anchorRadius="0"/>

<set value='2168' anchorRadius="0"/>

<set value='2179' anchorRadius="0"/>

<set value='2173' anchorRadius="0"/>

<set value='2144' anchorRadius="0"/>

 

</dataset>

<dataset seriesName="BCI" color="#3b74e1" anchorBorderColor="#3b74e1" >

<set value='3381' />

<set value='3233' />

<set value='3095' />

<set value='2910' />

<set value='2869' />

<set value='2919' />

<set value='2983' />

<set value='2987' />

<set value='2929' />

<set value='2832' />

 

</dataset>

<dataset seriesName="BPI" color="#FFCC00" anchorBorderColor="#FFCC00" >

<set value='2290' />

<set value='2330' />

<set value='2356' />

<set value='2377' />

<set value='2380' />

<set value='2385' />

<set value='2382' />

<set value='2384' />

<set value='2384' />

<set value='2386' />

</dataset>

</chart>

post-21905-0-47436700-1317106925_thumb.png

post-21905-0-95134600-1317106932_thumb.png

Share this post


Link to post
Share on other sites

Other issue is charts option 'rotateLabels'

 

rotateLabels='0' option don't work.

 

please check this too.

 

Hi,

 

We are looking into this and shall update you as soon as we fix this issue.

 

Thank you for your continued patience and patronage.

Share this post


Link to post
Share on other sites

Hi,

 

I'm afraid, I'm unable to replicate the issue.

 

Since the "labelDisplay" attribute option is set to a default value 'AUTO'

 

AUTO mode which means that the alignment of the data labels is determined automatically depending on the size of the chart. This would override the rotatelabels attribute when set to 0 because of the width of the chart is less to accommodate the X-axis data labels.

 

Could you try once increasing the width of the chart or set the "labelDisplay" attribute to "NONE" and "rotateLabels" to 0 ?

 

I hope this helps.:)

 

 

 

Other issue is charts option 'rotateLabels'

 

rotateLabels='0' option don't work.

 

please check this too.

 

 

Share this post


Link to post
Share on other sites

Hi,

 

I am afraid, I am unable to replicate the issue. The "rotateLabels='0' " attribute is working perfectly for the JavaScript chart.

 

Please check with the attached screenshot for your reference.

 

Also, in the XML that you had sent, please try setting "rotateLabels" attribute instead of "rotateNames" attribute.

 

Hope this helps. :)

 

post-8144-0-31370500-1317186488_thumb.jpg

 

Share this post


Link to post
Share on other sites

Thanks your reply.

 

I try to set labeldisplay='none' then that work!

labeldisplay='none' and rotateLabels='0' then labal don't display vertical.

Thanks your help.

Hi,

 

I'm afraid, I'm unable to replicate the issue.

 

Since the "labelDisplay" attribute option is set to a default value 'AUTO'

 

AUTO mode which means that the alignment of the data labels is determined automatically depending on the size of the chart. This would override the rotatelabels attribute when set to 0 because of the width of the chart is less to accommodate the X-axis data labels.

 

Could you try once increasing the width of the chart or set the "labelDisplay" attribute to "NONE" and "rotateLabels" to 0 ?

 

I hope this helps.:)

 

 

 

 

Share this post


Link to post
Share on other sites

Hi,

 

Glad to know the issue has been resolved.

 

Happy FusionCharting!!!:)

 

 

Thanks your reply.

 

I try to set labeldisplay='none' then that work!

labeldisplay='none' and rotateLabels='0' then labal don't display vertical.

Thanks your help.

 

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
Sign in to follow this