Chart title

2 posts, 0 answers
  1. Hans
    Hans avatar
    49 posts
    Member since:
    Jul 2010

    Posted 28 Jul 2010 Link to this post

    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

  2. Hans
    Hans avatar
    49 posts
    Member since:
    Jul 2010

    Posted 28 Jul 2010 Link to this post

    Ok , I found out !
    I need to set SkinsOverrideStyles Property = True

    Thanks
  3. UI for WinForms is Visual Studio 2017 Ready
Back to Top