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
4
votes
1 answer

Error: This PlotModel is already in use by some other PlotView control

I have two tabs that is bind to one viewmodel which contain a PlotModel of oxyplot and view model selected through a DataTemplate. When click on the first tab the viewmodel was bind properly but when switch to second tab above exception defined in…
Alireza
  • 128
  • 1
  • 12
4
votes
2 answers

How to change OxyPlot Y-Axis string format?

Can anyone tell me how to change the Y axis string format?? I have Y-Axis percentages that I want to add the percent sign to. I am using OxyPlot to produce the chart in wpf. Here is my attempt, but it is NOT working: Func formatFunc…
Hooplator15
  • 1,540
  • 7
  • 31
  • 58
4
votes
1 answer

How to add new points to OxyPlot?

This is the code that Oxyplot official page shows. namespace WpfApplication2 { using System.Collections.Generic; using OxyPlot; public class MainViewModel { public MainViewModel() { this.Title = "Example…
Zgrkpnr
  • 1,191
  • 4
  • 15
  • 32
4
votes
2 answers

Can't update OxyPlot graph after initialisation

I have a a OxyPlot chart definied in my XAML like this: In the viewModel I have the following: public…
Houman
  • 64,245
  • 87
  • 278
  • 460
4
votes
1 answer

OxyPlot : ColumnSeries/BarSeries display value of each column

In my WPF app, I use OxyPlot. I bind my data to the PlotModel and all is working well. I want to display the value of each column on the chart. Is it possible? For reference, this example of BarSeries on site, I wish to show actual value of Apples…
Tvd
  • 4,463
  • 18
  • 79
  • 125
3
votes
0 answers

How to render a vertical bar chart with Oxyplot

I'm using OxyPlot to render a bar chart with SkiaSharp. Currently, the bars are getting rendered horizontally, but i'd like them to be rendered vertically. I tried to swap the AxisPosition but this led to the following exception: OxyPlot exception:…
CiniMod
  • 43
  • 6
3
votes
1 answer

Hide axes while still being able to zoom and pan

I have those settings for a Plotmodel myModel = new PlotModel(); myModel.IsLegendVisible = false; myModel.Title = ""; plotView1.Model = myModel; myModel.Axes[0].AbsoluteMaximum = Gesamt; myModel.Axes[0].AbsoluteMinimum =…
Alex
  • 117
  • 11
3
votes
1 answer

Can I remove clipping from a oxyplot chart with multiple axes?

I have a chart with multiple y-axes created with the oxyplot library.When I zoom one y-axis out I noticed that the line gets clipped. Can I expand the clipping area to the size of the area of the whole chart. Charts with multiple axes that can use…
Robert
  • 924
  • 1
  • 9
  • 20
3
votes
0 answers

How to present WPF Oxyplot on new window

I've been playing around with trying to plot a boxplot using Oxyplot in WPF. I've managed to get a nice graph working in a completely new project, and am now attempting to show a similar graph in a new window of a project I'm currently working on…
Daniel Whettam
  • 345
  • 1
  • 2
  • 9
3
votes
1 answer

How to update plot using Oxyplot in Windows Form

I am working on a project where I read some serial data from a board, and try to show it on a graph plot. So far I have managed to implement the Oxyplot inside my application. But I am confused how to update the plot on each new data coming from…
user3759105
3
votes
2 answers

Xamarin.Forms: Oxyplot takes entire page

I have successfully generated a plot using oxyplot in Xamarin.Forms, but I cannot stop oxyplot taking the entire page. I am using stacklayout on other pages in a carousel, and have a banner as a embedded stacklayout on each and want to have the plot…
Brian.S
  • 131
  • 12
3
votes
1 answer

Affine transformations in Oxyplot

I would like to perform a simple affine transformation to a LineSeries Unfortunately I cannot simply do this: foreach (var point in myLineSeries.Points) { point.X = point.X * Math.Cos(angle_rad) + point.Y ... point.Y = ... } ...as the…
harveyAJ
  • 833
  • 1
  • 11
  • 26
3
votes
1 answer

Need margin for LinearAxis by OxyPlot

I use C#, wpf, OxyPolt. I need margin for label "Title name, m". xmlns:oxy="http://oxyplot.org/wpf"
Olga
  • 1,395
  • 2
  • 25
  • 34
3
votes
1 answer

OxyPlot WPF Muliple LinearBarSeries with same X-Axis Values

I currently have the need to be able to display multiple bars that may have the same X-Axis value. I used the WPF LinearBarSeries example in the source code. The issue I am having is if the series with the smaller Y value is selected first, the…
jdskty
  • 91
  • 2
  • 6
3
votes
1 answer

Center Axes in oxyplot

I want to draw a chart like image below with oxyplot, the problem is i don't know how to draw axis (with values) at value 50. Code : var model = new PlotModel { Title = "EllipseAnnotations" }; model.Axes.Add( new LinearAxis { …
behrooz
  • 617
  • 9
  • 30