Invert linear axis in Visiblox chart

Can I invert LinearAxis in a Visiblox chart? For example, if the linear axis is used as the Y axis, and the minimum and maximum axis values ​​are 1 and 10, then I would like the axis to be inverted so that 1 is on the top of the axis and 10 is on the bottom.

+6
source share
1 answer

The next version, which should appear in the next month or two, will have the ReverseAxis property, which will allow using this function.

Alternatively, you can implement your own IAxis for this. You will need to implement new versions of various RenderPosition methods, such as GetDataValueAsRenderPositionWithoutZoom, to calculate the correct position of the "inverted" rendering.

Hope this helps.

+6
source

Source: https://habr.com/ru/post/893015/


All Articles