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

Silverlight RadChart no X Axis Range

1 Answer 40 Views
Ajax
This is a migrated thread and some comments may be shown as answers.
Rahul
Top achievements
Rank 1
Rahul asked on 11 Aug 2011, 01:09 PM
Hi ,

We are using RadCharts in our Silverlight Asp.net application. The problem we are facing is that we do not want any range series on the X axis and we want to display title only. We tried to use RadChart.DefaultView.ChartArea.AxisX.AutoRange = false but this not working. Please help us in this .


Thanks,
Rahul

1 Answer, 1 is accepted

Sort by
0
Evgenia
Telerik team
answered on 15 Aug 2011, 01:49 PM
Hello Rahul,

The AutoRange property of the Axis specifies whether you should have automatical Range or custom one (by manually setting the MinValue, MaxValue and Step for it). This is described in our help topic.
 To be able to hide the XAxis you should set its Visibility property to Collapsed like this:
 
RadChart1.DefaultView.ChartArea.AxisX.Visibility = System.Windows.Visibility.Collapsed;

Regards,
Evgenia
the Telerik team
Explore the entire Telerik portfolio by downloading the Ultimate Collection trial package. Get now >>
Tags
Ajax
Asked by
Rahul
Top achievements
Rank 1
Answers by
Evgenia
Telerik team
Share this question
or