PlotView has always fixed width

Oystein Bjorke 6 років тому оновлено Samuel Guedon 5 років тому 2
This discussion was imported from CodePlex

schwaiger wrote at 2014-08-04 10:24:

and thanks for your awesome library.

I am using OxyPlot with WPF. When putting the PlotView in a ScrollViewer and fill the model with realtime data, the width of the control does not change.

I would like to achive that the PlotView.Width grows with every added DataPoint.

Is this possible?

Not sure if it can work, but did you try to set the width in the xaml and bind it to a parameter from your code behind that you would increment when you add data?