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

YAxis AxisLabel alignment problem

1 Answer 60 Views
Chart (Obsolete)
This is a migrated thread and some comments may be shown as answers.
Martin
Top achievements
Rank 1
Martin asked on 22 Jul 2009, 03:34 PM
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>

 




1 Answer, 1 is accepted

Sort by
0
Ves
Telerik team
answered on 27 Jul 2009, 10:10 AM
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.
Tags
Chart (Obsolete)
Asked by
Martin
Top achievements
Rank 1
Answers by
Ves
Telerik team
Share this question
or