6 Answers, 1 is accepted
0
Hello George,
You can use the API provided (from the Properties Window in VS) and modify the position of the Axis->Appearance->LabelAppearance->Position per your requirements.
Kind regards,
Evgenia
the Telerik team
Check out Telerik Trainer, the state of the art learning tool for Telerik products.
You can use the API provided (from the Properties Window in VS) and modify the position of the Axis->Appearance->LabelAppearance->Position per your requirements.
Kind regards,
Evgenia
the Telerik team
Check out Telerik Trainer, the state of the art learning tool for Telerik products.
0
baud9600
Top achievements
Rank 1
answered on 14 Sep 2011, 03:19 PM
Thanks for your answer, but it seems that whatever I try, the labels show all bunched up on top in one black spot.
<PlotArea>
...
<YAxis>
<Appearance />
<LabelAppearance Position-Auto="false" Position-Y="0" Position-X="<any number here>" >
</LabelAppearance>
</Appearance>
...
Varying the position-X seems no to make any difference.
Thanks again
<PlotArea>
...
<YAxis>
<Appearance />
<LabelAppearance Position-Auto="false" Position-Y="0" Position-X="<any number here>" >
</LabelAppearance>
</Appearance>
...
Varying the position-X seems no to make any difference.
Thanks again
0
Hello George,
Can you be more specific where do you want your YAxis labels to be located? Sending us a sample image will be best. This way we will be able to support you more properly.
Best wishes,
Evgenia
the Telerik team
Can you be more specific where do you want your YAxis labels to be located? Sending us a sample image will be best. This way we will be able to support you more properly.
Best wishes,
Evgenia
the Telerik team
Browse the vast support resources we have to jump start your development with RadControls for ASP.NET AJAX. See how to integrate our AJAX controls seamlessly in SharePoint 2007/2010 visiting our common SharePoint portal
0
George
Top achievements
Rank 1
answered on 20 Sep 2011, 06:18 PM
This is what I would like (Y labels on the right side of the axis):
y
|
| 10
|
| 5
|
| 1
|____________________________ X AXIS
Attached is what I see when I do (programmatically or in the aspx)
<telerik:RadChart ID="RadChart1" runat="server" Height="264px" DefaultType="Point" Skin="Office2007"
...
PlotArea-YAxis-Appearance-LabelAppearance-Position-X="2"
PlotArea-YAxis-Appearance-LabelAppearance-Position-Y="0"
PlotArea-YAxis-Appearance-LabelAppearance-Position-Auto="false"
>
<Appearance >
<Border Color="134, 134, 134" />
</Appearance>
<series>
<telerik:ChartSeries Name="Series 1" Type="Point" >
<Appearance ShowLabels="true">
<FillStyle FillType="Solid" MainColor="69, 115, 167">
</FillStyle>
<TextAppearance TextProperties-Color="Black">
</TextAppearance>
...
<Items>
....
...
Is that supposed to work or is there any other gotcha?.
Thanks
y
|
| 10
|
| 5
|
| 1
|____________________________ X AXIS
Attached is what I see when I do (programmatically or in the aspx)
<telerik:RadChart ID="RadChart1" runat="server" Height="264px" DefaultType="Point" Skin="Office2007"
...
PlotArea-YAxis-Appearance-LabelAppearance-Position-X="2"
PlotArea-YAxis-Appearance-LabelAppearance-Position-Y="0"
PlotArea-YAxis-Appearance-LabelAppearance-Position-Auto="false"
>
<Appearance >
<Border Color="134, 134, 134" />
</Appearance>
<series>
<telerik:ChartSeries Name="Series 1" Type="Point" >
<Appearance ShowLabels="true">
<FillStyle FillType="Solid" MainColor="69, 115, 167">
</FillStyle>
<TextAppearance TextProperties-Color="Black">
</TextAppearance>
...
<Items>
....
...
Is that supposed to work or is there any other gotcha?.
Thanks
0
Hello George,
Setting custom position X and Y for the YAxis Items Labels moves them starting at position 0,0 on the PlotArea all without keeping their default positions on the YAxis. As a result they are all shown overlapped on the coordinates you provided. Unfortunately there is no way of moving the YAxis Items Labels on the right side.
Regards, Evgenia
the Telerik team
Setting custom position X and Y for the YAxis Items Labels moves them starting at position 0,0 on the PlotArea all without keeping their default positions on the YAxis. As a result they are all shown overlapped on the coordinates you provided. Unfortunately there is no way of moving the YAxis Items Labels on the right side.
Regards, Evgenia
the Telerik team
If you want to get updates on new releases, tips and tricks and sneak peeks at our product labs directly from the developers working on the RadControls for ASP.NET AJAX, subscribe to their blog feed now
0
George
Top achievements
Rank 1
answered on 27 Sep 2011, 05:19 PM
Thanks for your reply. Consider this closed.