This is the discussion forum for OxyPlot.
For bugs and new features, use the issue tracker located at GitHub.
Also try the chat room!
+1

Real-time plotting and scrolling

mike 9 years ago updated 9 years ago 0
Hello, 

I'm trying to do something pretty basic for few days without much of success.

I'm getting data at rate 100 Hz - every 5 seconds I want to scroll the graph and discard the 500 old points. In other words, I want to show only 5 seconds worth of data at any given point and scroll the graph. I tried several methods, increasing only the maximum and minimum of the x Axis, using translate/pan with X axis offset as shown somewhere here in the forum.
Everything pretty much failed - it looks like it works for few seconds and then the scrolling is lagging behind the plotting for some reason. This kind of scenario should be super simple...  any help will be appreciated.

Thanks,
Mike
+1

How to implement vertical and horizontal scrollbar and avoid auto shrink

Joe John 9 years ago 0
Thanks for such a nice tool. Really amazing.

I am trying to implement a wide Chart using the Oxyplot in silverlight. I am stuck on couple of items. Could anyone help me here.

1) How can I implement horizontal and vertical scrollbars in Oxyplot chart in silverlight? Objo suggest to follow the overlay sample. But a bit more information about that will be more helpful.

2) How to disable auto shrinking up of items when there are lot of items in the linear axis, butstill the zooming should works. The vertical scrollbar should help to see items below.

+1

Can't build in Visual Studio 2015

Asad Ateeque 9 years ago updated by David Sacharny 9 years ago 1
Hi
I can't build the sln in VS2015 on windows 7. Are there any specific dependencies?

+1
Under review

Polar plot point interpolation

bsguedes 10 years ago updated 10 years ago 5
Hi,

I'm trying to translate a XY chart into a polar plot. I have a collection of points in a given time that are represented on the XY chart (chart 1) with time on the X axis and the angle (in function of time) on the Y axis.

When I try to plot the equivalent polar chart, I expect to have the time on the radius and the angle on the angle axis. However, Oxyplot connects the points using a direct line between each two subsequent points, like the attachment image I've uploaded (on the 'wrong' label, chart 4). 

I would expect that this interpolation would create an arc between each pair of points (char 3): this way, we don't go 'back in time' (you can notice this behaviour on the orange section of one of those lines that I marked on the attachment image... the interpolation that oxyplot does implies that on a XY chart we would have something like the chart number 3... notice that we go backwards in that interpolation too).

Is there a way to consider this kind of interpolation on the polar chart (chart number 2)?


+1
Under review

How can I get Y axis value for a LineSeries based on a given X axis value?

henrik nordgren 9 years ago updated by Oystein Bjorke 9 years ago 1
Hi!

We have a simple graph with two axis and a LineSeries of datapoints (about 30 points). How can I get the Interpolated Y value when given an actual X value (which I got from InverseTransform based on mouse coordinates)? I can't find a good method for doing that. Or can I somehow define a tracker for that curve and provide that with an X coordinate? Our only alternative is to skip using oxyplot for this and dig the source data manually, and use some interpolation algorithm on that. But it would sure be nice to get oxyplot to do the work since it has already plotted the graph. C# and Code behind is fine!
0

Limit zoom to axis only

M B 1 year ago 0

Hi.

Is there a way to limit zooming/panning in the vertical direction to the axes area only? When the user pans or zooms with the mouse's wheel, only the horizontal axes should zoom/pan, but yet, users should be able to pan/zoom from the vertical axes

0

(Why) Has Oxyplot development stopped

oxyplot 1 year ago 0

As far as I can tell OxyPlot development has stopped.

I've been using it a lot for 3+ year and love it - I can't understand why its not more popular and thus in active development/support.

0

PlotView does not change height with property change

Trang 2 years ago 0

Hello,
I have a PlotView that has the height binds to the property ModelHeight in the view model. The problem is that it does not update after the property change. It only updates when starting up the plotview (the plot view is rendered for the first time) I try PlotModel.InvalidatePlot but it does not work. Seems like the height is fix. 
Does anyone know how to fix this issue?

0

PlotView callbacks

Mike R. 2 years ago 0

If a PlotView is converted to an image, how can I tell where in the image pixel rows particular grid lines are? Want to line up multiple views vertically. Thanks.