Skip to content
Discussion options

You must be logged in to vote

That looks like expected behaviour to me (OxyPlot is designed to maximise use of space without clipping anything and doesn't cope well with artificial constraints: this can lead to weird and annoying behaviours if the data change). Looks like you have pan and zoom disabled?

In your situation, I would manually set the PlotMarkgins explicitly and reduce the IntervalLength (screen space dimensions) to ensure there is always a label on screen (or use the new MinimumMajorIntervalCount); this will however, lead to cropped and so potentially misleading labels on the right-hand edge if a generous enough margin is no chosen.

plotModel.PlotMargins = new OxyThickness(double.NaN, double.NaN, 50, doub…

Replies: 1 comment 2 replies

Comment options

You must be logged in to vote
2 replies
@parangpo
Comment options

@VisualMelon
Comment options

Answer selected by parangpo
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants