YAxis AxisLabel alignment problem

Thread is closed for posting
2 posts, 0 answers
  1. Martin
    Martin avatar
    84 posts
    Member since:
    Apr 2009

    Posted 22 Jul 2009 Link to this post

    Hello using the same graph template, the YAxis AxisLabel seems to be displayed in a different places on a bar graph.
    Please look at the image, to see what I mean.
    http://i839.photobucket.com/albums/zz316/dev2009_2009/y_axis_align_problem.jpg

    As you can see from the code Position-Auto is set to false.

    <

     

    telerik:RadChart ID="rctGraph" runat="server" DefaultType="Bar" Width="500px" Height="300px">

     

     

    <PlotArea>

     

     

    <EmptySeriesMessage Visible="True" TextBlock-Text="No Information Found!" Appearance-FillStyle-MainColor="ControlLight">

     

     

    <Appearance Visible="True">

     

     

    </Appearance>

     

     

    </EmptySeriesMessage>

     

     

    <XAxis>

     

     

    <AxisLabel>

     

     

    <Appearance Position-X="225" Position-Y="275" Position-Auto="false" />

     

     

    <TextBlock>

     

     

    </TextBlock>

     

     

    </AxisLabel>

     

     

    </XAxis>

     

     

    <YAxis>

     

     

    <AxisLabel>

     

     

    <Appearance Position-X="-10" Position-Y="200" Position-Auto="false" />

     

     

    <TextBlock>

     

     

    </TextBlock>

     

     

    </AxisLabel>

     

     

    </YAxis>

     

     

    <Appearance Dimensions-Margins="30%, 10px, 60px, 80px">

     

     

    </Appearance>

     

     

    </PlotArea>

     

     

    <ChartTitle>

     

     

    <Appearance Dimensions-Margins="4%, 10px, 14px, 6%">

     

     

    </Appearance>

     

     

    <TextBlock>

     

     

    </TextBlock>

     

     

    </ChartTitle>

     

     

    <Legend>

     

     

    <Appearance

     

     

    Dimensions-Margins="5px, 5px, 12%, 1px">

     

     

    </Appearance>

     

     

    <TextBlock>

     

     

    <Appearance Position-AlignedPosition="Top">

     

     

    </Appearance>

     

     

    </TextBlock>

     

     

    </Legend>

     

    </

     

    telerik:RadChart>

     




  2. Ves
    Admin
    Ves avatar
    2927 posts

    Posted 27 Jul 2009 Link to this post

    Hi Martin,

    I created a page with a couple of RadCharts, using your markup. The Y axis labels were not visible, so I just added the necessary code in code-behind, along with several lines for populating the charts. The Y axis labels appear fine in this page, you can find it attached. Are there any details that I have missed?

    Best regards,
    Ves
    the Telerik team

    Instantly find answers to your questions on the new Telerik Support Portal.
    Check out the tips for optimizing your support resource searches.
Back to Top