YAxis hide

Thread is closed for posting
2 posts, 0 answers
  1. Howard Rybko
    Howard Rybko avatar
    51 posts
    Member since:
    Jan 2006

    Posted 15 Jul 2007 Link to this post


    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
  2. Dwight
    Dwight avatar
    475 posts

    Posted 17 Jul 2007 Link to this post

    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.
    the Telerik team

    Instantly find answers to your questions at the new Telerik Support Center
Back to Top