Quantcast
Channel: OxyPlot (moved to GitHub)
Viewing all 2061 articles
Browse latest View live

New Post: Noob question : how to clone OxyPlot git repository.

$
0
0
Hello,
Can someone drive me to a tutorial (or explain) how to clone OxyPlot git repository so that I can recompile the windows form dlls locally ?

Thank you.

New Post: Clicking on an annotation

$
0
0
Hello! Just wanted to start by saying thanks for all the hard work on this awesome project. I'm hoping to move our current heavy chart implementation over to it in the coming months, just working on various demos to impress people that don't care about the code side of things.

I've read through the code for the various mouse event examples but haven't had one that covers my issue. I'm looking to dynamically add and remove events to annotations, which means I've had to implement them as methods instead of lambdas.

The issue I'm running into now is how to actually get the annotation clicked on from what's passed to the method. I haven't found a way to access it from the PlotController or OxyMouseDownEventArgs.

Any suggestions are much appreciated! It wouldn't be the first time I'd missed something obvious hehe. Hopefully when I'm done this I'll have something interesting to add to the WinForms demos and help other people out.

Source code checked in, #32e16270c368

$
0
0
Wpf.Plot: correct default values for PlotMargins and Padding (discussions/543551) Add missing properties, add unit test that verifies the default values

Source code checked in, #200d19c074f2

Released: OxyPlot binaries (Apr 28, 2014)

$
0
0
This package contains release assemblies.

Assemblies for the following platforms are included
  • WPF (.NET 4.5)
  • WPF (.NET 4.0)
  • Windows 8.1 Store App
  • Silverlight 5
  • Windows Forms (.NET 4.5)
  • Windows Forms (.NET 4.0)

Note:
  • Using NuGet is recommended, this library is updated frequently!
  • Use NuGet or the Xamarin Components store to get builds for other platforms.
  • Download or clone the source code to build and run the examples.

Updated Release: OxyPlot binaries (Apr 28, 2014)

$
0
0
This package contains release assemblies.

Assemblies for the following platforms are included
  • WPF (.NET 4.5)
  • WPF (.NET 4.0)
  • Windows 8.1 Store App
  • Silverlight 5
  • Windows Forms (.NET 4.5)
  • Windows Forms (.NET 4.0)

Note:
  • Using NuGet is recommended, this library is updated frequently!
  • Use NuGet or the Xamarin Components store to get builds for other platforms.
  • Download or clone the source code to build and run the examples.

New Post: Axis titles moved inside plot area after upgrade.

$
0
0
Yes, there was a bug in the WPF adapter. I fixed the wrong default value for PlotMargins in the OxyPlot.Wpf.Plot control and added some other missing properties. I also added a unit test that verifies the default values so this should not happen again.

New Post: Help about "Touch on a LineSeries"

$
0
0
I am new to OxyPlot

I get OxyPlot by Nuget with my Visual Studio 2012

and i found the example "Touch on a LineSeries" in example broswer,how can i found the source code about this sample?

i can not find any source files in downloaded zip file

Closed Unassigned: plotting lineSeries behaving strangely.. [10178]

$
0
0
please ignore the first comment below.. I added it to the bottom of the issue..

I am plotting an FFT with about 480,000. points. I am using a line series.

If I plot the magnitude of the fft it plots very quickly with no problems.

if instead, before I define the lineSeries I for loop through the data series and change each data point to dB using 20*Math.log10(y/refVal). The plot freezes the UI and never updates and never plots. same number of points just different Y values.

The only thing I can think of to explain this is perhaps the dB version of the data is more chaotic meaning it jumps around a lot more. where the linear data is much more predictable.

I'm not sure what the line generation algorithm is but I could imagine something like this bogging down some sort of interpolator or curve fitting. but It was my understanding that lineSeries did not do any of this.

any thoughts?! thank you

windows 8
new bottom of the line laptop
windows forms C# app.

The code I am using to plot is shown below....



```
var plotModel2 = new PlotModel();
plotModel2.Title = "LineSeries, 100k points";
var linearAxis3 = new LinearAxis();
linearAxis1.Position = AxisPosition.Bottom;
plotModel1.Axes.Add(linearAxis1);
var linearAxis4 = new LinearAxis();
plotModel1.Axes.Add(linearAxis2);
var lineSeries2 = new LineSeries();

// I have an array of complex values called cdata representing the complex fft points (y axis) with 480,000 elements.
int myloopcount =0;
while (myloopcount < datalength)
{
double tempe;

tempe = Math.Abs(cdata[myloopcount].Magnitude*TheWaves.conversionFactor);
tempe = (.707*(tempe*2/datalength));

// if I comment out the line below containing log10 it plots quickly.. with it uncommented it hangs the UI an never comes back. sometimes Visual studio pops something up about wating for a thread but Im not sure what that means.

tempe = Math.Abs(20*Math.Log10(tempe/1e-6));


double myYF = tempe;

lineSeries2.Points.Add(new DataPoint(myloopcount/T, myYF));

myloopcount++;

}// end while loop

plotModel2.Series.Add(lineSeries2);
this.plot2.Model = plotModel2;
```

