More than two Y-axis

Oct 19, 2011 at 2:57 PM

Hello,

I am trying to add three y-Axis to a chart Model. But if I display the chart at least two axis are overlapping depending on the axis.Position.

Is there any possibility to relocate an axis?

Best regards

Benjamin

Coordinator
Oct 19, 2011 at 6:44 PM

hi Benjamin, see the "AxesDemo" in the WPF solution. I will add the demo to the ExampleLibrary shortly, then you can also see it in the Silverlight and Windows Forms project.

The "Position" property of the axes sets the position of the axis to left, right, top or bottom of the plot area.

The axes also have "StartPosition" and "EndPosition" properties - these fractions define where the axis starts and ends in the left/right/top/bottom axis areas. 

Oct 20, 2011 at 7:20 AM
Edited Oct 20, 2011 at 7:23 AM

Dear Objo, 

please see the example of the link below. I am looking for a possibility to display axis like this. At the bottom of the chart there are two axis below each other. If I render the same chart in OxyPlot, then the two axis are overlapping.

http://help.syncfusion.com/ug_93/User%20Interface/WPF/Chart/default.htm?turl=Documents%2F41158chartaxisorientation.htm

Coordinator
Oct 20, 2011 at 9:00 PM

Thanks for the link. I think it is a good idea! (but I am not sure if designers like this kind of look...)

I suggest a 'PositionOffset' property to be added to the Axis class - this will move the position of the axis vertically for a horizontal axis and v.v. It would also be great to have auto positioning of the axis - but this will require more passes in the measure/arrange algorithm.

I add the suggestion to the issue tracker. Also, feel free to create a patch on this feature!