Index: src/Common/DelftTools.Controls.Swf/Charting/Series/PolygonSeries.cs =================================================================== diff -u -r8f6ae890fed8e8eae3a32f9c0498a10f82e0ddf9 -r5fc71a385897af92ccb092f2f969b5709afab85a --- src/Common/DelftTools.Controls.Swf/Charting/Series/PolygonSeries.cs (.../PolygonSeries.cs) (revision 8f6ae890fed8e8eae3a32f9c0498a10f82e0ddf9) +++ src/Common/DelftTools.Controls.Swf/Charting/Series/PolygonSeries.cs (.../PolygonSeries.cs) (revision 5fc71a385897af92ccb092f2f969b5709afab85a) @@ -19,7 +19,10 @@ /// public bool AutoClose { - get { return autoClose; } + get + { + return autoClose; + } set { autoClose = value; @@ -98,9 +101,7 @@ /// /// /// - protected override void PrepareLegendCanvas(Graphics3D g, int valueIndex, ref Color backColor, ref ChartBrush aBrush) - { - } + protected override void PrepareLegendCanvas(Graphics3D g, int valueIndex, ref Color backColor, ref ChartBrush aBrush) {} private void PrepareGraphics3D(Graphics3D g) { @@ -138,7 +139,10 @@ private void AddToPointsList(ICollection pointGroupsToRender, List currentPointsGroup) { - if (!currentPointsGroup.Any()) return; // Do nothing for empty list + if (!currentPointsGroup.Any()) + { + return; // Do nothing for empty list + } if (autoClose && (currentPointsGroup[0].X != currentPointsGroup.Last().X || currentPointsGroup[0].Y != currentPointsGroup.Last().Y)) {