简体   繁体   中英

Scrolling on a non-Primary Axis

I'm having some trouble with the X-axis when making a histogram with OxyPlot.

我拥有的

I've plotted everything correctly and the image is what I want/got. I've done this by hiding the category axis and place a linear one over it.

My issue now is that I can't get the data and the axis to move together when I pan or zoom. eg:发生什么了

I would be grateful for any ideas.

Thanks

Used the rectanglebarseries to draw the histogram. Although this requires the binwidths to be previously calculated.

The rectanglebarseries can be drawn on a linearaxis, so this will eliminate the current problem of the categoryaxis.

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