How to add a css style on a RadChart

Thread is closed for posting
2 posts, 0 answers
  1. Herman Gouw
    Herman Gouw avatar
    100 posts
    Member since:
    Aug 2012

    Posted 08 Jul 2011 Link to this post

    On the web pages of my current projects I have a RadChart.

    I need to give the following css styles for the RadChart to be displayed correctly:

    I notice that unlike in RadGrid, RadChart does not have the property CssClass.

    Can you please tell me how to add these css styles to a RadChart?
    Thanks for your help.

  2. Bartholomeo Rocca
    Bartholomeo Rocca avatar
    247 posts
    Member since:
    May 2006

    Posted 13 Jul 2011 Link to this post

    Hello Herman,

    RadChart is a server-side ASP.NET control that renders a static image on the client and it cannot be customized through CSS style selectors -- you will need to use the public control API instead (e.g. RadChart.PlotArea.Appearance.Dimensions.Margins).

Back to Top