Axis are showing exponential values

2 posts, 1 answers
  1. Ritesh
    Ritesh avatar
    1 posts
    Member since:
    Jan 2012

    Posted 07 Dec 2012 Link to this post


    I am creating a Cartesian chart, below is the code for the Axis :

                    <telerik:LinearAxis MajorStep="20000000" Maximum="120000000" />

    In the UI, it is showing exponential values, instead of integer values. Kindly, provide a solution for the showing the integer values.

    Also, the Axis block created are square shaped, but i wish to create them as rectangle. Is this possible, using this control.

  2. Answer
    Missing user
    Missing user avatar

    Posted 11 Dec 2012 Link to this post

    Hi Ritesh,

    To modify the way labels are displayed, add the following format specifier when setting the LinearAxis' properties:
    <telerik:LinearAxis MajorStep="20000000" Maximum="120000000" LabelFormat="#"/>

    As for the second part of your question, I'd like to ask you to provide a sample screenshot or some kind of a mock-up of what you're trying to achieve, so that I can help you further.

    Ivan N.
    the Telerik team

    Explore the entire Telerik portfolio by downloading Telerik DevCraft Ultimate.

Back to Top