Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Invert linear axis in Visiblox chart

Tags:

c#

wpf

visiblox

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.

like image 262
Abiel Avatar asked Jul 18 '11 21:07

Abiel


1 Answers

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.

like image 177
awelsh Avatar answered Oct 23 '22 05:10

awelsh