Sign in to follow this  
glaze24

Div Lines Are Not Showing

Recommended Posts

Hi,

 

I am using multi-axis line chart. I want to show vertical axis divlines. but the chart chart doen't show it. I've pasted down the xml.

 

<chart caption='abcd' xAxisName='efgh' rotateLabels='1' slantLabels='1' showValues='0' >

<categories>

<category label = '6/2/2011' />

<category label = '13/2/2011' />

<category label = '20/2/2011' />

<category label = '30/1/2011' />

</categories>

<axis title = 'x' minValue = '11610.0' maxValue = '27023.0' titlePos = 'Left''>

<dataset seriesName = 'x' >

<set value = '2702300.0' />

<set value = '2666500.0' />

<set value = '2239000.0' />

<set value = '1161000.0' />

</dataset>

</axis>

<axis title = 'y' minValue = '14611.0' maxValue = '47171.0' titlePos = 'Left' >

<dataset seriesName = 'y' >

<set value = '4717100.0' />

<set value = '4251900.0' />

<set value = '3670700.0' />

<set value = '1461100.0' />

</dataset>

</axis>

<axis title = 'z' minValue = '18894.0' maxValue = '48337.0' titlePos = 'RIGHT' axisOnLeft='0' >

<dataset seriesName = 'z' >

<set value = '4833700.0' />

<set value = '4515400.0' />

<set value = '4177800.0' />

<set value = '1889400.0' />

</dataset>

</axis>

<axis title = 'xy' minValue = '6321.0' maxValue = '17516.0' titlePos = 'RIGHT' axisOnLeft='0' >

<dataset seriesName = 'xy' >

<set value = '1751600.0' />

<set value = '1473800.0' />

<set value = '1316000.0' />

<set value = '632100.0' />

</dataset>

</axis>

</chart>

 

any suggestion?

Share this post


Link to post
Share on other sites

Thanks angie,

 

Another issue for me is, some axes don't have values spit up. I mean, they have only min and max values no other values between them, even though the difference between min and max is hardly 20,000. Because of this, dash lines are not coming, so chart doesn't look good. Is there any way to force the y-axis values split up?

Share this post


Link to post
Share on other sites
Guest Angie

Hi,

 

Could you please send us a screenshot to look into the issue?

 

Awaiting for your reply.

Share this post


Link to post
Share on other sites
Guest Angie

Hi,

 

Please try the same by setting <numDivLines> attribute inside the <chart> element as per your requirement.

 

Hope this helps.smile.gif

Share this post


Link to post
Share on other sites

Its not working for me.... Below is my xml.. I've tried it by putting it in chart element as well....

<chart formatNumberScale='0' caption='abc' xAxisName='efg' divLineIsDashed='1' rotateLabels='1' slantLabels='1' showValues='0' showAlternateVGridColor='1' alternateVGridAlpha='5'>

<categories>

<category label = '6/2/2011' />

<category label = '13/2/2011' />

<category label = '20/2/2011' />

<category label = '30/1/2011' />

</categories>

<axis numDivLines='4' title = 'xy' minValue = '8527.0' maxValue = '30106.0' titlePos = 'Left'> <dataset seriesName = 'xy' >

<set value = '27023.0' />

<set value = '26665.0' />

<set value = '22390.0' />

<set value = '11610.0' />

</dataset>

</axis>

<axis numDivLines='4' title = 'x' minValue = '8099.0' maxValue = '53683.0' titlePos = 'Left'> <dataset seriesName = 'x' >

<set value = '47171.0' />

<set value = '42519.0' />

<set value = '36707.0' />

<set value = '14611.0' />

</dataset>

</axis>

<axis numDivLines='4' title = 'z' minValue = '13005.0' maxValue = '54226.0' titlePos = 'RIGHT' axisOnLeft='0'>

<dataset seriesName = 'z' >

<set value = '48337.0' />

<set value = '45154.0' />

<set value = '41778.0' />

<set value = '18894.0' />

</dataset>

</axis>

<axis numDivLines='4' title = 'y' minValue = '4082.0' maxValue = '19755.0' titlePos = 'RIGHT' axisOnLeft='0'>

<dataset seriesName = 'y' >

<set value = '17516.0' />

<set value = '14738.0' />

<set value = '13160.0' />

<set value = '6321.0' />

</dataset>

</axis>

</chart>

 

 

What could be the reason?

Share this post


Link to post
Share on other sites
Guest Angie

Hi,

Please try the same by setting <adjustDiv='0'> attribute inside the <axis> element.

FusionCharts automatically tries to adjust divisional lines and limit values based on the data provided. However, if you want to set your explicit lower and upper limit values and number of divisional lines, first set this attribute to false. That would disable automatic adjustment of divisional lines.

Hope this works.smile.gif

Edited by Angie

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