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

[Solved] Limit Y axis to positive numbers only

1 Answer 109 Views
Chart (Obsolete)
This is a migrated thread and some comments may be shown as answers.
Yuval Gliks
Top achievements
Rank 1
Yuval Gliks asked on 29 Jun 2008, 03:52 PM
Hello,

I'd like to limit Y axis to positive numbers only.
The problem is the minimal value of Y axis will be the minimal positive value with the minus sign, inspite of the data has only positive numbers. How can i limit the minimal value on Y axis to 0 (i'm using property autoscale = true).
If i can't do it with autoscale = true what properties should i define to do the work of autoscale.

Thanks in advance,
Roman

1 Answer, 1 is accepted

Sort by
0
Vladimir Milev
Telerik team
answered on 01 Jul 2008, 02:49 PM
Hi Yuval Gliks,

Does the AddRange method of the YAxis help? It has minValue, maxValue and step. Simply use 0 for the minValue. We think this should solve the problem.

All the best,
Vladimir Milev
the Telerik team

Instantly find answers to your questions at the new Telerik Support Center
Tags
Chart (Obsolete)
Asked by
Yuval Gliks
Top achievements
Rank 1
Answers by
Vladimir Milev
Telerik team
Share this question
or