Xamarin ios timespan axis freezes on iphone 4
lanks wrote at 2014-03-20 05:43:
When the app goes to load the graph is freezes when running on an iphone 4. I have tested this with an iphone 5 and it runs perfectly. There is no error reported in the application output in xamarin studio. The app just completely freezes.
This also happens with the oxyplot monotouch examples app when selecting the timespan axis graph.
Any ideas why this is happening?
Liam
benhysell wrote at 2014-03-20 15:48:
Can you run instruments against your iPhone 4 and see where your app is spending all of its time?
-ben
lanks wrote at 2014-03-21 02:09:
Thanks for your response.
I ran instruments with the time profiler but I am not too sure what I am looking for? Here is a link to the data from instruments https://www.dropbox.com/s/gahj6l53bl4dbnx/SportsEdgeInstruments.trace.zip
Are you able to confirm that you can run the timespan axis with an iPhone < 5?
Cheers
Liam
benhysell wrote at 2014-03-21 12:58:
I cannot confirm running on less than 5s and iPad 3...but my app does have an x-axis that is a date axis...I'm about to release a new version of code with OxyPlot in it. Thus if there is a major issue with the 4 I'm concerned.
Basically with Instruments I'm looking for where all the time is being spent. From your snapshot start at the top and keep hitting down arrows until the function that is using up all of the time is exposed.
Although I can't see exactly where the code is falling down, I can at least point you in the correct direction. From your Instruments after I clicked down through all of the calls:
TimeSpan axis correct? OxyPlot/Axes/TimeSpanAxis.cs line 173
protected override double CalculateActualInterval(double availableSize, double maxIntervalSize)
From Instruments it looks like the line 188 is just spinningdouble nextInterval = goodIntervals.FirstOrDefault(i => i > interval);
I'd start poking around here with the debugger and see why that FirstOrDefault
is never ending, or why it is being called so many timesLegend with checkboxes
Hi,
I found the post about legends with checkboxes from last year. Is there already an example for doing this or can anyone give some hints about how to achieve this?
Thanks,
Nick
Operator '==' cannot be applied to operands of type 'OxyPlot.OxyColor' and 'null' (MonoTouchDemo)
Devin19 wrote at 2013-10-31 17:19:
I would expect since its not NULLable, there would be a value like 'undefined' which can be chosen instead, but this doesn't seem to be the case.
How can this be solved?
objo wrote at 2013-10-31 18:21:
OxyColor
was recently changed to a value type. Try to use
OxyColors.Undefined
where no color should be applied and OxyColors.Automatic
where OxyPlot should suggest or a default color should be used. Let me know where to correct the MonoTouch code, I cannot compile this myself.Devin19 wrote at 2013-11-01 11:17:
Anyways, replacing OxyPlot.MonoTouch\MonoTouchRenderContext.cs by this should fix it.
I replaced the
foo != null
by!foo.Equals(OxyColors.Undefined)
etc. I've ran the demo on an iOS simulator, and didn't run into any bugs,
although the resolution seems a kinda low compared to the MonoForAndroid version.
objo wrote at 2013-11-01 19:59:
Devin19 wrote at 2013-11-02 09:34:
using System;
I forgot to mention that I changed it, it's needed for the Math.PI at line 183.For as far as I've tested it nothing else seems to be wrong, I'll let you know if I find something.
Edit:
- The Microsoft.CSharp Reference in ExampleLibraryMT.csproj should be removed, it gives an error, but the project runs fine without the reference.
- There is no 'splashscreen' for iPhone 5 resolution included.
Can OxyPlot Do Multiple Chartsper Page? Can it Export to PDF?
I am looking for an open source plotting library to plot system OS statistics. Getting the stats is the easy part. I need a .NET or Java plotting library to generate multiple graphs per page and export them to PDF. This would all be done in code. Can Oxyploy do this? Any help is appreciated or recommending any other packages.
Is it possible to plot against the Y-Axis with a Line Series?
willmoore88 wrote at 2013-04-08 17:46:
So you might get a graph such as this one:
http://cmore.soest.hawaii.edu/cruises/operex/images/Backscatter-Data_full.gif
Eto based backend
https://www.nuget.org/packages/Eto.OxyPlot/
However, only a WPF version is available. It seems the approach here is to just host the OxyPlot.WPF implementation in Eto.Forms.
I've taken a different approach and created an OxyPlot backend which uses Eto's abstracted rendering interfaces. This way, it becomes available on any platform that is available for Eto.
Are the maintainers interested in merging this back into the OxyPlot repository?
Thanks,
Rob Conde
Zoom in by dragging a rectangle by mouse?
Christoph1972 wrote at 2014-02-13 06:07:
I'm new at CodePlex and interested in OxyPlot.
Is there a way to zoom in by dragging a rectangle by mouse? By Zedgraph is it a basic setting.
Google shows me only this: http://searchcode.com/codesearch/view/28445967
But I have no idea to use it. Is it what I'm looking for?
Sorry for my poor English, I'm from Germany.
Kind Reguards
Christoph
everytimer wrote at 2014-02-13 20:07:
Double wheel click autoadjusts the view. Good luck!
P.S.: WPF
Add a LegendMinWidth property
Similar to the LegendMaxWidth property, it would be good to have a LegendMinWidth property. This is useful, when having several stacked plots with outside legends. Without a MinWidth the LegendWidth tend to vary.
WPF PlotView Cutom Tooltip
line series?
Horizontal BoxPlotSeries or FinancialSeries
bib34690 wrote at 2012-10-17 17:03:
I'm interested in BoxPlotSerie or CustomSeries or Financial Series, but all are vertical bars.
Is it possible to have horizontal timeLine.
Thanks for your great job and for sharing it.
objo wrote at 2012-10-17 23:31:
Right, these series are only vertical. I added the following new features
http://oxyplot.codeplex.com/workitem/10012
http://oxyplot.codeplex.com/workitem/10013
Customer support service by UserEcho