Chart X Axis at Y=0 (Zero Based)

2 posts, 0 answers
  1. Zubair
    Zubair avatar
    13 posts
    Member since:
    Nov 2011

    Posted 11 Apr 2012 Link to this post


    1.png is an illustration of what i have achieved.
    I want the X-axis to move to Y=0 everytime.
    Basically i just want the MajorGridVisibile at Y=0 everytime. i.e. A prominent black line like the X Axis to clearly demarcate it from the rest of the MajorGridLines
    Please check 2.png for illustration on the type of functionality required.

    Thanks in advance.
  2. Evgenia
    Evgenia avatar
    1396 posts

    Posted 15 Apr 2012 Link to this post

    Hi Zubair,

    Our API doesn't allow that you customize the Gridlines separately from one another. What I can suggest is that you use MarkedZone to achieve your scenario. What you'll need to do is to position the zone on the place where your 0 MajorGridLine is and set the ValueStartY and ValueEndY properties equal so that the Marked Zone appears as horizontal line. Use the border to specify the line color and style. You may refer to this forum post where a similar topic has been discussed.

    All the best,
    the Telerik team

    Explore the entire Telerik portfolio by downloading the Ultimate Collection trial package. Get it now >>

  3. DevCraft R3 2016 release webinar banner
Back to Top