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

Is it possible to reverse the axis of an AreaChart

3 Answers 106 Views
Chart
This is a migrated thread and some comments may be shown as answers.
This question is locked. New answers and comments are not allowed.
Adam12
Top achievements
Rank 1
Adam12 asked on 21 Jul 2011, 12:01 AM
Is there any way to invert the vertical access of the area chart so that origin is in the top left rather than bottom left.  In other rather than starting from 0 in the bottom left and going up the Y axis as the number gets bigger start with 0 in the top left and go down as the number gets bigger.

See the attached image for better idea of what I mean.

Thanks

3 Answers, 1 is accepted

Sort by
0
Georgi
Telerik team
answered on 21 Jul 2011, 11:49 AM
Hi Adam,

Thank you for contacting us and for your interesting question.

Currently this is not supported in our charts but the feature is actually in our TODO list. Could you please share what would you actually expect by specifying something like:

this.radCartesianChart1.VerticalAxis.IsInversed = true;

Because in this case the plot origin is changed and it would be more natural to swap the position of the HorizontalAxis (dock it at top) so that the plotted data (including the area shape) is aligned from Top to bottom rather than Bottom to Top. Or should this setting control only the plot information provided by the axis?

I am looking forward to your reply.

Greetings,
Georgi
the Telerik team

Register for the Q2 2011 What's New Webinar Week. Mark your calendar for the week starting July 18th and book your seat for a walk through of all the exciting stuff we will ship with the new release!

0
Adam12
Top achievements
Rank 1
answered on 21 Jul 2011, 12:25 PM
I can't speak for anyone else but for our requirement we would still like the horizontal axis and the shaded area at the bottom.  

The scenario is we are showing a leaderboard over time.  So the scenario where a smaller number is better.  As a person gets closer to the top of the board they are moving up, even though the actual number that is their position is getting smaller.  The area shape on the bottom represents their progress so far (i.e. how far the have come, rather than how far they are from the top) and so you'd expect it to be be beneath the plotted data.

It seems to me that having the horizontal axis at the top or bottom is more to do with whether the numbers are positive or negative than whether the axis is inverted.  Certainly in our scenario, anyway.

Thanks for responding so quickly.
0
Deyan
Telerik team
answered on 27 Jul 2011, 12:48 PM
Hello Adam,

Thanks for writing back and sorry for the delay with our answer.

We will consider your feedback and will make sure to provide possibilities to adjust the behavior of the horizontal axis in a way that covers your requirements.

Do not hesitate to get back to us in case you have further questions or need assistance.

Best wishes,
Deyan
the Telerik team

Register for the Q2 2011 What's New Webinar Week. Mark your calendar for the week starting July 18th and book your seat for a walk through of all the exciting stuff we will ship with the new release!

Tags
Chart
Asked by
Adam12
Top achievements
Rank 1
Answers by
Georgi
Telerik team
Adam12
Top achievements
Rank 1
Deyan
Telerik team
Share this question
or