3 Answers, 1 is accepted
0
Anne Lyon
Top achievements
Rank 1
answered on 02 Feb 2010, 10:48 AM
Setting the chart area font size also sets the x and y axis labels for me:
ctlRadChart.DefaultView.ChartArea.FontSize = 10;
But I would like to change the font size for the point labels (at run time), which I don't seem to be able to do?
0
Hello,
Indeed, you can change the FontSize of the Axes' labels by adding
Regarding your question about the SeriesItemLabels, you can change their Style by having:
in your code behind.
and also having your new style in the UserControl resources:
Sia
the Telerik team
Watch a video on how to optimize your support resource searches and check out more tips on the blogs.
Follow the status of features or bugs in PITS and vote for them to affect their priority.
Indeed, you can change the FontSize of the Axes' labels by adding
ctlRadChart.DefaultView.ChartArea.FontSize = 10;
Regarding your question about the SeriesItemLabels, you can change their Style by having:
SeriesItemLabelStyle = Resources[
"CustomLabelStyle"
]
as
Style
and also having your new style in the UserControl resources:
<UserControl.Resources>
<Style TargetType=
"charting:SeriesItemLabel"
x:Key=
"CustomLabelStyle"
>
<Setter Property=
"FontSize"
Value=
"10"
/>
</Style>
</UserControl.Resources>
Here you can find more information about this topic:
http://www.telerik.com/help/silverlight/radchart-styling-and-appearance-styling-item-labels.html
Unfortunately RadChart doesn't support changing the FontSize of the SeriesItemLabel in runtime at the moment. Please accept our apologies. I have logged this issue in our bug tracking system, so our developers will look into it.
Sia
the Telerik team
Watch a video on how to optimize your support resource searches and check out more tips on the blogs.
Follow the status of features or bugs in PITS and vote for them to affect their priority.
0
Hi Anne Lyon,
This is to let you know that we have addressed the issue at hand - the fontsize applied to the chart area is now applied to the chart series labels. The fix will be available as part of the Latest Internal build, which you can download from your account later on next week.
Best wishes,
Yavor
the Telerik team
This is to let you know that we have addressed the issue at hand - the fontsize applied to the chart area is now applied to the chart series labels. The fix will be available as part of the Latest Internal build, which you can download from your account later on next week.
Best wishes,
Yavor
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