File tree Expand file tree Collapse file tree 1 file changed +12
-1
lines changed
Source/Examples/ExampleLibrary/Issues Expand file tree Collapse file tree 1 file changed +12
-1
lines changed Original file line number Diff line number Diff line change 1- // --------------------------------------------------------------------------------------------------------------------
1+ // --------------------------------------------------------------------------------------------------------------------
22// <copyright file="Issues.cs" company="OxyPlot">
33// Copyright (c) 2014 OxyPlot contributors
44// </copyright>
@@ -20,6 +20,17 @@ namespace ExampleLibrary
2020 [ Examples ( "Z1 Issues" ) ]
2121 public class Issues
2222 {
23+ [ Example ( "#1303 Problem with infinity size polyline" ) ]
24+ public static PlotModel InfinitySizePolyline ( )
25+ {
26+ var model = new PlotModel ( ) ;
27+ var series = new OxyPlot . Series . LineSeries ( ) ;
28+ series . Points . Add ( new DataPoint ( 0 , 0 ) ) ;
29+ series . Points . Add ( new DataPoint ( 1 , - 1e40 ) ) ;
30+ model . Series . Add ( series ) ;
31+ return model ;
32+ }
33+
2334 [ Example ( "#977 RectangleAnnotation Axis Clipping not configurable" ) ]
2435 public static PlotModel RectangleAnnotationAxisClipping ( )
2536 {
You can’t perform that action at this time.
0 commit comments