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

Xamarin.Forms: Several Oxyplots on a single ScrollView

I am trying to figure this out for about 3 days now. TL;DR: How can I put several OxyPlots (of different kinds) in a scrollable ScrollPage (on a ContentPage)? Can someone explain me in which relationship which element in XAML and the CS Codebase is?…
Vandrey
  • 531
  • 1
  • 8
  • 23
0
votes
1 answer

Oxyplot blurry in ViewBox

We're using Oxyplot in our application. Our application allows to zoom the displayed content. This is done using a WPF Viewbox. We use an internal resolution (for example, 300 x 200 pixels internally) and let the Viewbox zoom that up to the actual…
knurd nerd
  • 304
  • 2
  • 15
0
votes
1 answer

How to draw a vertical bar chart in oxyplot (latest source code version)?

This produces a horizontal bar chart. How do I get a vertical bar chart? Important I am using the latest soure code version, i.e. I checked out the latest source code from https://github.com/oxyplot/oxyplot and built oxyplot myself (the ColumnSeries…
soyel9465
  • 16
  • 3
0
votes
2 answers

Is there a way to plot OXYplot graph in custom area in WPF window?

I want to put several graphs in one WPF window using OXYplot library, so there will be some WPF components (like buttons) and some rectangles with graphs. It there a way to do it? In all examples the OXYplot graph occupies the whole WPF window. I…
Perotto
  • 194
  • 1
  • 14
0
votes
1 answer

How do you bind a specific Color of a specific column within an OxyPlot LinearBarSeries in XAML in a c# WPF project?

Any help here is appreciated: I would like to associate through binding in XAML (or some other method as long as it works) a specific bar column color to data in my bar series. Ultimately, I would like to have one color per column item. I suspect…
MrEman
  • 21
  • 4
0
votes
2 answers

Oxyplot - LineAnnotion text display horizontally

I use C# and Oxyplot. I have a LineAnnotation to which I want to add a text. So I have set Text Property for the LineAnnotation, but the text is vertical aligned. How could I add a text (1..3 lines) to a LineAnnotation and that texts shows…
Spacewalker
  • 451
  • 1
  • 8
  • 29
0
votes
1 answer

How to remove or hide comments on an OxyPlot graph?

How to remove or hide comments on an OxyPlot graph? I am doing this but it does not work: public void AddAnnotation(IEnumerable annotations) { foreach (var annotation in annotations) { MyOxyPlotModel.Annotations.Add(annotation); …
Jeankowkow
  • 814
  • 13
  • 33
0
votes
0 answers

How can I create a Polar Heat Map in WPF?

I'm trying to make an application in WPF and I want to include a polar heat map such as can be done using matplotlib in Python fairly easily. I.E. import matplotlib.pyplot as plt import numpy as np fig =…
Tom
  • 37
  • 1
  • 6
0
votes
1 answer

How do I get Y values from all series at a particular X value (OxyPlot)

I'm using OxyPlot. I have a PlotView with a PlotModel. There are 2 axes: yAxis which is a LinearAxis, and xAxis which is a DateTimeAxis. I have multiple LineSeries. Here is a sample program: public MainWindow() { …
Log Dog
  • 117
  • 7
0
votes
1 answer

OxyPlot: How to set ticks/decade to 1 on a logarithmic axis

I have a log-log plot with both axes in the range 0.1 to 1000. I want only 1 major tick per decade. So far I have found no way to control the tick spacing, except to set IntervalLength as in this code. var logxAxis = new LogarithmicAxis …
spainchaud
  • 365
  • 3
  • 12
0
votes
0 answers

How can I add a TextBox to an OxyPlot PlotView?

I'm trying to create an interactive plot using OxyPlot. I'd like to be able to show or hide a TextBox on the PlotView at will. Ideally, I'd like to be able to show the TextBox on the X-axis or Y-axis, but outside of it should also be fine. I…
redcurry
  • 2,381
  • 2
  • 24
  • 38
0
votes
1 answer

Display several LineSeries using Oxyplot in Windows forms app

I am building an app which displays a curve in 2D like for example the Math.Sin curve. The user is prompted to enter how many dots he wants to display on the plot. When he chooses the number of dots and enters the parameters for them - a new window…
0
votes
1 answer

Plot line graph on button Click

I am developing wpf application.In that I need to plot a real time graph on clicking a button. I tried writing this.MyModel.InvalidatePlot(true); in click(). Here is the code which I tried. MainWindow.xaml
0
votes
1 answer

How to bind a mouse key to HoverTrack?

I essentially want to switch the right and left mouse buttons. I want to pan with the left, and see the series values with the right button. Binding the left button to pan works fine, but when I try to bind the right mouse button to see the data a…
Log Dog
  • 117
  • 7
0
votes
1 answer

Oxyplot: AreaSeries ItemSource with custom DataPoints

I am using the AreaSeries in Oxyplot to graph a range between two points and would like the Tracker to display both of them when hovered. I achieved making the Tracker display custom properties with other series by creating a custom class for the…
JohnH
  • 45
  • 8