AxisX with only two labels

3 posts, 1 answers
  1. figueiredorj
    figueiredorj avatar
    68 posts
    Member since:
    Mar 2011

    Posted 13 Jul 2011 Link to this post

    Hi all.

    I am trying to set a chart with only begin and end of interval period time. However I am failing on that... when I set a too long interval it uses more samples of my data.

    Can anyone help me set this?
    Thanks
  2. Answer
    Evgenia
    Admin
    Evgenia avatar
    1406 posts

    Posted 18 Jul 2011 Link to this post

    Hello Ricardo,

    You can achieve this by providing manually the range for the XAxis - turn off the AutoRange property and set your own MinValue, MaxValue and Step. Then by knowing your labels count you can use the LabelStep property so that only one out of n-axis labels should be visible, where n is the value of the property.
    You can find detailed information about these properties in our online documentation.

    Greetings,
    Evgenia
    the Telerik team

    Register for the Q2 2011 What's New Webinar Week. Mark your calendar for the week starting July 18th and book your seat for a walk through of all the exciting stuff we will ship with the new release!

  3. DevCraft banner
  4. figueiredorj
    figueiredorj avatar
    68 posts
    Member since:
    Mar 2011

    Posted 22 Jul 2011 Link to this post

    thanks.

    It works this way.
Back to Top