RagedMilkMan
RagedMilkMan

Reputation: 425

Scrolling on a non-Primary Axis

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

Upvotes: 0

Views: 575

Answers (1)

Raunts
Raunts

Reputation: 76

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.

Upvotes: 1

Related Questions