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

AxisX with only two labels

2 Answers 36 Views
Chart
This is a migrated thread and some comments may be shown as answers.
figueiredorj
Top achievements
Rank 1
figueiredorj asked on 13 Jul 2011, 09:52 AM
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 Answers, 1 is accepted

Sort by
0
Accepted
Evgenia
Telerik team
answered on 18 Jul 2011, 11:09 AM
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!

0
figueiredorj
Top achievements
Rank 1
answered on 22 Jul 2011, 11:49 AM
thanks.

It works this way.
Tags
Chart
Asked by
figueiredorj
Top achievements
Rank 1
Answers by
Evgenia
Telerik team
figueiredorj
Top achievements
Rank 1
Share this question
or