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

Change Skin at Run Time

1 Answer 122 Views
Chart (obsolete as of Q1 2013)
This is a migrated thread and some comments may be shown as answers.
This question is locked. New answers and comments are not allowed.
Gary Robson
Top achievements
Rank 1
Gary Robson asked on 13 Aug 2009, 12:17 PM
I get one thing sorted then hit another problem, I'm sure someone will now this.

I want to allow the user to choose the SKIN from a combo box and refresh the chart to display the new colour scheme.
I thought it would be an easy bit of code like:

RadChart1.Chart.Skin = "Black"
RadChart1.UpdateGraphics()

Thanks in advance Guru's,

Gary

1 Answer, 1 is accepted

Sort by
0
Robert
Top achievements
Rank 1
answered on 13 Aug 2009, 08:52 PM
Gary,

You actually almost have it. You need to do it directly on the RadChart rather than its Chart property.

radChart1.Skin = "Black";

- Robert


Tags
Chart (obsolete as of Q1 2013)
Asked by
Gary Robson
Top achievements
Rank 1
Answers by
Robert
Top achievements
Rank 1
Share this question
or