This is a migrated thread and some comments may be shown as answers.

Chart X Axis at Y=0 (Zero Based)

1 Answer 33 Views
Chart
This is a migrated thread and some comments may be shown as answers.
Zubair
Top achievements
Rank 1
Zubair asked on 11 Apr 2012, 11:27 AM
Hi,

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.

1 Answer, 1 is accepted

Sort by
0
Evgenia
Telerik team
answered on 15 Apr 2012, 09:31 AM
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,
Evgenia
the Telerik team

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

Tags
Chart
Asked by
Zubair
Top achievements
Rank 1
Answers by
Evgenia
Telerik team
Share this question
or