560 questions
0
votes
1
answer
94
views
How made OxyPlot DPI awareness in wpf?
I have a wpf app DPI aware with this code in the manifest filed:
<application xmlns="urn:schemas-microsoft-com:asm.v3">
<windowsSettings>
<dpiAware xmlns="http:/...
-1
votes
2
answers
205
views
Problem with my MVVM , i cant change props a ViewModel from another ViewModel ,UI is not updating
Im have many issues regarding my MVVM's, i cant pass any props or if i still pass them from a ViewModel to another ViewModel its still not updating the UI.
For example here :
My xaml files :
<...
-1
votes
1
answer
152
views
Is it possible to use OxyPlot with Uno Platform? [closed]
I am trying to transfer a UWP project to Uno Platform. I want to run the app on Linux later and I am using VS22. The project uses OxyPlot to plot some charts and I am having problems to integrate ...
0
votes
2
answers
108
views
When a tab is revisited a new set of views are generated leading to a potential stack overflow
I have an application based on Josh Smith's MVVM Demo, with the business logic replaced. The user clicks links that dynamically generate tabs. Each tab has a view and viewmodel. The tab views contain ...
0
votes
0
answers
787
views
ColumnSeries class does not exist in my OxyPlot.Series namespace
I recently downloaded and installed OxyPlot.WindowsForms to create some plot charts using C# and winsforms and I did it via NuGet Packages Manager in Visual Studio.
But when I try to use the ...
1
vote
0
answers
240
views
OxyPlot C#: Setting the position of the outside labels of a pie chart
I have been working with OxyPlot to generate a multi layered pie chart, but I am having a hard time trying to place the outside label right beside the line that links it to the related slice. ...
-2
votes
1
answer
161
views
Oxyplot is not printed (blank) when Printing WPF UI which is rescaled to fit on one page using .NET 7
Steps to reproduce
Clone the repo from : https://github.com/supershopping/OxyPlotPrintTest
Run application
Click "Add Data" button
Click "Print" button and select a printer to ...
0
votes
1
answer
61
views
An Oxyplot graph doesn't refresh when a number in textbox changes (WPF)
I try to make a simple WPF application with MVVM pattern. It has a textBox, a textBlock, and an Oxyplot plotView.
**
ViewModel class**
public class ViewModel : INotifyPropertyChanged
{
private ...
1
vote
1
answer
1k
views
Displaying Multiple Legends for OxyPlot in WPF with Two Y Axes
I'm using OxyPlot in my WPF project to create a plot with two Y axes. I have different series assigned to either the left or the right Y axis.
I would like to display two separate legends: one on the ...
0
votes
0
answers
219
views
OxyPlot BarSeries shows white screen
Creating a script using C# and the OxyPlot class. The script will learn to tell the difference between a sunflower image and a dandelion image.
The problem I have is the PlotView of the PlotModel, ...
0
votes
0
answers
121
views
Creating an axis with selected numbers and equal spacing in Oxyplot with WPF
For a graph one axis needs to have selected numbers with equal spacing.
The numbers are in order but with different gaps, Example 1, 2, 5, 100, 2000.
I managed to get the selected numbers by ...
-1
votes
1
answer
402
views
How to use oxyplot with DataBinding in wpf
I'm trying to use the oxyplot library in my WPF application. also, I'm using the MVVM pattern. one of the main parts of this pattern never uses "UI" specific in the "ViewModel" ...
0
votes
0
answers
145
views
OxyPlot "Exception thrown: 'System.InvalidOperationException' in OxyPlot.Xamarin.Forms.dll"
I have 2 questions regarding the OxyPlot library.
So I'm well aware that OxyPlot is supported for Xamarin.Forms, Xamarin.Forms.Android, Xamarin.Forms.iOS, and Xamarin.Forms.Mac. However, I was ...
3
votes
0
answers
1k
views
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 ...
0
votes
0
answers
181
views
How to find the x value (coordinate) corresponding to some y value? (OxyPlot)
I'm using OxyPlot in C# to plot a chart based on a finite set of data points, not a function. The resultant chart from OxyPlot has a smooth, continuous curve covering the whole range of points.
My ...
1
vote
1
answer
1k
views
WPF vs WinForms Oxyplot Customize Tooltip/Tracker
I am building a WPF application and rendering a chart using OxyPlot.
In order to maximize the performance of the chart, I switched to OxyPlot.WindowsForms and embedded the chart using WindowsFormsHost....
0
votes
1
answer
614
views
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 ...
0
votes
1
answer
1k
views
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 ...
2
votes
1
answer
1k
views
Error This PlotModel is already in use by some other PlotView control in OxyPlot chart
I am using Xamarin.Forms OxyPlot Chart. I have a collectionview and in each collectionview item has an expander and inside each of those expanders is a PlotView
<CollectionView x:Name="Kids&...
0
votes
0
answers
72
views
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 ...
1
vote
2
answers
1k
views
Oxyplot Bar Width
I am using Oxyplot to make bar chart. Is there anyway to change the width of the bar?
I found this solution:
protected override double GetActualBarWidth()
{
var categoryAxis = this.GetCategoryAxis(...
0
votes
1
answer
114
views
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 (...
1
vote
0
answers
505
views
Difference between PlotModel.InvalidatePlot() and PlotView.InvalidatePlot()
I've come across this page in the Oxyplot documentation:
https://oxyplot.readthedocs.io/en/master/common-tasks/refresh-plot.html
However there is no obvious explanation of what the difference is ...
1
vote
1
answer
1k
views
convert quadratic graph to linear using logarithmic scale [duplicate]
I have to draw a quadratic plot (something like y=a*x^2). I wonder is there anyway to find a logarithmical scale for x or y axis to convert this plot to linear form?
for example lets imagine we have a ...
1
vote
2
answers
1k
views
How to plot an ellipse with given rotation angle in C# WPF using Oxyplot?
OxyPlot is a cross-platform plotting library for .NET, very convenient for making plots,
Now there's a situation here, I have to draw a 95% confidence ellipse to an XY scatter plot.
Oxyplot provides ...