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

label X,Y Axis

4 Answers 98 Views
Chart (Obsolete)
This is a migrated thread and some comments may be shown as answers.
Yoong Hui Chia
Top achievements
Rank 1
Yoong Hui Chia asked on 25 May 2010, 11:11 AM
Hi,

Does anyone know how to label the X, Y axis in the chart ? What I want to achieve is to have a line graph with X and Y axis label as below.

Y
|
|
|
|_________________ X

My dll version is 2009.3.1314.35

Thanks,

4 Answers, 1 is accepted

Sort by
0
Yoong Hui Chia
Top achievements
Rank 1
answered on 26 May 2010, 02:16 AM
Does anyone has any clues ?

please help
0
Ves
Telerik team
answered on 27 May 2010, 08:03 AM
Hello Yoong Hui Chia,

You can find this discussed in details in the following help topic:

http://www.telerik.com/help/aspnet-ajax/understandingelementsaxislabels.html

Sincerely ,
Ves
the Telerik team

Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items.
0
Yoong Hui Chia
Top achievements
Rank 1
answered on 27 May 2010, 05:11 PM
Hi,

Could you provide an actual example ?

I tried to bind datatable to this chart, however it seems not possible to set the axis label.

Please help,
Thanks,
0
Ves
Telerik team
answered on 01 Jun 2010, 01:23 PM
Hi Yoong Hui Chia,


Here is an example:

<telerik:RadChart ID="RadChart1" runat="server" AutoLayout="True">
           <Series>
               <telerik:ChartSeries Name="Series 1" Type="Line">
                   <Items>
                       <telerik:ChartSeriesItem Name="Item 1" YValue="4">
                       </telerik:ChartSeriesItem>
                       <telerik:ChartSeriesItem Name="Item 2" YValue="3">
                       </telerik:ChartSeriesItem>
                       <telerik:ChartSeriesItem Name="Item 3" YValue="5">
                       </telerik:ChartSeriesItem>
                   </Items>
               </telerik:ChartSeries>
           </Series>
           <PlotArea>
               <XAxis>
                   <AxisLabel Visible="True">
                       <Appearance Position-Auto="False" Position-X="330" Position-Y="242"
                           Visible="True">
                       </Appearance>
                       <TextBlock Text="X">
                       </TextBlock>
                   </AxisLabel>
               </XAxis>
               <YAxis>
                   <AxisLabel Visible="True">
                       <Appearance Position-Auto="False" Position-X="35" Position-Y="25"
                           Visible="True">
                       </Appearance>
                       <TextBlock Text="Y">
                       </TextBlock>
                   </AxisLabel>
               </YAxis>
           </PlotArea>
       </telerik:RadChart>

Hope this helps.

Best regards,
Ves
the Telerik team

Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items.
Tags
Chart (Obsolete)
Asked by
Yoong Hui Chia
Top achievements
Rank 1
Answers by
Yoong Hui Chia
Top achievements
Rank 1
Ves
Telerik team
Share this question
or