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

[Solved] Center align the x axis (verticalLocation)

2 Answers 79 Views
Chart for XAML
This is a migrated thread and some comments may be shown as answers.
This question is locked. New answers and comments are not allowed.
Prasanna
Top achievements
Rank 1
Prasanna asked on 07 May 2013, 04:22 PM
I am using the linear axis in the LinearSeries chart. I want to be able to center align the X-axis (at zero value) as I have data both negative and positive. I do understand that if there are negative data the x-axis starts at the least y values.
The alignment for X-axis in this regard seems to have just two options VerticalLocation.Top / Bottom.
Is there anyway I can center align x-axis, even if it means using some other grid?

Thanks

2 Answers, 1 is accepted

Sort by
0
Ivaylo Gergov
Telerik team
answered on 09 May 2013, 07:45 AM
Hello Prasanna,

Thank you for contacting us.

At this point drawing an axis within the plot area is not supported by our RadChart. I would suggest you to log this idea as a feature request in our Ideas and Feedback portal, where other customers can also vote for it (the higher the demand, the higher the priority).

For the time being you can draw custom horizontal CartesianGridLineAnnotation element at the designated zero position to achieve similar visual result (note that it will render only the line and not ticks or labels).

Let me know if I can assist you in some other way.

 

Regards,
Ivaylo Gergov
the Telerik team
Have a suggestion or face a problem - you can use the Ideas & Feedback portal to submit ideas, feedback and vote for them.
0
Prasanna
Top achievements
Rank 1
answered on 09 May 2013, 09:38 AM
Thanks Ivaylo, this works for now as I don't have ticks or label. Will add feature request.
Tags
Chart for XAML
Asked by
Prasanna
Top achievements
Rank 1
Answers by
Ivaylo Gergov
Telerik team
Prasanna
Top achievements
Rank 1
Share this question
or