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

YAxis hide

1 Answer 61 Views
Chart (obsolete as of Q1 2013)
This is a migrated thread and some comments may be shown as answers.
This question is locked. New answers and comments are not allowed.
Howard Rybko
Top achievements
Rank 1
Howard Rybko asked on 15 Jul 2007, 06:10 AM
Hi

I am trying to remove the YAxis or as much of it as possible.
Reason is that I need a graph comprising of bars only. The graph is used as an indicator/gauge (or widget as some graphics libs call them). So it is a minimalist display with just the 2 bars and it needs to take up as little screen real estate as possible. I also need to remove the blank space where the ledgend goes to make the graph footprint as small as possible.

Please can you help.

Thank you
Howard Ryko

1 Answer, 1 is accepted

Sort by
0
Dwight
Telerik team
answered on 17 Jul 2007, 04:25 PM
Thank you for your question, Howard.

You can hide the YAxis with the following code:
 
radChart1.PlotArea.YAxis.Visible = Telerik.Charting.Styles.ChartAxisVisibility.False; 

We know that this approach is not the best one, but it will be improved for the Q2 release.

To decrease the footprint of the chart, try playing with radChart1.PlotArea to reduce the number of visible elements in the charting area.

Let me know if you need further assistance.
 
 
Regards,
Evtim
the Telerik team

Instantly find answers to your questions at the new Telerik Support Center
Tags
Chart (obsolete as of Q1 2013)
Asked by
Howard Rybko
Top achievements
Rank 1
Answers by
Dwight
Telerik team
Share this question
or