2 writes to _totalPerPoint
System.Web.DataVisualization (2)
Common\ChartTypes\StackedAreaChart.cs (2)
108 _totalPerPoint = null; 178 _totalPerPoint = new double[series.Points.Count];
7 references to _totalPerPoint
System.Web.DataVisualization (7)
Common\ChartTypes\StackedAreaChart.cs (7)
157 if(_totalPerPoint == null) 183 _totalPerPoint[index] = 0; 186 _totalPerPoint[index] += Math.Abs(ser.Points[index].YValues[0]); 200if (_totalPerPoint[pointIndex] == 0) 206 return (point.YValues[0] / _totalPerPoint[pointIndex]) * 100.0; 251 yValue = (ser.Points[pointIndex].YValues[0] / _totalPerPoint[pointIndex]) * 100.0; 254if (double.IsNaN(yValue) && _totalPerPoint[pointIndex] == 0)