Sign in to follow this  
shahv

Y Axis Control In Fusion Charts.

Recommended Posts

Guest Sumedh

Hi Vaishali,

 

Welcome to FusionCharts Forum! smile.gif

 

You can customize Y-axis with respect to font and scaling.

 

FusionCharts XT offers a lot of options to format numbers on the chart. You can configure number prefixes & suffixes, decimal places, and scaling of numbers based on a pre-defined scale.

 

For more information, please refer the following links:

http://docs.fusioncharts.com/charts/contents/?advanced/number-format/Number_Basics.html

 

Also, you can configure the div lines, divisional lines are horizontal lines running through the canvas. They break up the y-axis into smaller units helping in better visual data interpretation.

 

For more information, please refer the following link:

http://docs.fusioncharts.com/charts/contents/?AttDesc/DivLines.html

 

You can customize the y-axis values using FusionCharts XT styles.

 

FusionCharts XT uses Styles to help you apply font, effects and animations to various objects of the chart. Styles lends a simple mechanism using which you can easily control the visual layout of charts.

 

For more information, please refer the following link:

http://docs.fusioncharts.com/charts/contents/?Styles/Styles.html

 

Hope this helps!

Share this post


Link to post
Share on other sites

Hi Vaishali,

 

Welcome to FusionCharts Forum! smile.gif

 

You can customize Y-axis with respect to font and scaling.

 

FusionCharts XT offers a lot of options to format numbers on the chart. You can configure number prefixes & suffixes, decimal places, and scaling of numbers based on a pre-defined scale.

 

For more information, please refer the following links:

http://docs.fusionch...ber_Basics.html

 

Also, you can configure the div lines, divisional lines are horizontal lines running through the canvas. They break up the y-axis into smaller units helping in better visual data interpretation.

 

For more information, please refer the following link:

http://docs.fusionch...c/DivLines.html

 

You can customize the y-axis values using FusionCharts XT styles.

 

FusionCharts XT uses Styles to help you apply font, effects and animations to various objects of the chart. Styles lends a simple mechanism using which you can easily control the visual layout of charts.

 

For more information, please refer the following link:

http://docs.fusionch...les/Styles.html

 

Hope this helps!

Share this post


Link to post
Share on other sites

Hi Vaishali,

 

Welcome to FusionCharts Forum! smile.gif

 

You can customize Y-axis with respect to font and scaling.

 

FusionCharts XT offers a lot of options to format numbers on the chart. You can configure number prefixes & suffixes, decimal places, and scaling of numbers based on a pre-defined scale.

 

For more information, please refer the following links:

http://docs.fusioncharts.com/charts/contents/?advanced/number-format/Number_Basics.html

 

Also, you can configure the div lines, divisional lines are horizontal lines running through the canvas. They break up the y-axis into smaller units helping in better visual data interpretation.

 

For more information, please refer the following link:

http://docs.fusioncharts.com/charts/contents/?AttDesc/DivLines.html

 

You can customize the y-axis values using FusionCharts XT styles.

 

FusionCharts XT uses Styles to help you apply font, effects and animations to various objects of the chart. Styles lends a simple mechanism using which you can easily control the visual layout of charts.

 

For more information, please refer the following link:

http://docs.fusioncharts.com/charts/contents/?Styles/Styles.html

 

Hope this helps!

 

 

Hi, I have the same requirement.

But I did not find the answer.

When the data value is 0 or 1, the y axis come to decimal.

But It cant to be decimal.

 

Set divIntervalHints or decimals propertis cant work in this case.

Share this post


Link to post
Share on other sites

Hi,

 

Please use the 'yAxisMaxValue' and 'numDivLines' attributes appropriately to suit your requirement.

Say, for example, if you need to display from 0 to 4 on the axis, then set numDivLines='2' and yAxisMaxValue='4'.

Similarly, if you need to display from 0 to 2, set numDivLines='1' and yAxisMaxValue='2'.

Hope this helps!

Share this post


Link to post
Share on other sites

Hi,

 

Please use the 'yAxisMaxValue' and 'numDivLines' attributes appropriately to suit your requirement.

 

Say, for example, if you need to display from 0 to 4 on the axis, then set numDivLines='2' and yAxisMaxValue='4'.

 

Similarly, if you need to display from 0 to 2, set numDivLines='1' and yAxisMaxValue='2'.

 

Hope this helps!

 

Thanks, It works.

 

But I dont know the internal mechanism of the calculation and display

So I am not sure that if it will cause new issue or display inconsistency when the Y Values are more than the yAxisMaxValue or the resolution rate changes.

 

For example, I set numDivLines='2' and yAxisMaxValue='4', but it generates 3 lines. The yAxis values are: 0,1,2,3,4.

It is a bit strange.

 

 

In our program,we only set the heighth and the width, don't set the numDivLine,it generates 4 lines in my computer.

Edited by MegRyan

Share this post


Link to post
Share on other sites

Hi,

 

When Y values are more than yAxismaxValue, yAxisMaxValue set will be ignored.

 

So you will have to set a suitable yAxisMaxValue and depending on the yAxisMaxValue, you have to calculate a value for numDivLines such that when you divide it you wont get decimal values.

 

Hoe this helps!

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