This is a migrated thread and some comments may be shown as answers.
Chart title
1 Answer 19 Views
This is a migrated thread and some comments may be shown as answers.
This question is locked. New answers and comments are not allowed.
Hans
Top achievements
Rank 1
Hans asked on 28 Jul 2010, 11:34 PM
I have a chart with skin = DeepRed

In my code I want to change some properties:

RadChart1.Skin =

"Blue"

 

 

RadChart1.Legend.Visible =

False

 

RadChart1.ChartTitle.TextBlock.Text =

"hohoho"

 

RadChart1.ChartTitle.Appearance.Position.AlignedPosition = Telerik.Charting.Styles.AlignedPositions.TopLeft

RadChart1.ChartTitle.TextBlock.Appearance.TextProperties.Font =

New Drawing.Font("Arial", 12)

 

RadChart1.DataSource = dt

RadChart1.Series(0).DataYColumn =

"nr"

 

RadChart1.PlotArea.XAxis.DataLabelsColumn =

"divisions"

 

RadChart1.ChartTitle.Appearance.Position.AlignedPosition = Telerik.Charting.Styles.AlignedPositions.TopLeft

RadChart1.DataBind()

But after I execute this , the colour is still DeepRed , not Blue

What Is wrong ?

Regards,
Hans

1 Answer, 1 is accepted

Sort by
0
Hans
Top achievements
Rank 1
answered on 28 Jul 2010, 11:38 PM
Ok , I found out !
I need to set SkinsOverrideStyles Property = True

Thanks
Asked by
Hans
Top achievements
Rank 1
Answers by
Hans
Top achievements
Rank 1
Share this question
or