Invert linear axis in Visiblox chart
Asked Answered
D

1

6

Is it possible to invert a LinearAxis in a Visiblox chart? For example, if a linear axis is being used as the Y axis and the minimum and maximum axis values are 1 and 10, then I would want the axis to be flipped so that 1 is at the top of the axis and 10 is at the bottom.

Daddylonglegs answered 18/7, 2011 at 21:24 Comment(0)
B
6

The next version, due out in the next month or two, will have a ReverseAxis property that will allow this functionality.

Alternatively, it is possible to implement your own IAxis to do this. You would need to implement new versions of the various RenderPosition methods, such as GetDataValueAsRenderPositionWithoutZoom, to calculate the correct 'inverted' render position.

Hope this helps.

Buitenzorg answered 19/7, 2011 at 7:35 Comment(1)

© 2022 - 2024 — McMap. All rights reserved.