AxisY ticks int values

2 posts, 0 answers
  1. Konstantin
    Konstantin avatar
    4 posts
    Member since:
    Nov 2008

    Posted 03 Nov 2010 Link to this post

    Hi, Telerik Team!

    I am trying to make simple bar chart using default axisY behavior (AutoRange = true).

    The problem is my data values are always int (like 3, 5, 10 etc.) but on AxisY i see values on ticks like 3.5, 3.75. Is it possible to show only int values on this axis but still use AutoRange behavior.

  2. Evgeni "Zammy" Petrov
    Evgeni "Zammy" Petrov avatar
    168 posts

    Posted 08 Nov 2010 Link to this post

    Hi Konstantin,

    Unfortunately when AutoRange is set to true you do not have such control over it.
    X axis has an internal mechanism to make it integer when step between items is high. You can set AutoRange to false you can define your own min, max and step.

    Kind regards,
    Evgeni "Zammy" Petrov
    the Telerik team
    Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items
Back to Top