开发者

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 valu开发者_如何学JAVAes 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.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