Sign in to follow this  
rhombus24

Y Axis Values Show From 0

Recommended Posts

Hulo guys,

 

I am trying to generate a scatter chart for protein ion masses for sample data with X,Y masses

 

y='525.2074' x='310.2206'

y='565.3224' x='345.1067'

y='512.2254' x='310.2206'

.

.

.

.

.

 

But when I generate the chart, the y axis values show from 0-536 although I set 'yAxisMinValue="534" yAxisMaxValue='536''

The x values are fine as i use the 'category name' to define them.

Please advice as I've been trying to get over this for about a 2 days now.

 

 

Thanks in advance,

Share this post


Link to post
Share on other sites

Hi,

 

Please note that in case if any of the datavalue in the XML is lesser than the "yAxisMinValue" mentioned, the chart would ignore the explicitly set minimum value and automatically set itself to a lower value or '0' value in order to fit the lower datavalue.

 

In this case it seems that there are a few "y" values (y='512.2254') that are lesser than the 'yAxisMinValue="534" '. In that case, the charts is taking up '0' as the "yAxisMinValue" to fit the data.

 

Hope this helps. :)

Share this post


Link to post
Share on other sites

Hi,

 

Please note that in case if any of the datavalue in the XML is lesser than the "yAxisMinValue" mentioned, the chart would ignore the explicitly set minimum value and automatically set itself to a lower value or '0' value in order to fit the lower datavalue.

 

In this case it seems that there are a few "y" values (y='512.2254') that are lesser than the 'yAxisMinValue="534" '. In that case, the charts is taking up '0' as the "yAxisMinValue" to fit the data.

 

Hope this helps. :)

 

Thanks for the brief insight but the values are consistent.. Below is the file

Could it be that the HTML file which generates the chart be wrong?

Data.xml

Share this post


Link to post
Share on other sites

Hi,

 

Please note, minimum and maximum values are specified as yAxisMaxValue='534' yAxisMinValue='536' in the XML file attached. In this case the charts takes up the y values as zero because max and min values are interchanged.

 

In the attached image please find the when Y axis values are set as follows:

 

yAxisMinValue='534' yAxisMaxValue='536'

 

I hope this helps.

 

 

 

 

Thanks for the brief insight but the values are consistent.. Below is the file

Could it be that the HTML file which generates the chart be wrong?

yaxis_min.PNG

Share this post


Link to post
Share on other sites

Hi,

 

Please note, minimum and maximum values are specified as yAxisMaxValue='534' yAxisMinValue='536' in the XML file attached. In this case the charts takes up the y values as zero because max and min values are interchanged.

 

In the attached image please find the when Y axis values are set as follows:

 

yAxisMinValue='534' yAxisMaxValue='536'

 

I hope this helps.

 

 

 

 

 

 

 

 

 

 

ahhh yea I figured this out late last night.. Damn.. took me some good amount of time.. a silly mistake in the end!

I have another question... Is their a way in fusion charts where I can select a small region and magnify the chart to the selected area?

 

Thanks a lot

 

 

 

Share this post


Link to post
Share on other sites

Hi,

 

I am glad that your issue is resolved.

 

Yes, FusionCharts Zoom Line chart would help in magnifying the selected area.

 

To know more about Zoom Line Chart, please refer to the following link:

http://www.fusioncharts.com/docs/AttDesc/ZoomLine.html

 

I hope this helps :)

 

 

ahhh yea I figured this out late last night.. Damn.. took me some good amount of time.. a silly mistake in the end!

I have another question... Is their a way in fusion charts where I can select a small region and magnify the chart to the selected area?

 

Thanks a lot

 

 

 

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