40 writes to index
System.Windows.Forms.DataVisualization (40)
Common\ChartTypes\AreaChart.cs (16)
805
dp1.
index
= firstPoint.index;
810
dp2.
index
= secondPoint.index;
817
dp2.
index
= firstPoint.index;
822
dp1.
index
= secondPoint.index;
1134
intersectionPoint.
index
= secondPoint.index;
1151
intersectionPoint.
index
= firstPoint.index;
1285
dp1.
index
= firstPoint.index;
1290
dp2.
index
= secondPoint.index;
1319
dp1.
index
= leftMostPoint.index;
1324
dp2.
index
= leftMostPoint.index;
1348
dp1.
index
= rightMostPoint.index;
1353
dp2.
index
= rightMostPoint.index;
1372
dp1.
index
= firstPoint.index;
1377
dp2.
index
= secondPoint.index;
1406
dp1.
index
= firstPoint.index;
1412
dp2.
index
= secondPoint.index;
Common\ChartTypes\LineChart.cs (8)
1896
intersectionPoint2.
index
= secondPoint.index;
1916
intersectionPoint2.
index
= secondPoint.index;
1920
intersectionPoint.
index
= firstPoint.index;
1940
intersectionPoint.
index
= firstPoint.index;
2258
intersectionPoint2.
index
= secondPoint.index;
2300
intersectionPoint2.
index
= secondPoint.index;
2304
intersectionPoint.
index
= firstPoint.index;
2346
intersectionPoint.
index
= firstPoint.index;
Common\ChartTypes\RangeChart.cs (8)
1052
intersectionPoint.
index
= secondPoint.index;
1072
intersectionPoint.
index
= firstPoint.index;
1280
dp1.
index
= firstPoint.index;
1285
dp2.
index
= secondPoint.index;
1353
dp1.
index
= firstPoint.index;
1358
dp2.
index
= secondPoint.index;
1377
dp1.
index
= firstPoint.index;
1382
dp2.
index
= secondPoint.index;
Common\General\ChartGraphics3D.cs (8)
1618
dp1.
index
= firstPoint.index;
1623
dp2.
index
= secondPoint.index;
1624
dp2.
index
= secondPoint.index;
1630
dp2.
index
= firstPoint.index;
1635
dp1.
index
= secondPoint.index;
2020
intersectionPoint2.
index
= secondPoint.index;
2037
intersectionPoint2.
index
= secondPoint.index;
2055
intersectionPoint.
index
= firstPoint.index;
192 references to index
System.Windows.Forms.DataVisualization (192)
Common\ChartTypes\AreaChart.cs (26)
704
secondPoint.
index
- 1,
713
if(firstPoint.
index
> secondPoint.
index
)
731
firstPoint = ChartGraphics.FindPointByIndex(points, secondPoint.
index
- 1, (this.multiSeries) ? secondPoint : null, ref pointArrayIndex);
737
secondPoint = ChartGraphics.FindPointByIndex(points, firstPoint.
index
+ 1, (this.multiSeries) ? secondPoint : null, ref pointArrayIndex);
742
secondPoint = ChartGraphics.FindPointByIndex(points, secondPoint.
index
- 1, (this.multiSeries) ? secondPoint : null, ref pointArrayIndex);
764
if(p.
index
== firstPoint.
index
)
805
dp1.index = firstPoint.
index
;
810
dp2.index = secondPoint.
index
;
817
dp2.index = firstPoint.
index
;
822
dp1.index = secondPoint.
index
;
951
else if(firstPoint.
index
> secondPoint.
index
)
1134
intersectionPoint.index = secondPoint.
index
;
1151
intersectionPoint.index = firstPoint.
index
;
1285
dp1.index = firstPoint.
index
;
1290
dp2.index = secondPoint.
index
;
1319
dp1.index = leftMostPoint.
index
;
1324
dp2.index = leftMostPoint.
index
;
1348
dp1.index = rightMostPoint.
index
;
1353
dp2.index = rightMostPoint.
index
;
1372
dp1.index = firstPoint.
index
;
1377
dp2.index = secondPoint.
index
;
1406
dp1.index = firstPoint.
index
;
1412
dp2.index = secondPoint.
index
;
Common\ChartTypes\BarChart.cs (10)
1408
double yValue = hAxis.GetLogValue( GetYValue(common, area, ser, pointEx.dataPoint, pointEx.
index
- 1, (useTwoValues) ? 1 : 0) );
1428
double yValueStart = hAxis.GetLogValue( GetYValue(common, area, ser, pointEx.dataPoint, pointEx.
index
- 1, 0 ) );
1506
xValue = (pointEx.indexedSeries) ? pointEx.
index
: point.XValue;
1596
pointEx.
index
- 1 );
1623
double yValue = hAxis.GetLogValue( GetYValue(common, area, ser, pointEx.dataPoint, pointEx.
index
- 1, (useTwoValues) ? 1 : 0) );
1641
double yValueStart = hAxis.GetLogValue( GetYValue(common, area, ser, pointEx.dataPoint, pointEx.
index
- 1, 0 ) );
1696
xValue = (pointEx.indexedSeries) ? pointEx.
index
: point.XValue;
1707
DrawLabels3D(area, graph, common, rectSize, pointEx, ser, barStartPosition, barSize, pointEx.width, pointEx.
index
- 1);
1745
if((pointEx.
index
% ser.MarkerStep) == 0)
1870
if((pointEx.
index
% ser.MarkerStep) == 0)
Common\ChartTypes\ColumnChart.cs (6)
729
double yValue = GetYValue(common, area, ser, pointEx.dataPoint, pointEx.
index
- 1, (useTwoValues) ? 1 : 0);
750
double yValueStart = vAxis.GetLogValue( GetYValue(common, area, ser, point, pointEx.
index
- 1, 0 ) );
827
double xValue = (pointEx.indexedSeries) ? pointEx.
index
: point.XValue;
901
pointEx.
index
- 1
924
pointEx.
index
- 1
1335
double pointLabelValue = GetYValue(common, area, pointEx.dataPoint.series, point, pointEx.
index
- 1, 0);
Common\ChartTypes\KagiChart.cs (7)
728
secondPoint.
index
- 1,
738
else if(firstPoint.
index
> secondPoint.
index
)
794
if(p.
index
== firstPoint.
index
)
812
if(secondPoint.
index
>= 3) //Point3D.index is 1 based
824
secondPoint.
index
- 2,
Common\ChartTypes\LineChart.cs (20)
1343
if(pointEx.
index
> 1)
1351
pointEx.
index
- 1,
1361
double yValue = GetYValue(common, area, ser, pointEx.dataPoint, pointEx.
index
- 1, 0);
1362
double yValuePrev = GetYValue(common, area, ser, prevDataPointEx.dataPoint, prevDataPointEx.
index
- 1, 0);
1363
double xValue = (pointEx.indexedSeries) ? pointEx.
index
: pointEx.dataPoint.XValue;
1364
double xValuePrev = (prevDataPointEx.indexedSeries) ? prevDataPointEx.
index
: prevDataPointEx.dataPoint.XValue;
1446
pointEx.
index
- 1 );
1514
secondPoint.
index
- 1,
1525
else if(firstPoint.
index
> secondPoint.
index
)
1580
if(Math.Abs(secondPoint.
index
- firstPoint.
index
) != 1)
1896
intersectionPoint2.index = secondPoint.
index
;
1916
intersectionPoint2.index = secondPoint.
index
;
1920
intersectionPoint.index = firstPoint.
index
;
1940
intersectionPoint.index = firstPoint.
index
;
2258
intersectionPoint2.index = secondPoint.
index
;
2300
intersectionPoint2.index = secondPoint.
index
;
2304
intersectionPoint.index = firstPoint.
index
;
2346
intersectionPoint.index = firstPoint.
index
;
Common\ChartTypes\PointChart.cs (7)
1123
double yValue = GetYValue(common, area, ser, pointEx.dataPoint, pointEx.
index
- 1, YValueIndex);
1134
double xValue = (pointEx.indexedSeries) ? (double)pointEx.
index
: point.XValue;
1208
if((pointEx.
index
% ser.MarkerStep) == 0)
1295
pointEx.
index
- 1
1308
pointEx.
index
- 1
1319
pointEx.
index
- 1
1353
labelInfo.PointEx.
index
- 1);
Common\ChartTypes\RangeChart.cs (18)
809
secondPoint.
index
- 1,
817
if(firstPoint.
index
> secondPoint.
index
)
835
firstPoint = ChartGraphics.FindPointByIndex(points, secondPoint.
index
- 1, (this.multiSeries) ? secondPoint : null, ref pointArrayIndex);
841
secondPoint = ChartGraphics.FindPointByIndex(points, firstPoint.
index
+ 1, (this.multiSeries) ? secondPoint : null, ref pointArrayIndex);
846
secondPoint = ChartGraphics.FindPointByIndex(points, secondPoint.
index
- 1, (this.multiSeries) ? secondPoint : null, ref pointArrayIndex);
932
else if(firstPoint.
index
> secondPoint.
index
)
1034
if(p.
index
== firstPoint.
index
)
1052
intersectionPoint.index = secondPoint.
index
;
1072
intersectionPoint.index = firstPoint.
index
;
1280
dp1.index = firstPoint.
index
;
1285
dp2.index = secondPoint.
index
;
1353
dp1.index = firstPoint.
index
;
1358
dp2.index = secondPoint.
index
;
1377
dp1.index = firstPoint.
index
;
1382
dp2.index = secondPoint.
index
;
Common\ChartTypes\StackedAreaChart.cs (9)
1165
if(pointEx.
index
== 2)
1169
DataPoint3D pointPrevEx = ChartGraphics.FindPointByIndex(points, pointEx.
index
- 1, pointEx, ref neighborPointIndex);
1231
DataPointCustomProperties pointProperties = ser.Points[secondPoint.
index
- 1];
1232
if(ser.Points[secondPoint.
index
- 1].IsEmpty)
1272
pointProperties = ser.Points[secondPoint.
index
- 1];
1273
if(ser.Points[secondPoint.
index
- 1].IsEmpty)
1311
double yValue = GetYValue(area.Common, area, firstPoint.dataPoint.series, firstPoint.dataPoint, firstPoint.
index
- 1, 0);
1340
yValue = GetYValue(area.Common, area, secondPoint.dataPoint.series, secondPoint.dataPoint, secondPoint.
index
- 1, 0);
1551
pointEx.
index
- 1);
Common\ChartTypes\StackedBarChart.cs (16)
1435
if(pointEx.
index
<= currentSeries.Points.Count &&
1436
currentSeries.Points[pointEx.
index
- 1].YValues[0] != 0.0)
1451
else if(pointEx.
index
<= currentSeries.Points.Count &&
1452
currentSeries.Points[pointEx.
index
- 1].YValues[0] != 0.0)
1486
if(pointEx.
index
< currentSeries.Points.Count &&
1487
currentSeries.Points[pointEx.
index
- 1].YValues[0] != 0.0)
1502
else if(pointEx.
index
< currentSeries.Points.Count &&
1503
currentSeries.Points[pointEx.
index
- 1].YValues[0] != 0.0)
1520
double yValue = GetYValue(common, area, ser, pointEx.dataPoint, pointEx.
index
- 1, 0);
1523
double barZeroValue = yValue - GetYValue(common, area, ser, pointEx.dataPoint, pointEx.
index
- 1, -1);
1555
double xValue = (pointEx.indexedSeries) ? pointEx.
index
: point.XValue;
1679
pointEx.
index
- 1
1706
double yValue = GetYValue(common, area, ser, pointEx.dataPoint, pointEx.
index
- 1, 0);
1718
double xValue = (pointEx.indexedSeries) ? pointEx.
index
: point.XValue;
1721
double barZeroValue = yValue - GetYValue(common, area, ser, pointEx.dataPoint, pointEx.
index
- 1, -1);
1772
DrawLabels3D( area, graph, common, rectSize, pointEx, ser, barZeroValue, height, pointEx.width, pointEx.
index
- 1);
Common\ChartTypes\StackedColumnChart.cs (16)
1477
if(pointEx.
index
<= currentSeries.Points.Count &&
1478
currentSeries.Points[pointEx.
index
- 1].YValues[0] != 0.0)
1493
else if(pointEx.
index
<= currentSeries.Points.Count &&
1494
currentSeries.Points[pointEx.
index
- 1].YValues[0] != 0.0)
1528
if(pointEx.
index
< currentSeries.Points.Count &&
1529
currentSeries.Points[pointEx.
index
- 1].YValues[0] != 0.0)
1545
else if(pointEx.
index
< currentSeries.Points.Count &&
1546
currentSeries.Points[pointEx.
index
- 1].YValues[0] != 0.0)
1563
double yValue = GetYValue(common, area, ser, pointEx.dataPoint, pointEx.
index
- 1, 0);
1566
double barZeroValue = yValue - GetYValue(common, area, ser, pointEx.dataPoint, pointEx.
index
- 1, -1);
1638
double xValue = (pointEx.indexedSeries) ? pointEx.
index
: point.XValue;
1712
common.HotRegionsList.AddHotRegion( rectPath, false, graph, point, ser.Name, pointEx.
index
- 1 );
1742
double yValue = GetYValue(common, area, ser, pointEx.dataPoint, pointEx.
index
- 1, 0);
1757
double barZeroValue = yValue - vAxis.GetLogValue(GetYValue(common, area, ser, pointEx.dataPoint, pointEx.
index
- 1, -1));
1796
double xValue = (pointEx.indexedSeries) ? pointEx.
index
: point.XValue;
1807
DrawLabels3D( common, graph, area, pointEx, pointEx.
index
- 1, ser, rectSize );
Common\ChartTypes\StepLineChart.cs (6)
266
secondPoint.
index
- 1,
276
else if(firstPoint.
index
> secondPoint.
index
)
305
if(p.
index
== firstPoint.
index
)
395
prevDataPointEx.
index
- 1 );
Common\General\ChartGraphics3D.cs (51)
1391
int firtsSplinePointIndex = (firstPoint.
index
< secondPoint.
index
) ? firstPoint.
index
: secondPoint.
index
;
1414
if(splineDataPoints[splineSegmentOffset].
index
== firstPoint.
index
||
1415
splineDataPoints[splineSegmentOffset].
index
== secondPoint.
index
)
1492
if(firstPoint.
index
> secondPoint.
index
)
1594
if(p.
index
== firstPoint.
index
)
1618
dp1.index = firstPoint.
index
;
1623
dp2.index = secondPoint.
index
;
1624
dp2.index = secondPoint.
index
;
1630
dp2.index = firstPoint.
index
;
1635
dp1.index = secondPoint.
index
;
2001
if(p.
index
== firstPoint.
index
)
2020
intersectionPoint2.index = secondPoint.
index
;
2037
intersectionPoint2.index = secondPoint.
index
;
2055
intersectionPoint.index = firstPoint.
index
;
2206
if(firstPoint.
index
> secondPoint.
index
)
2495
leftPoint = ChartGraphics.FindPointByIndex(points, Math.Min(firstPoint.
index
, secondPoint.
index
) - 1, (multiSeries) ? secondPoint : null, ref pointArrayIndex);
2496
leftPointAttr = ChartGraphics.FindPointByIndex(points, Math.Min(firstPoint.
index
, secondPoint.
index
), (multiSeries) ? secondPoint : null, ref pointArrayIndex);
2500
leftPoint = ChartGraphics.FindPointByIndex(points, Math.Max(firstPoint.
index
, secondPoint.
index
) + 1, (multiSeries) ? secondPoint : null, ref pointArrayIndex);
2523
double xValue = (leftPoint.indexedSeries) ? leftPoint.
index
: leftPoint.dataPoint.XValue;
2529
currentPoint = (firstPoint.
index
> secondPoint.
index
) ? firstPoint : secondPoint;
2533
currentPoint = (firstPoint.
index
< secondPoint.
index
) ? firstPoint : secondPoint;
2535
double currentXValue = (currentPoint.indexedSeries) ? currentPoint.
index
: currentPoint.dataPoint.XValue;
2551
rightPoint = ChartGraphics.FindPointByIndex(points, Math.Max(firstPoint.
index
, secondPoint.
index
) + 1, (multiSeries) ? secondPoint : null, ref pointArrayIndex);
2556
rightPoint = ChartGraphics.FindPointByIndex(points, Math.Min(firstPoint.
index
, secondPoint.
index
) - 1, (multiSeries) ? secondPoint : null, ref pointArrayIndex);
2557
rightPointAttr = ChartGraphics.FindPointByIndex(points, Math.Min(firstPoint.
index
, secondPoint.
index
), (multiSeries) ? secondPoint : null, ref pointArrayIndex);
2579
double xValue = (rightPoint.indexedSeries) ? rightPoint.
index
: rightPoint.dataPoint.XValue;
2585
currentPoint = (firstPoint.
index
> secondPoint.
index
) ? firstPoint : secondPoint;
2589
currentPoint = (firstPoint.
index
< secondPoint.
index
) ? firstPoint : secondPoint;
2591
double currentXValue = (currentPoint.indexedSeries) ? currentPoint.
index
: currentPoint.dataPoint.XValue;
2703
if( point.
index
== index &&
2717
if( point.
index
== index &&
2732
if(point3D.
index
== index)