Stylize only a line of the MajorGridLines

2 posts, 0 answers
  1. Luigui Olaya
    Luigui Olaya avatar
    1 posts
    Member since:
    May 2010

    Posted 20 May 2010 Link to this post

    Hello to all,
    I am working with a RadChart and want to paint only one of the MajorGridLines, but I do not find the way, on having used the following code it paints all to me and I do not wish it:

    • RadChart.PlotArea.YAxis.Appearance.MajorGridLines.Color = System.Drawing.Color.Red;

    Please help me

  2. Ves
    Ves avatar
    2870 posts

    Posted 25 May 2010 Link to this post

    Hi Luigui,

    RadChart does not support customizing a single gridline. However, you can check the Marked Zones in RadChart. By using the same value for ValueStartX and ValueEndX you will get a vertical line, whose appearance is defined by the settings for the marked zone border. Hope this helps.

    the Telerik team

    Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items.
Back to Top