These are chat archives for oxyplot/oxyplot

3rd
Jan 2017
Achmad Jeihan Pahlevi
@achmadjp
Jan 03 2017 04:01
Hi all,
anyone here know how to set scale for LinearAxis? I'm ploting an image using image annotation and I want to scale the Left axis so the image stretch.
is it possible to do that?
notscale.PNG
scaled.PNG
example from an app
Herman Eldering
@HermanEldering
Jan 03 2017 18:21
@prasadkadam @AkashSaxenaPM Are you calling InvalidatePlot?
Herman Eldering
@HermanEldering
Jan 03 2017 18:35
Must InvalidatePlot be called from the UI thread? I'm experiencing a memory leak through OxyPlot with multithreaded code.
Herman Eldering
@HermanEldering
Jan 03 2017 18:55
By hacking a PlotView.InvalidatePlot into a DispatcherTimer I've confirmed the memory leak to be caused by the PlotModel.InvalidatePlot. My data related code is not aware of the UI (and its threads) so I need to do some redesign. If PlotModel.InvalidatePlot should be callable from non-UI threads let me know and I'll try to make an example and file a bug.