This question is locked. New answers and comments are not allowed.
Hi every one
I want to change XAxes Columns Font,i mean the numbers.
I use this code,but it's not worked
How can i do that?
Best Regards ...
I want to change XAxes Columns Font,i mean the numbers.
I use this code,but it's not worked
radchart1.Font =
new
System.Drawing.Font(
"B Nazanin"
, 12, FontStyle.Bold);
Best Regards ...
4 Answers, 1 is accepted
0
Hello Saman,
Regards,
Evgenia
the Telerik team
Here's how you can achieve this:
<
telerik:RadChart
ID
=
"RadChart1"
runat
=
"server"
>
<
PlotArea
>
<
XAxis
>
<
Appearance
>
<
TextAppearance
TextProperties-Font
=
"Lucida Calligraphy, 9pt"
>
</
TextAppearance
>
</
Appearance
>
</
XAxis
>
</
PlotArea
>
</
telerik:RadChart
>
Regards,
Evgenia
the Telerik team
RadControls for WinForms Q2'12 release is now live! Check out what's new or download a free trial >>
0
Saman
Top achievements
Rank 1
answered on 17 Jul 2012, 10:20 AM
Hello Evgenia
Thanks for your reply
First of all,i use C# winforms telerik component,not ASP.NET ...
and i have this code below :
but this code , only change the Xaxis Column font,i want to change each column in chart i have ...
Regards ...
Saman
Thanks for your reply
First of all,i use C# winforms telerik component,not ASP.NET ...
and i have this code below :
radchart1.PlotArea.XAxis.Appearance.TextAppearance.TextProperties.Font =
new
System.Drawing.Font(
"B Nazanin"
, 12);
but this code , only change the Xaxis Column font,i want to change each column in chart i have ...
Regards ...
Saman
0
Hi,
the Telerik team
From your last post I guess you want to change the Series Items Labels Font. Here's how this can be done:
RadChart1.Series[0].Appearance.TextAppearance.TextProperties.Font = new System.Drawing.Font("B Nazanin", 12);
Kind regards,
the Telerik team
RadControls for WinForms Q2'12 release is now live! Check out what's new or download a free trial >>
0
Saman
Top achievements
Rank 1
answered on 20 Jul 2012, 02:54 PM
Hi ,
Yes,i mean this,it worked thank you.
Regards.
Saman.
Yes,i mean this,it worked thank you.
Regards.
Saman.