Questions tagged [oxyplot]

OxyPlot is an open source, cross-platform .NET plotting library.

OxyPlot is an open source, cross-platform .NET plotting library.

This library was created with the following objectives:

  • should have a 'scientific report' like look
  • should handle large data series
  • should have zoom/pan controls
  • should be possible to export plots to png, pdf and svg

http://oxyplot.org/

552 questions
0
votes
1 answer

OxyPlot: How to calculate in TrackerFormatString?

I try to create a line series where not only x- and y-values shall be displayed in the tracker, but one more property: var series = new LineSeries {TrackerFormatString = "X:{2}\nY:{4}\nZ:{2*(1-4)}"}; series.Points.AddRange(...); I want another…
Anno
  • 761
  • 1
  • 10
  • 22
0
votes
1 answer

OxyPlot - WPF PlotView does not update property

I have a PlotView that has the height binds to the property ModelHeight in the view model. MainWindow.xaml
Trang Vo
  • 3
  • 1
0
votes
1 answer

Oxyplot (wpf) get rid of empty space to the right of PlotView

I'm using OxyPlot for WPF and the PlotView adds a space to the right of it instead of filling up the entire area as you can see in this picture: I added the black box to show to where the PlotView should extend to. But in the designer the PlotView…
morknox
  • 87
  • 8
0
votes
1 answer

Disable Oxyplot Mouse Scrolling (Zooming)

I see there are several older posts referencing axis.IsZoomEnabled = false as the way to disable zooming with Ozyplot, but that doesn't seem to work. I have also tried creating a PlotController and unbinding the mouse wheel, but this is also not…
0
votes
0 answers

OxyPlot. The element cannot be added, it already belongs to a PlotModel

Hi i am using oxyplot in my wpf application. When I try to add a lineseries object to plotmodel - I get an error System.InvalidOperationException: "The element cannot be added, it already belongs to a PlotModel." Here is my code public…
Alexey
  • 1
  • 1
0
votes
1 answer

Create plot and save it in .NET Core console app, without view

There was a need to draw a beautiful chart from the data on the backend and send it as file\stream. The view is not needed, there is nowhere to display it on the backend. Suddenly I was faced with the fact that as if there were no libraries for…
Potion
  • 137
  • 1
  • 5
0
votes
0 answers

about xyplot-wpf y axis alignment

I do a project to show multi signal waves vertically arrangement。when the signal type is different(bool vs unsigned short)(means max value different)。the two signals y axis cant be aligned in x direction(because the max y value string occupy…
0
votes
2 answers

Data binding fails when window constructor takes string as parameter (OxyPlot, WPF)

I need to open a new window while passing a string into its constructor, and this seems to preclude some important data binding in the new window. My MainWindow consists of a TextBox where the user puts in some text and then clicks a button, opening…
srshuken
  • 1
  • 3
0
votes
1 answer

Create object with special property if it does not exist yet

I have an OxyPlot with an X and a Y axis where I want to change the maximum values several times. To change them, I have to create the axes first. Is there a nicer way to edit for example the X-axis (AxisPosition.Bottom) if it exists and if not to…
SideSky
  • 313
  • 3
  • 15
0
votes
1 answer

Retrieve interval of data currently shown

I'm using OxyPlot to show a data chart and to allow the user to select an interval of data he wants to do calculation on. It looks like this: Now, I would like the user to be able to set the data interval used for calculation himself by resizing…
0
votes
1 answer

Impose a display scale on oxyplot in Winforms c#

Anyone have any ideas... I need to impose an external vertical display scale on an oxyplot being shown in a Panel. For example, if the oxyplot vertical scale shows 2000 to 10000, I would like to size the Panel height so that in effect the oxyplot is…
0
votes
0 answers

I want to use OxyPlot to implement a custom X-axis tag,just like this.The X-axis shows only the value of the data point.Is this possible in oxyPlot?

How can I customize X axis labels like this? This is my code: private static string _formatter(double d) { if (d == 1000) { return String.Format("{0}", d); } else if (d == 2000) { return String.Format("{0}-{1}",…
hhhatehu
  • 1
  • 1
0
votes
1 answer

Oxyplot application - Cannot find referencing error in xaml file

Am new to oxyplot and wish to use it with C# WPF with xaml. My .xaml file has the following code:
Veritas
  • 3
  • 4
0
votes
1 answer

I'm having trouble getting Oxyplot Heatmap to work in my WPF project. Any ideas what I'm doing wrong?

I'm simply trying to plot a Heatmap series using a 2D array of data stored in Cpdata. I've left out the parts not useful to the question. I'm new to wpf and oxyplot and imagine I'm simply making a mistake with bindings somewhere. The xaml code is…
Rushy288
  • 5
  • 1
0
votes
1 answer

How can I evaluate the x-axis value, knowing the position of the mouse, in the model?

I'm using the MVVM pattern, I have the mouse position on my Plot in my model through the attachment to a mouse behaviour. I am using a DateTimeAxis for the x-axis, I would like to get the x-axis value from my x-position, but I don't know how to…