Hi,
I have a list of objects that has MaxValue = 680334468, MinValue = -680334468, I need to set a custom range on my axis to show rounded off value. Right now my axis is shown like this,
http://dl.dropbox.com/u/23500975/Telerik/chartaxis.png
I have a step value of 27213378 (MaxValue / (half of objects list)). I tried to round off the axis as,
max = ceil( maxValue / 500000 ) * 500000
min = ceil( minValue / 500000 ) * 500000
step = 500000
I'm assuming the chart will render if the axis is bigger than the data, and it gives me this axis results as,
http://dl.dropbox.com/u/23500975/Telerik/chartaxis2.png
I would like to know how to round-off my cusotm axis range to properly visualize it. Please let me know any sample / code to do this.
-Fahad
I have a list of objects that has MaxValue = 680334468, MinValue = -680334468, I need to set a custom range on my axis to show rounded off value. Right now my axis is shown like this,
http://dl.dropbox.com/u/23500975/Telerik/chartaxis.png
I have a step value of 27213378 (MaxValue / (half of objects list)). I tried to round off the axis as,
max = ceil( maxValue / 500000 ) * 500000
min = ceil( minValue / 500000 ) * 500000
step = 500000
I'm assuming the chart will render if the axis is bigger than the data, and it gives me this axis results as,
http://dl.dropbox.com/u/23500975/Telerik/chartaxis2.png
I would like to know how to round-off my cusotm axis range to properly visualize it. Please let me know any sample / code to do this.
-Fahad