This is a migrated thread and some comments may be shown as answers.

LinearAxis issue

4 Answers 85 Views
Chart
This is a migrated thread and some comments may be shown as answers.
This question is locked. New answers and comments are not allowed.
Thiago
Top achievements
Rank 1
Thiago asked on 02 Jul 2012, 05:06 PM
Hello,
I´m building a bar chart with CategoricalAxis at axis X and LinearAxis at axis Y.
The values that composes the chart are exceeding 10 000 000. This does not allow the correct visualization of the numbers in the LinearAxis.
I´m assuming that there is a limit of supported values. 
Also I wish put point of thousands in the LinearAxis´s numbers, they are showed this: 100000 and the ideal is 100.000 . Is it possible?

Thanks in advance,

Thiago

4 Answers, 1 is accepted

Sort by
0
Victor
Telerik team
answered on 03 Jul 2012, 11:48 AM
Hello Thiago,

Thank your for the questions.
For performance reasons I strongly suggest that you filter your data set so that the device does not have to plot 10 million points. There is simply no screen space for so much data. Please consider using RadChart's pan and zoom behavior as well.

You can format the chart labels in any way necessary. You just have to use the LabelFormat property of your axis. It follows the same rules as the ToString(string format) method.
Please write again if you have other questions.

Greetings,
Victor
the Telerik team

Explore the entire Telerik portfolio by downloading the Ultimate Collection trial package. Get it now >>

0
Thiago
Top achievements
Rank 1
answered on 03 Jul 2012, 03:07 PM
The LabelFormat question is solved Victor! Thank you by the helpful answer.
On the question of value limit, I meant that the value of point is exceeding 10 million. So, it doesn´t allow the correct visualization of the numbers in the LinearAxis. 
How sample, a datapoint have the category "Jan", and the value 10 000 000. Because of this, I need do a conversion, dividing this value to plot in the chart. Is there a value limit to plot points in the chart? 
Also, I noticed that values broken doesn´t appear in the LinearAxis. I´m using the method Math.Round() . 

Best wishes,

Thiago

0
Victor
Telerik team
answered on 06 Jul 2012, 09:42 AM
Hi Thiago,

Thanks for writing.
Please explain in more detail how your points are being visualized incorrectly. Also which series are you using? Is your axis displaying correctly?

If your axis labels are clumped up you can use the MajorTickInterval property of the axis to control how often ticks are drawn.

If you are referring to the scientific notation of values larger than 1 mil, you still have to work with the label format. You can find a detailed description here. More concretely, have a look at the fixed point (F) and number (N) format specifiers.

I am looking forward to your reply.

Regards,
Victor
the Telerik team

Explore the entire Telerik portfolio by downloading the Ultimate Collection trial package. Get it now >>

0
Thiago
Top achievements
Rank 1
answered on 06 Jul 2012, 03:01 PM
Thanks by writing Victor, the question is solved!
I guess the problem was the label format, the values was showed this way E76+45, however, should be showed this way 10,000,000 .
A simple label format resolved it.

Thanks,

Thiago
Tags
Chart
Asked by
Thiago
Top achievements
Rank 1
Answers by
Victor
Telerik team
Thiago
Top achievements
Rank 1
Share this question
or