label X,Y Axis

Thread is closed for posting
5 posts, 0 answers
  1. Yoong Hui Chia
    Yoong Hui Chia avatar
    8 posts
    Member since:
    Nov 2009

    Posted 25 May 2010 Link to this post

    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,
  2. Yoong Hui Chia
    Yoong Hui Chia avatar
    8 posts
    Member since:
    Nov 2009

    Posted 25 May 2010 Link to this post

    Does anyone has any clues ?

    please help
  3. Ves
    Admin
    Ves avatar
    2926 posts

    Posted 27 May 2010 Link to this post

    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.
  4. Yoong Hui Chia
    Yoong Hui Chia avatar
    8 posts
    Member since:
    Nov 2009

    Posted 27 May 2010 Link to this post

    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,
  5. Ves
    Admin
    Ves avatar
    2926 posts

    Posted 01 Jun 2010 Link to this post

    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.
Back to Top