Change Skin at Run Time

2 posts, 0 answers
  1. Gary Robson
    Gary Robson avatar
    14 posts
    Member since:
    Mar 2009

    Posted 13 Aug 2009 Link to this post

    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

  2. Robert
    Robert avatar
    82 posts
    Member since:
    Jun 2009

    Posted 13 Aug 2009 Link to this post

    Gary,

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

    radChart1.Skin = "Black";

    - Robert


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