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

Commented Task: CLS-compliance [10086]

$
0
0
At the moment the NuGet assemblies are not marked with the CLSCompliant(true) attribute.

Denoting the CLS-compliance avoids a bunch of false positive warnings in a CLS compliant environment.

Comments: Don't see any CLS compliance warnings when compiling OxyPlot. Seems to be fixed.

Commented Unassigned: Exception in PathAnnotation.HitTest [10140]

$
0
0
In a mousedown handler on the plotmodel, I'm deleting a polyline object from the plotmodel and creating another one instead.
When clicking repeatedly, I can get the situation that Oxyplot tries to do a hittest while screenPoints == null. I'm not sure it this has to do with the fact that I'm deleting the objects from the plotmodel.
I can fix this by testing for null in HitTest. See code below after the TODO comment:

PathAnnotation.cs:

protected internal override HitTestResult HitTest(ScreenPoint point, double tolerance)
{
// TODO: TEST FOR NULL
if (this.screenPoints == null)
{
return null;
}

var nearestPoint = ScreenPointHelper.FindNearestPointOnPolyline(point, this.screenPoints);
double dist = (point - nearestPoint).Length;
if (dist < tolerance)
{
return new HitTestResult(nearestPoint);
}

return null;
}

Kind regards,
Wim Bokkers
Comments: Should be fixed in latest version (2014.1.259.1). Please re-test.

Commented Unassigned: Exception while trying to pan before the chart is plotted [10138]

$
0
0
See https://oxyplot.codeplex.com/discussions/522598
Comments: Please re-test with latest version (2014.1.259.1).

Commented Issue: Resizing of a window leads to error [9991]

$
0
0
If you use a simple plot within a window, which you can resize to a minimum this leads an assertion error: "Height must be larger than 0 ..." Try this program:

<Window x:Class="BugReport.MainWindow"
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
xmlns:oxy="clr-namespace:OxyPlot.Wpf;assembly=OxyPlot.Wpf"
Title="Test Window">
<Grid>
<oxy:Plot Title="Test plot">
</oxy:Plot>
</Grid>
</Window>
Comments: Should be closed.

Commented Issue: WPF clipboard copy does not work with transparent background [9958]

$
0
0
Clipboard.SetImage does not seem to work with transparent BitmapSources. Using pixel format Pbgra32 does not help.

Work-around: set a background color
Comments: This is a WPF bug, so OxyPlot can't do more than the actual workaround.

Created Unassigned: Remove unused source files [10168]

$
0
0
When clicking in Visual Studio Solution Explorer on "Show All Files" (e.g on Core or WPF project) it shows many cs-files (and folders) that are not used in the project.
For me it seems that these files are relicts from some old OxyPlot days ;-)

Closed Unassigned: PlotModel Update() and Render() calls should be separated [10144]

$
0
0
Currently `PlotModel.Update(...)` and `PlotModel.Render(...)` are called in one bundle inside `PlotControl.UpdateModelAndVisuals()`. Thus every invalidation forces also a rendering, what is limiting the performance (see attached current_architecture.png).

By separating invalidation and rendering, the data updates are not limited by the rendering speed. So it will be possible to update data more than 60 times (assumed 60fps rendering). As the plot model would only notify the plot control that it has been invalidated and should be rendered but does not need to wait for it to complete.

Closed Unassigned: oxyplot - 2014.1.245.1 get_ActualFont Error [10157]

$
0
0
Hi All,

After updating to new version of oxyplot, I am getting below error. Could you please help me to resolve this. Attached sample code.

__<package id="OxyPlot.Core" version="2014.1.245.1" targetFramework="net40" />
<package id="OxyPlot.Wpf" version="2014.1.245.1" targetFramework="net40" />__

Object reference not set to an instance of an object.
at OxyPlot.PlotElement.get_ActualFont() in c:\TeamCity\buildAgent\work\3b9fcf1ba397d0ed\Source\OxyPlot\PlotModel\PlotElement.cs:line 106
at OxyPlot.Axes.Axis.Measure(IRenderContext rc) in c:\TeamCity\buildAgent\work\3b9fcf1ba397d0ed\Source\OxyPlot\Axes\Axis.cs:line 985
at OxyPlot.PlotModel.MaxSizeOfPositionTier(IRenderContext rc, IEnumerable1 axesOfPositionTier) in c:\TeamCity\buildAgent\work\3b9fcf1ba397d0ed\Source\OxyPlot\PlotModel\PlotModel.Rendering.cs:line 174
at OxyPlot.PlotModel.AdjustAxesPositions(IRenderContext rc, IList1 parallelAxes) in c:\TeamCity\buildAgent\work\3b9fcf1ba397d0ed\Source\OxyPlot\PlotModel\PlotModel.Rendering.cs:line 249
at OxyPlot.PlotModel.AdjustPlotMargins(IRenderContext rc) in c:\TeamCity\buildAgent\work\3b9fcf1ba397d0ed\Source\OxyPlot\PlotModel\PlotModel.Rendering.cs:line 212
at OxyPlot.PlotModel.Render(IRenderContext rc, Double width, Double height) in c:\TeamCity\buildAgent\work\3b9fcf1ba397d0ed\Source\OxyPlot\PlotModel\PlotModel.Rendering.cs:line 76
at OxyPlot.Wpf.Plot.UpdateVisuals() in c:\TeamCity\buildAgent\work\3b9fcf1ba397d0ed\Source\OxyPlot.Wpf\Plot.cs:line 1119
at OxyPlot.Wpf.Plot.ArrangeOverride(Size arrangeBounds) in c:\TeamCity\buildAgent\work\3b9fcf1ba397d0ed\Source\OxyPlot.Wpf\Plot.cs:line 564
at System.Windows.FrameworkElement.ArrangeCore(Rect finalRect)

