Sign in to follow this  
Bellsy

Let Large Values Go Off Chart

Recommended Posts

Hi,

 

I'm designing a graph where values fluctuate above and below zero within a set range. I have set yAxisMinValue & yAxisMaxValue to be -600 & 600 respectively which works fine in normal scenarios, however the data for the graph comes from a third party and is often delayed. This results in large negative values, which then overrides the yAxisMinValue and skews the scale on the graph and basically renders it unreadable for the user.

 

Is there a flag I can set that will allow any large negatives to disapper outside the y axis value range, fixing the scale of the graph no matter what data is supplied to it. I thought setAdaptiveYMin would do it, but after trying it and reading the documentation it does not.

 

Cheers,

Steve.

Share this post


Link to post
Share on other sites

Hi,

 

Welcome to FusionCharts Forum!smile.gif

 

Please try the same using Zero Plane.

 

For more details, please refer to the link:http://www.fusioncha.../ZeroPlane.html

 

Hope this helps.smile.gif

 

Hi Angie,

 

Thanks for your response but it didn't have the desired effect. As a workaround in my SQL I've put a 'limit' on the min/max value it supplies to the graph which has the same basic effect (I've attached an image so you can see).

 

If anyone has any other ideas I'm all ears.

 

Thanks,

Steve.

post-13593-086044100 1300330235_thumb.jpg

Share this post


Link to post
Share on other sites
Guest Angie

Hi,

 

Welcome to FusionCharts Forum!smile.gif

 

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 <adjustDiv> attribute to false. That would disable automatic adjustment of divisional lines.

 

Hope this helps.smile.gif

Edited by Angie

Share this post


Link to post
Share on other sites

Hi Angie,

 

Thanks again, but it didn't seem to make any difference. Just so you can see what I've done, this is my chart tag code.

 

xmlData.Append("<chart bgalpha='0' caption='" & caption & "' subcaption='' labelDisplay='ROTATE' slantLabels='1' xaxisname='" & xaxis & "' yaxisname='" & yaxis & "' lineThickness='2' showValues='0' drawanchors='1' formatNumberScale='0' shadowAlpha='40' labelStep='3' palette='3' showborder='0' bgColor='FFFFFF' alternateHGridColor='3D6CB2' setAdaptiveYMin='0' imageSave='1' imageSaveURL='FCExporter.aspx' showExportDataMenuItem='1' showZeroPlane='1' yAxisMinValue='-600' yAxisMaxValue='600' adjustDiv='0' >"

 

Looks like I'll just stick with the SQL workaround, the users understand what it means when they see a +/- 600 on the graph so that will have to do.

 

Regards,

Steve.

 

Hi,

 

Welcome to FusionCharts Forum!smile.gif

 

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 <adjustDiv> attribute to false. That would disable automatic adjustment of divisional lines.

 

Hope this helps.smile.gif

Share this post


Link to post
Share on other sites
Guest Angie

Hi,

 

Welcome to FusionCharts Forum!smile.gif

 

Could you please send us the generated XML code to look into the issue from our end?

 

Awaiting for your reply.

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