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 MouseEvents how to access PlotModel

The mouse events return the PlotController instead of the plotView or plotModel. My question is how to access the plotModel from within the mouse event? Could someone tell me the idea behind this change from providing the plotmodel as source to now…
user2799180
  • 719
  • 1
  • 11
  • 29
0
votes
1 answer

Is it possible to export 2 OxyPlot PlotModels in one .png file?

Currently I am able to export one PlotModel as a .png at a time, using: public void CreatePNG(PlotModel plotModel, string fileName, Stream stream) { var pngExporter = new PngExporter { Width = 600, Height = 400, Background = OxyColors.White }; …
Georgiana M
  • 323
  • 4
  • 20
0
votes
1 answer

Why does OxyPlot.PngExporter.Export not export a .png file

I try to export an Oxyplot PlotModel to .png I tried like so: Stream stream = File.Create(path); var pngExporter = new PngExporter { Width = 600, Height = 400, Background = OxyColors.White }; PngExporter.Export(this.PlotModel, stream, 800,…
Georgiana M
  • 323
  • 4
  • 20
0
votes
0 answers

Oxyplot Plotview resize window for good radial plot

I don't know how to describe my problem so I try to show you: These ellipses are actually circles. When I resize the window I can get that: Like you see, now I have a circles, but sometimes despite the window resize, I can't get it. If anybody…
mar14
  • 85
  • 1
  • 8
0
votes
1 answer

Display multiple lines of text in Oxyplot TextAnnotation

I'm working on an Android app utilizing xamarin and the oxyplot library. I ran into a problem where I cannot add multiple lines of text in TextAnnotation. I tried the following options: var sb = new StringBuilder(); sb.Append("Line1"); …
0
votes
0 answers

Annotations on a realtime LineSerie graph

I'm using Oxyplot to plot a realtime Line graph (X axis is DateTimeAxis and Y axis is LineAxis) with several lines. All works well. Now, I want to show on screen the Minimum and Maximum of each LineSerie in the graph. Firstly, I thought this would…
lucas.mdo
  • 339
  • 7
  • 27
0
votes
1 answer

How to focus on a curve in Oxyplot?

So I have a plot with curves of multiple different scales - some small, some large. A user focuses and zooms into one. Now he wants to focus on other curve. We have a reference to the curve and PlotModel it is placed in. So I wonder does OxyPlot…
DuckQueen
  • 772
  • 10
  • 62
  • 134
0
votes
0 answers

Rotate OxyPlot 90 Degrees in iOS View

I've tried everything I can find suggested elsewhere and I've also tried every permutation of the code you can see below and I just cannot crack this. The plot itself is working great there isn't an issue there. I have a certain screen in my…
Jammer
  • 9,969
  • 11
  • 68
  • 115
0
votes
1 answer

Using oxyplot to plot graphs on form (vb.net)

I need to draw some graphs for a project I am working on and at the moment am trying to use the oxyplot library to draw a graph on the windows form. The code I have written at the moment is: Dim Graph As OxyPlot.PlotModel = New OxyPlot.PlotModel …
0
votes
0 answers

OxyPlot Update Chart

Issue I have used a third party plugin called 'OxyPlot' for my WPF application. This plugin lets you plot points on different types of graphs. On my graph I am displaying 'Bandwidth' of my computer for every second of when I click a certain button.…
Ben Clarke
  • 1,051
  • 4
  • 21
  • 47
0
votes
1 answer

Can Oxyplot be used in a Unit Test Library (C#)

I am creating a C# library without a User Interface, and as part of a unit test library, I would like to save these images of the graphs from the data produced in the Unit Tests. At the moment I writing the results to an excel file and producing…
Jamie Mair
  • 306
  • 3
  • 12
0
votes
1 answer

Get Series From PlotModel

I am adding points to series asynchronously and that's why i am loosing standard oxyplot zooming. I want to restore it in function ZoomFunction() but how can i get Maximum and Minimum Y values from PlotModel.Series for…
A191919
  • 3,422
  • 7
  • 49
  • 93
0
votes
1 answer

Missing Assembly - using OxyPlot in WPF

I'm working with OxyPlot in WPF. Trying to name my plotview I get compiler-error: Compiler Error Message: CS0234: The type or namespace name 'Wpf' does not exist in the namespace 'NameOfProject' (are you missing an assembly reference?) my…
a.w.
  • 261
  • 2
  • 16
0
votes
1 answer

Unit testing, OxyPlot data point comparation

I want to compare a data point received from a postgres database with the data pointer that i have send to the database. [TestMethod] public void MeasurementWriteReadDelete() { Measurement core = new Measurement(); …
0
votes
1 answer

Remove item from ColumnSeries

Using Oxyplot, how would I remove an item from a given ColumnSeries? Given the code which is the example provided in the library itself (with a small modification), as well as a Delete event of some sort (which I could figure out myself) how would I…
lucas.mdo
  • 339
  • 7
  • 27