PlotView has always fixed width

Oystein Bjorke 5 year бұрын • updated by Samuel Guedon 4 year бұрын 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
CodePlex
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?