6 writes to areaPath
System.Web.DataVisualization (6)
Common\ChartTypes\AreaChart.cs (3)
450
areaPath
= new GraphicsPath();
625
areaPath
= null;
1639
this.
areaPath
= null;
Common\ChartTypes\StackedAreaChart.cs (3)
473
areaPath
= null;
678
areaPath
= new GraphicsPath();
786
areaPath
= null;
23 references to areaPath
System.Web.DataVisualization (23)
Common\ChartTypes\AreaChart.cs (16)
448
if (
areaPath
== null)
451
areaPath
.AddLine(point1.X, axisPos.Y, point1.X, point1.Y);
457
areaPath
.AddLine(points[pointIndex - 1], points[pointIndex]);
461
areaPath
.AddCurve(points, pointIndex - 1, 1, this.lineTension);
600
if(
areaPath
!= null)
602
areaPath
.AddLine(
areaPath
.GetLastPoint().X,
areaPath
.GetLastPoint().Y,
areaPath
.GetLastPoint().X, axisPos.Y);
606
if(gradientFill &&
areaPath
!= null)
612
using (Brush areaGradientBrush = graph.GetGradientBrush(
areaPath
.GetBounds(), this.Series.Color, this.Series.BackSecondaryColor, this.Series.BackGradientStyle))
615
graph.FillPath(areaGradientBrush,
areaPath
);
622
if(
areaPath
!= null)
624
areaPath
.Dispose();
1636
if (this.
areaPath
!= null)
1638
this.
areaPath
.Dispose();
Common\ChartTypes\StackedAreaChart.cs (7)
470
if(
areaPath
!= null)
472
areaPath
.Dispose();
676
if (
areaPath
== null)
680
areaPath
.AddLine(firstPoint.X, firstPoint.Y, secondPoint.X, secondPoint.Y);
768
if(gradientFill &&
areaPath
!= null)
773
gradientPath.AddPath(
areaPath
, true);
785
areaPath
.Dispose();