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

Change Color and Font of ChartView Title

1 Answer 347 Views
ChartView
This is a migrated thread and some comments may be shown as answers.
Laura
Top achievements
Rank 1
Laura asked on 28 May 2015, 04:39 PM

How do I change the Font and Color of the text of a ChartView's title?

 

Laura

1 Answer, 1 is accepted

Sort by
0
Stefan
Telerik team
answered on 29 May 2015, 05:28 AM
Hi Laura,

Here you are:
radChartView1.ShowTitle = true;
radChartView1.Title = "test";
radChartView1.ChartElement.TitleElement.Font = new Font("Arial",22);
radChartView1.ChartElement.TitleElement.ForeColor = Color.Red;

I hope that you find this information useful. Should you have any other questions, do not hesitate to contact us.

Regards,
Stefan
Telerik
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 Feedback Portal and vote to affect the priority of the items
Tags
ChartView
Asked by
Laura
Top achievements
Rank 1
Answers by
Stefan
Telerik team
Share this question
or