Query Related To Point Chart

Thread is closed for posting
2 posts, 0 answers
  1. Kapil
    Kapil avatar
    1 posts
    Member since:
    Mar 2013

    Posted 25 Mar 2013 Link to this post

    How do we apply more than two colors for Point chart background?
    We saw only two colors can be applied using MainColor and SecondColor in the Chart  Appearence Section .
    Our Requirement is to apply four diffrent  colors with gradiant background.
    Please let us know any work around it.
  2. Yavor
    Yavor avatar
    11 posts

    Posted 28 Mar 2013 Link to this post


    One possible option in your case would be to use marked zones. This is demonstrated in the code snippet below:

    void RadChart1_BeforeLayout(object sender, EventArgs e)
           ChartMarkedZone item = new ChartMarkedZone("zone1");
           item.ValueStartY = 2;
           item.ValueEndY = 4;

    I hope that this is a feasible option for you.

    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