LinearAxis issue

5 posts, 0 answers
  1. Thiago
    Thiago avatar
    16 posts
    Member since:
    May 2012

    Posted 02 Jul 2012 Link to this post

    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
  2. Victor
    Admin
    Victor avatar
    1351 posts

    Posted 03 Jul 2012 Link to this post

    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 >>

  3. DevCraft banner
  4. Thiago
    Thiago avatar
    16 posts
    Member since:
    May 2012

    Posted 03 Jul 2012 Link to this post

    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

  5. Victor
    Admin
    Victor avatar
    1351 posts

    Posted 06 Jul 2012 Link to this post

    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 >>

  6. Thiago
    Thiago avatar
    16 posts
    Member since:
    May 2012

    Posted 06 Jul 2012 Link to this post

    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
Back to Top
DevCraft banner