PlotView has always fixed width

Oystein Bjorke 10 years ago updated by Samuel Guedon 9 years ago 2
This discussion was imported from CodePlex

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

Hello
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?

Thanks
I have the same problem. Is there any solution?
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?