Scrolling on a non-Primary Axis

577 views Asked by At

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

What I have

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. e.g: What happens

I would be grateful for any ideas.

Thanks

1

There are 1 answers

1
Raunts On BEST ANSWER

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.