New Post: Panning and Zooming

$
0
0
I think it's very important feature - the zoom only on the x-axis or the y-axis. The best choice +/- for zooming and mouse wheel for panning. I will try to use info from this topic, but I hope it will be supported 'out of the box'. Oxyplot is really fantastic graphic library, but it needs to get this feature.

@objo
In any case thank you for great job!

New Post: Strange behavior on zooming/moving

$
0
0
Solved by manually adding axes to plot.

New Post: Interval column series

$
0
0
Hi,

I am looking for range series.
I found interval bar series.
But I want interval column series .
How to plot it?

please help...


Best Regards,
Suhas Bothe

New Post: Where is IDataPoint in the latest version of Oxyplot?

$
0
0
Where is IDataPoint in the latest version of Oxyplot?
When I install the latest version of Oxyplot (OxyPlot-2014.1.297.1) I'm seeing the error:
Error 4 The type or namespace name 'IDataPoint' could not be found...
How can I solve this error?

Code:
private List<IDataPoint> listScheefstand { get; set; }

New Post: Unexplained gap in histogram

$
0
0
I'm creating a histogram in WPF using CategoryAxis and ColumnSeries. I've set the gap width to 0 and ensured the bar width is 1.0, but I'm still getting a gap between the columns. Curiously, when I run the histogram examples, there's no gap, but if I build a new chart using the same code, a gap appears. I traced into CategorySeries.GetRectangle(), and it appears to be producing the correct results - no gap between the rectangles - but that's not what's showing up on the screen. Any idea what's going on? Could this have something to do with WPF fudging the rectangles?

Source code checked in, #3b82ebf9b0c7

$
0
0
#10167: Nuget packages should use version on dependencies

Source code checked in, #d8b259538835

Commented Unassigned: Nuget packages should use versoin on dependencies [10167]

$
0
0
The nuget packages that reference the OxyPlot.Core package should use the exact version for this dependency:
```xml
<dependency id="OxyPlot.Core" version="[2014.1.1]"/>
```

So the Nuget does automatically update the core package and you don't have problems with different versions between core and e.g. Wpf.

The drawback is that the OxyPlot build server has to update the nuspec files.
Or maybe nuget supports to specify the version as a parameter for the pack command (don't know).
Comments: I added `version="$version"` in the nuspec files. The build script replaces $version with the actual version number.

Commented Unassigned: Nuget packages should use versoin on dependencies [10167]

$
0
0
The nuget packages that reference the OxyPlot.Core package should use the exact version for this dependency:
```xml
<dependency id="OxyPlot.Core" version="[2014.1.1]"/>
```

So the Nuget does automatically update the core package and you don't have problems with different versions between core and e.g. Wpf.

The drawback is that the OxyPlot build server has to update the nuspec files.
Or maybe nuget supports to specify the version as a parameter for the pack command (don't know).
Comments: (this required a small update to the UpdateVersionNumbers.exe tool)

Closed Unassigned: Nuget packages should use versoin on dependencies [10167]

$
0
0
The nuget packages that reference the OxyPlot.Core package should use the exact version for this dependency:
```xml
<dependency id="OxyPlot.Core" version="[2014.1.1]"/>
```

So the Nuget does automatically update the core package and you don't have problems with different versions between core and e.g. Wpf.

The drawback is that the OxyPlot build server has to update the nuspec files.
Or maybe nuget supports to specify the version as a parameter for the pack command (don't know).

Released: OxyPlot binaries (Apr 28, 2014)

$
0
0
This package contains release assemblies.

Assemblies for the following platforms are included
  • WPF (.NET 4.5)
  • WPF (.NET 4.0)
  • Windows 8.1 Store App
  • Silverlight 5
  • Windows Forms (.NET 4.5)
  • Windows Forms (.NET 4.0)

Note:
  • Using NuGet is recommended, this library is updated frequently!
  • Use NuGet or the Xamarin Components store to get builds for other platforms.
  • Download or clone the source code to build and run the examples.
Viewing all 2061 articles
Browse latest View live


Latest Images

<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>