Page 1 of 1
Rotate the axis in 2D
Posted: Thu Sep 20, 2007 7:56 am
by 6926780
Hello,
I am using TeeChart Pro.Net3 and I try to find out how I can rotate the axis in 2D. It is possible to roate the chart around the y-axis (left axis). But I do not find any possibility to rotate the whole coordinate plane. So it should be possible that after rotation the x-axis is on the left side and the y-axis is on the top of the chart.
Is there any solution for that problem?
Thanks in advance
Marco
Posted: Thu Sep 20, 2007 9:17 am
by narcis
Hi Marco,
I'm afraid this is not possible for now. However, if you give us some more details about what you are trying to achieve, we may be able to suggest some alternatives.
Thanks in advance.
Posted: Thu Sep 20, 2007 11:43 am
by 6926780
Hello Narcis,
thank you for your answer!
We have to draw a dynamic view of values in realtime (so that you can see the actually value). Sometimes the values arrive from the left side (y-axis) or from the top. But our users want to have the entry always from the bottom equals the orginal values. So we have to rotate the whole coordinate plane in any angle they want.
I fear I have to draw it directly in the windows form without using the TChart...
If you have any hints, it would be great.
Thanks in advance
Regards
Marco
Posted: Thu Sep 20, 2007 11:49 am
by narcis
Hi Marco,
I'm still not 100% sure on what are you trying to achieve exactly. However, if you want to see data populated
from the left you could set series order to descending instead of ascending (default value):
Code: Select all
tChart1[0].XValues.Order = Steema.TeeChart.Styles.ValueListOrder.Descending;
Please notice that
Order is available for all series
ValueLists. You should set
Order property before populating series.
If you want series going from bottom to top or vice versa you can use horizontal series like
HorizLine or
HorizBar and combine them with
ValueLists ordering as commented above.
If this doesn't help don't hesitate to let us know.
Posted: Fri Sep 21, 2007 4:36 am
by 6926780
Hello Narcis,
thank you for your help.
In the meantime I found a solution for my problem: I have to transform (rotate) the values before addig them to the TChart series. So the values will always enter from the bottoms side.
Thank you very much
Regards
Marco
Posted: Fri Sep 21, 2007 7:54 am
by narcis
Hi Marco,
You're welcome! I'm glad to hear you found a solution to the issue.