Custom grid line?

Thread is closed for posting
2 posts, 1 answers
  1. Martin
    Martin avatar
    4 posts
    Member since:
    Jun 2012

    Posted 25 Oct 2012 Link to this post

    I need to draw a custom grid line (to mark a border value) in my grid. Is this possible with the ASP.NET AJAX version of the Chart control? I want to do something like this:

    I would like my chart to look something like the attached image.

    Im using version 2011.3.1115.35.

  2. Answer
    Petar Kirov
    Petar Kirov avatar
    425 posts

    Posted 26 Oct 2012 Link to this post

    Hi Martin,

    Although the ASP RadChart does not provide a direct analogue of the custom grid line from the SL/WPF RadChart, you can achieve a similar effect using marked zones. Here is an example:

        new ChartMarkedZone { ValueStartY = 10, ValueEndY = 11 } );

    PlotArea MarkedZones are ranges that can be labeled and filled to highlight areas of the chart or to visually group data. The MarkedZones property is displayed by default behind the chart series. You can create any number of members for the MarkedZones collection and each marked zone is defined by a starting and ending X and Y value pairs. You can also control the labeling and appearance for each zone independently. 

    Petar Kirov
    the Telerik team
    If you want to get updates on new releases, tips and tricks and sneak peeks at our product labs directly from the developers working on the RadControls for ASP.NET AJAX, subscribe to their blog feed now.
Back to Top