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

Change display position of y-axis

1 Answer 25 Views
Chart (Obsolete)
This is a migrated thread and some comments may be shown as answers.
mary
Top achievements
Rank 1
mary asked on 24 Oct 2008, 11:10 AM
Hi
I have a bar chart with horizontal seriesorientation, is it possible to display the y-axis at top of chart rather than bottom?

thanks

1 Answer, 1 is accepted

Sort by
0
Giuseppe
Telerik team
answered on 24 Oct 2008, 11:16 AM
Hi mary,

You can achieve the desired functionality by instructing the chart series to use the secondary YAxis instead of the primary one (primary is rendered at the bottom, and the secondary -- at the top):

<telerik:RadChart ID="RadChart1" runat="server" AutoLayout="true" SeriesOrientation="Horizontal"
    <Series> 
        <telerik:ChartSeries YAxisType="Secondary"
            <Items> 
                <telerik:ChartSeriesItem YValue="25"
                </telerik:ChartSeriesItem> 
                <telerik:ChartSeriesItem YValue="35"
                </telerik:ChartSeriesItem> 
            </Items> 
        </telerik:ChartSeries> 
    </Series> 
</telerik:RadChart> 


Hope this helps.


Sincerely yours,
Manuel
the Telerik team

Check out Telerik Trainer, the state of the art learning tool for Telerik products.
Tags
Chart (Obsolete)
Asked by
mary
Top achievements
Rank 1
Answers by
Giuseppe
Telerik team
Share this question
or