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

New Post: OxyPlot paint Exception : XAxis not defined

Thanks for Oxyplot! I had this bug (OxyPlot paint Exception : XAxis not defined ) in my code. If I scale the plot with mouse it goes away but I can always see it when something is newly plotted. I did...

View Article


New Post: OxyPlot paint Exception : XAxis not defined

So just a few things, first of all you can use a foreach loop or even just AddRange over what you're currently doing (and it's less bug prone):foreach (var p in _resampledPoints)...

View Article


New Post: OxyPlot paint Exception : XAxis not defined

Thank you for your suggestion! I'm pretty new to C# :) These are the codes that I use to add axies to the PlotModel (graphMain). OxyPlot.Axes.LinearAxis XAxis = new OxyPlot.Axes.LinearAxis { Position =...

View Article

New Post: OxyPlot paint Exception : XAxis not defined

Just out of curiosity, why are you setting a min and max for the axes? They will actually automatically resize based on the points in the series collection, so unless you want to see a certain range...

View Article

New Post: OxyPlot paint Exception : XAxis not defined

Thanks for your response. I did initialized model. But my problem is, I am passing PlotView to another function to add a line series. Then the exception comes. If I add line series at where i define...

View Article


New Post: OxyPlot paint Exception : XAxis not defined

Tip: put a space and "C#" after the triple back tick for code highlighting =). DrawGraph sounds a bit misleading, since you're just adding data to the graph, not actually effecting how it will draw...

View Article

New Post: OxyPlot paint Exception : XAxis not defined

Thanks for your suggestion! I finally fixed the bug. What I did is every time I plot the data set, I create a new model and add all the lines to the model. Then I assign it to PlotView. I'm guessing I...

View Article

New Post: OxyPlot paint Exception : XAxis not defined

Hmm that's a good point, kind of annoyed I missed that lol, yea you're remaking and assigning the PlotModel everytime that function is called. It'd probably be better to add the series and points...

View Article


New Post: OxyPlot paint Exception : XAxis not defined

It's great to know the InvalidatePlot thing! I was required to add zoom functionality to zoom specific part according to user input.

View Article


New Post: Oxyplot XamarinAndroid "Zoom"-Question

Hi, I wanted to know if it is possible to make a "Center-Button" for a PlotView with your library. I created an plotview in my application that is zoomable with touch gesture. And I need a method to...

View Article

New Post: Oxyplot XamarinAndroid "Zoom"-Question

You could hook up your own input to call PlotModel.ResetAllAxes(), the PlotController already defines 'a' and double mouse button 3 to do this if you want an example (it's in PlotCommands).

View Article

Commented Unassigned: DateTimeAxis should be able to break labels over two...

It should be possible to show date on one line, time on other lineSee https://oxyplot.codeplex.com/discussions/550763Comments: 2 format strings would give additional flexibility

View Article

New Post: Using DateTimeIntervalType.Manual

I ended up doing this by overriding the GetTickValues method.

View Article


New Post: Oxyplot XamarinAndroid "Zoom"-Question

Ok so if i do something like this:centerButton.Click += (object sender, EventArgs e) => { centerButton_Click(sender, e, view, plotView); }; and handle it with this:private void...

View Article

New Post: Oxyplot XamarinAndroid "Zoom"-Question

Hmm, well you can simplify it assuming it's in the same class as you're setting up the plot view: centerButton.Click += (s, args) => { plotView.Model.ResetAllAxes(); plotView.InvalidatePlot(false);...

View Article


New Post: Oxyplot XamarinAndroid "Zoom"-Question

Ok with your version it works. The wrong part in my code was:plotView.Model.InvalidatePlot(true); Thank you for your help.

View Article

New Post: Moving the project to GitHub

Been seeing Discourse being used more lately, the most recent example being Rust moving to using it (http://discuss.rust-lang.org/). Seems pretty nice and simple overall.

View Article


New Post: Any interest in a gauge control?

We played around and wrote a Gauge control. Does Oxyplot want it?

View Article

New Post: Is there any example of 'OxyPlot for Xamarin.Android using' can...

Is there any example of 'OxyPlot for Xamarin.Android using' can be referenced??? Please send to my e-mail starrycheng@live.com,thanks. There is no example in the website which named...

View Article

Created Unassigned: Can't install packages“OxyPlot.Core 2014.1.319.1” [10232]

Install-Package : Can't install packages“OxyPlot.Core 2014.1.319.1”。You are trying to install this package to a "MonoAndroid, Version = v2.2" as the target project,But this package does not contain any...

View Article
Browsing all 2061 articles
Browse latest View live


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