简体   繁体   中英

Invert linear axis in Visiblox chart

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.

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.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM