Hi,
I have data that are really close to 0 (ex. 0.01)
Bar chart by default generates bar and fit labels to maximum value so we have labales:
0 0.001 0.002 0.003 ... 0.009 0.01
We don't want to have x labels with decimals so i'm wondering if it is possible to set that chart should have range 0-10 and value bar will be really close to 0 value (but labels will be 1 2 3 4 ... 10).
I hope that you know what i mean.
Cheers
Hello bmieln ,
Thank you for posting in our forums.
In this situation I recommend you using Logarithmic axe
http://help.infragistics.com/NetAdvantage/ASPNET/2011.1?page=Chart_Linear_and_Logarithmic_Axes.html
You can apply custom labels if you want :
http://help.infragistics.com/NetAdvantage/ASPNET/2011.1?page=Chart_Use_Predefined_and_Custom_Label_Styles.html
If you want only to round the values you can set the ItemFormatString :
http://community.infragistics.com/forums/p/40280/226787.aspx#226787
Let us know if you need further assistance.
Thanks for your answer. But it not helping me at all.
I need to use bar chart (user wants this type).
I'm using custom labels and item forma string but it only changes values of labels and i need to change apperance of chart.
Please see what i need to achieve:
First one is what i have. Second is what i need to do. CHeers
Hello ,
Thank you for the clarification.
If you want to set different range you can take a look at the below online documentation :
http://help.infragistics.com/NetAdvantage/ASPNET/2011.1/CLR4.0/?page=Chart_Axis_Ranges.html
UltraChart.Axis.Y.RangeType = AxisRangeType.Custom
UltraChart.Axis.Y.RangeMin = 0
UltraChart.Axis.Y.RangeMax = 75
If you want different label formatting please refer to:
http://help.infragistics.com/NetAdvantage/ASPNET/2011.1/CLR4.0/?page=Chart_Customize_Labels_Using_the_IRenderLabel_Interface.html
Let me know if you need further assistance.
many thanks.
it is exactly what i need