ChartMarkedZone

Thread is closed for posting
3 posts, 1 answers
  1. John
    John avatar
    18 posts
    Member since:
    Oct 2010

    Posted 12 Apr 2011 Link to this post


    I am using a vertical bar chart and want to be able to set the value of the start and end value of ChartMarkedZone, is that posible in the code behind?

    I am using version: Telerik WebUI VSExtensions   2011.01.315.0

    Thanks
  2. Answer
    Tsvetie
    Admin
    Tsvetie avatar
    1517 posts

    Posted 18 Apr 2011 Link to this post

    Hi John,
    You should not have problems specifying the chart marked zones in code behind. For example:
    ChartMarkedZone greenZone = new ChartMarkedZone();
    greenZone.ValueStartY = 0;
    greenZone.ValueEndY = 3;
    greenZone.Appearance.FillStyle.MainColor = System.Drawing.Color.Green;
     
    RadChart2.PlotArea.MarkedZones.Add(greenZone);

    For additional information on marked zones, please refer to the following resources:

    Greetings,
    Tsvetie
    the Telerik team

    Browse the vast support resources we have to jump start your development with RadControls for ASP.NET AJAX. See how to integrate our AJAX controls seamlessly in SharePoint 2007/2010 visiting our common SharePoint portal.

  3. John
    John avatar
    18 posts
    Member since:
    Oct 2010

    Posted 19 Apr 2011 Link to this post

    thanks
Back to Top