Hi,
I am currently using the Radchart object to simulate a progress bar. I was able to do it. Now, I want to remove the X and Y axis scale, as you can see on the attached image. Is there a way to remove them?
Thanks,
Paul
I am currently using the Radchart object to simulate a progress bar. I was able to do it. Now, I want to remove the X and Y axis scale, as you can see on the attached image. Is there a way to remove them?
Thanks,
Paul
4 Answers, 1 is accepted
0
Hello Paul,
RadChart1.PlotArea.XAxis.Visible = true; and RadChart1.PlotArea.YAxis.Visible = true; should do the trick.
Regards,
Ves
the Telerik team
Instantly find answers to your questions on the new Telerik Support Portal.
Watch a video on how to optimize your support resource searches and check out more tips on the blogs.
RadChart1.PlotArea.XAxis.Visible = true; and RadChart1.PlotArea.YAxis.Visible = true; should do the trick.
Regards,
Ves
the Telerik team
Instantly find answers to your questions on the new Telerik Support Portal.
Watch a video on how to optimize your support resource searches and check out more tips on the blogs.
0
Paul Tran
Top achievements
Rank 1
answered on 14 Dec 2009, 07:47 PM
HI,
I tried your solution in my code behind:
WeightProgressionChart.PlotArea.XAxis.Visible = ChartAxisVisibility.False;
WeightProgressionChart.PlotArea.YAxis.Visible = ChartAxisVisibility.False;
I also tried this in my page:
<PlotArea XAxis-Visible="False" YAxis-Visible="False">
Both solutions did not work. My screen loads indefinitely without showing any errors.
I tried your solution in my code behind:
WeightProgressionChart.PlotArea.XAxis.Visible = ChartAxisVisibility.False;
WeightProgressionChart.PlotArea.YAxis.Visible = ChartAxisVisibility.False;
I also tried this in my page:
<PlotArea XAxis-Visible="False" YAxis-Visible="False">
Both solutions did not work. My screen loads indefinitely without showing any errors.
0
Hi Paul,
You can find attached a small example. I am sorry about this -- of course it should be Visible = false. Still, the attached page works as expected for me. It is not likely that hiding the axes would hang the page. If the example does not seem to help, can you please send a sample of the hanging page in a support ticket, so we can investigate it? Thanks.
All the best,
Ves
the Telerik team
Instantly find answers to your questions on the new Telerik Support Portal.
Watch a video on how to optimize your support resource searches and check out more tips on the blogs.
You can find attached a small example. I am sorry about this -- of course it should be Visible = false. Still, the attached page works as expected for me. It is not likely that hiding the axes would hang the page. If the example does not seem to help, can you please send a sample of the hanging page in a support ticket, so we can investigate it? Thanks.
All the best,
Ves
the Telerik team
Instantly find answers to your questions on the new Telerik Support Portal.
Watch a video on how to optimize your support resource searches and check out more tips on the blogs.
0
Paul Tran
Top achievements
Rank 1
answered on 15 Dec 2009, 03:57 PM
Hi,
I found the problem, there's seems to be a bug when I try to remove the axis and the AutoLayout is set to true. I removed this property from the RadChart and it works perfectly.
Thanks for the help!
I found the problem, there's seems to be a bug when I try to remove the axis and the AutoLayout is set to true. I removed this property from the RadChart and it works perfectly.
Thanks for the help!