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

Chart showing only positive value on Y axis and auto scale

3 Answers 113 Views
Chart (Obsolete)
This is a migrated thread and some comments may be shown as answers.
FISCAL
Top achievements
Rank 1
FISCAL asked on 15 Jan 2013, 02:00 PM
Hi,

Is it possible to have a chart which displays only positive values without setting manually Min and Max values?
What I am looking for is a property like the LinearAxis.RangeExtendDirection in the SIlverlight ChartView, is it available in the .net control?

Thanks,

Michele

3 Answers, 1 is accepted

Sort by
0
Peshito
Telerik team
answered on 17 Jan 2013, 09:00 AM
Hi FISCAL,

As my colleague Yavor mentioned in another thread  in here, in the ASP AJAX Chart you have two options - either let the control autosize the axis, or set the range manually.

All the best,
Peshito
the Telerik team
If you want to get updates on new releases, tips and tricks and sneak peeks at our product labs directly from the developers working on the RadControls for ASP.NET AJAX, subscribe to their blog feed now.
0
FISCAL
Top achievements
Rank 1
answered on 01 Feb 2013, 10:17 AM
What about the ChartAxisVisibleValues property? What does it exactly does it hide/show?
0
Peshito
Telerik team
answered on 05 Feb 2013, 09:49 AM
Hello,

You can use the VisibleValues property of the YAxis in order to hide the negative values like shown below:
radChart.PlotArea.YAxis.VisibleValues = Telerik.Charting.Styles.ChartAxisVisibleValues.Positive;
The property has three possible values which are All, Negative and Positive. This approach will indeed work without manually specifying the range of your axis.

Hope this helps.

All the best,
Peshito
the Telerik team
If you want to get updates on new releases, tips and tricks and sneak peeks at our product labs directly from the developers working on the RadControls for ASP.NET AJAX, subscribe to their blog feed now.
Tags
Chart (Obsolete)
Asked by
FISCAL
Top achievements
Rank 1
Answers by
Peshito
Telerik team
FISCAL
Top achievements
Rank 1
Share this question
or