Closed Issue: Resizing of a window leads to error [9991]

$
0
0
If you use a simple plot within a window, which you can resize to a minimum this leads an assertion error: "Height must be larger than 0 ..." Try this program:

<Window x:Class="BugReport.MainWindow"
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
xmlns:oxy="clr-namespace:OxyPlot.Wpf;assembly=OxyPlot.Wpf"
Title="Test Window">
<Grid>
<oxy:Plot Title="Test plot">
</oxy:Plot>
</Grid>
</Window>

Closed Task: CLS-compliance [10086]

$
0
0
At the moment the NuGet assemblies are not marked with the CLSCompliant(true) attribute.

Denoting the CLS-compliance avoids a bunch of false positive warnings in a CLS compliant environment.

Closed Unassigned: XAML Canvas ancestor causes issues with OxyPlot.WPF.Plot [10155]

$
0
0
I am trying to use a OxyPlot.WPF.Plot with a Canvas as its immediate ancestor and am running into graphical issues. I noticed that the Plot is by default non-visible. The only way to resolve this is by static setting the width and height. I would like to be able to use bindings of some sort to set the height and width instead.

I am using version 2014.1.240.1.

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: Yes, this should be fixed. Maybe the IncludeReferencedProject argument can be used https://docs.nuget.org/docs/reference/command-line-reference otherwise, I can add a step that replaces the OxyPlot.Core version number with the current build number.

Commented Unassigned: Remove unused source files [10168]

$
0
0
When clicking in Visual Studio Solution Explorer on "Show All Files" (e.g on Core or WPF project) it shows many cs-files (and folders) that are not used in the project.
For me it seems that these files are relicts from some old OxyPlot days ;-)
Comments: Yes, this should be cleaned up! :-)

Commented Issue: WPF clipboard copy does not work with transparent background [9958]

$
0
0
Clipboard.SetImage does not seem to work with transparent BitmapSources. Using pixel format Pbgra32 does not help.

Work-around: set a background color
Comments: Can other formats than BMP be used? e.g setting the data object and not the bitmap on the clipboard.

Commented Issue: WPF clipboard copy does not work with transparent background [9958]

$
0
0
Clipboard.SetImage does not seem to work with transparent BitmapSources. Using pixel format Pbgra32 does not help.

Work-around: set a background color
Comments: Maybe there is a way. Check following links: - http://forums.getpaint.net/index.php?/topic/22060-png-format-in-clipboard/ - http://tugbayatilla.blogspot.co.at/2013/09/copy-transparent-bitmap-to-clipboard.html

Commented Unassigned: iOS CoreText Off Center [10163]

$
0
0
The move to CoreText appears to have placed titles off center, see the attached screenshot...the title should line up nicely under the clock, but appears skewed.

![Image](http://i.imgur.com/wNtQWoL.png)



Comments: I do not change the default plot margins, but I think the problem lies with ```AutoAdjustPlotMargins```. If I set ```AutoAdjustPlotMargins = false``` the title lines up properly. Except now I can't see any of the readings on my y-axis. See screen shot. ![Image](http://i.imgur.com/ytWtstK.png)

Closed Unassigned: Remove unused source files [10168]

$
0
0
When clicking in Visual Studio Solution Explorer on "Show All Files" (e.g on Core or WPF project) it shows many cs-files (and folders) that are not used in the project.
For me it seems that these files are relicts from some old OxyPlot days ;-)
Comments: I did not find any files in OxyPlot.Wpf. In OxyPlot core I only found one unused folder. Comment/reopen the issue if more files should be removed!

Source code checked in, #7533a54e3521

$
0
0
#10168 Remove unused source files

Commented Unassigned: Remove unused source files [10168]

$
0
0
When clicking in Visual Studio Solution Explorer on "Show All Files" (e.g on Core or WPF project) it shows many cs-files (and folders) that are not used in the project.
For me it seems that these files are relicts from some old OxyPlot days ;-)
Comments: found some more files. I hope it is clean now!

Source code checked in, #9e0a2412e5fd

Viewing all 2061 articles
Browse latest View live


Latest Images

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