567 references to Points
System.Web.DataVisualization (567)
Common\Annotation\AnnotationBase.cs (2)
3287
dataPoint = Chart.Series[seriesName].
Points
[index];
3356
int pointIndex = dataPoint.series.
Points
.IndexOf(dataPoint);
Common\ChartTypes\BarChart.cs (14)
407
|| ser.ChartArea != area.Name || ser.
Points
.Count == 0 || !ser.IsVisible())
429
if(ser.
Points
.Count == 1 &&
468
foreach( DataPoint point in ser.
Points
)
1212
int nextIndx = series.
Points
.Count - 1; // Next data point index
1241
if( !series.
Points
[indx].IsEmpty )
1243
previousPoint = series.
Points
[indx].YValues[yValueIndex];
1251
for( int indx = pointIndex; indx < series.
Points
.Count; indx++ )
1253
if( !series.
Points
[indx].IsEmpty )
1255
nextPoint = series.
Points
[indx].YValues[yValueIndex];
1284
if( series.
Points
[nextIndx].XValue == series.
Points
[prevIndx].XValue )
1290
double aCoeff = (previousPoint - nextPoint) / (series.
Points
[nextIndx].XValue - series.
Points
[prevIndx].XValue);
1291
return -aCoeff * (point.XValue - series.
Points
[prevIndx].XValue) + previousPoint;
Common\ChartTypes\BoxPlotChart.cs (12)
321
foreach( DataPoint point in ser.
Points
)
593
foreach( DataPoint point in ser.
Points
)
1102
foreach( DataPoint point in ser.
Points
)
1381
foreach( DataPoint point in ser.
Points
)
1563
boxPlotSeries.
Points
.Clear();
1567
boxPlotSeries.
Points
.AddY(0.0);
1568
boxPlotSeries.
Points
[pointIndex++][CustomPropertyName.BoxPlotSeries] = val.Trim();
1573
for(int pointIndex = 0; pointIndex < boxPlotSeries.
Points
.Count; pointIndex++)
1575
DataPoint point = boxPlotSeries.
Points
[pointIndex];
1617
if (linkedSeries.
Points
.Count == 0)
1625
foreach(DataPoint point in linkedSeries.
Points
)
1637
foreach(DataPoint point in linkedSeries.
Points
)
Common\ChartTypes\BubbleChart.cs (2)
276
foreach(DataPoint point in ser.
Points
)
404
foreach(DataPoint point in ser.
Points
)
Common\ChartTypes\ColumnChart.cs (4)
318
|| ser.ChartArea != area.Name || ser.
Points
.Count == 0 || !ser.IsVisible())
343
if (ser.
Points
.Count == 1 &&
381
foreach( DataPoint point in ser.
Points
)
623
if( series.
Points
[pointIndex].YValues[0] >= 0 )
Common\ChartTypes\ErrorBarChart.cs (13)
449
foreach( DataPoint point in ser.
Points
)
611
foreach( DataPoint point in ser.
Points
)
1203
foreach( DataPoint point in ser.
Points
)
1380
foreach( DataPoint point in ser.
Points
)
1672
int pointNumber = errorBarSeries.
Points
.Count;
1676
foreach(DataPoint point in errorBarSeries.
Points
)
1711
foreach(DataPoint point in errorBarSeries.
Points
)
1719
foreach(DataPoint point in errorBarSeries.
Points
)
1742
foreach(DataPoint point in errorBarSeries.
Points
)
1760
foreach(DataPoint point in errorBarSeries.
Points
)
1838
errorBarSeries.
Points
.Clear();
1839
foreach(DataPoint point in linkedSeries.
Points
)
1842
errorBarSeries.
Points
.AddXY(point.XValue, point.GetValueByName(valueName));
Common\ChartTypes\FastLineChart.cs (1)
346
foreach( DataPoint point in series.
Points
)
Common\ChartTypes\FastPointChart.cs (1)
351
foreach( DataPoint point in series.
Points
)
Common\ChartTypes\FunnelChart.cs (18)
558
height = (float)(plotAreaHeightAbs * (GetXValue(series.
Points
[pointIndex]) / this._xValueTotal));
566
startWidth = (float)(plotAreaPositionAbs.Width * (GetYValue(series.
Points
[pointIndex-1], pointIndex-1) / this._yValueMax));
567
endWidth = (float)(plotAreaPositionAbs.Width * (GetYValue(series.
Points
[pointIndex], pointIndex) / this._yValueMax));
577
height = (float)(plotAreaHeightAbs * (GetYValue(series.
Points
[pointIndex], pointIndex) / this.yValueTotal));
617
series.
Points
[pointIndex].positionRel = Graph.GetRelativePoint(pointPositionAbs);
1385
for( int pointIndex = 0; pointIndex >= 0 && pointIndex < series.
Points
.Count; pointIndex += 1 )
1387
DataPoint point = series.
Points
[pointIndex];
1417
series.
Points
[pointIndex-1].Color.A != 255)
1432
series.
Points
[pointIndex-1].Color.A != 255)
1444
if( pointIndex == series.
Points
.Count - 1)
1455
else if(series.
Points
[pointIndex+1].Color.A != 255)
1619
foreach( DataPoint point in series.
Points
)
2614
foreach( DataPoint point in series.
Points
)
2633
double[] percentages = new double[series.
Points
.Count];
2637
double yValue = GetYValue(series.
Points
[loop], loop);
2645
foreach( DataPoint point in series.
Points
)
2924
height = (float)(plotAreaHeightAbs * (GetYValue(series.
Points
[pointIndex], pointIndex) / this.yValueTotal));
2965
series.
Points
[pointIndex].positionRel = Graph.GetRelativePoint(pointPositionAbs);
Common\ChartTypes\KagiChart.cs (18)
140
foreach(DataPoint dp in series.
Points
)
142
seriesOriginalData.
Points
.Add(dp);
144
series.
Points
.Clear();
171
foreach(DataPoint dp in seriesOriginalData.
Points
)
227
kagiSeries.
Points
.Clear();
230
foreach(DataPoint dp in series.
Points
)
232
kagiSeries.
Points
.Add(dp);
366
foreach(DataPoint dataPoint in originalData.
Points
)
380
series.
Points
.Add(newDataPoint);
412
series.
Points
[series.
Points
.Count - 1].YValues[0] =
414
series.
Points
[series.
Points
.Count - 1]["OriginalPointIndex"] = pointIndex.ToString(CultureInfo.InvariantCulture);
415
series.
Points
[series.
Points
.Count - 1].Tag = dataPoint;
433
series.
Points
.Add(newDataPoint);
638
PointF[] pointPos = new PointF[series.
Points
.Count];
640
foreach( DataPoint point in series.
Points
)
Common\ChartTypes\LineChart.cs (18)
418
dataPointPos = new PointF[ser.
Points
.Count];
471
foreach( DataPoint point in ser.
Points
)
524
(index + 1) < ser.
Points
.Count)
526
DataPoint nextPoint = ser.
Points
[index + 1];
689
ser.
Points
.Count == 1)
697
ser.
Points
[0].MarkerStyle != MarkerStyle.None ||
698
ser.
Points
[0].MarkerImage.Length > 0 ||
700
ser.
Points
[0].IsValueShownAsLabel ||
701
ser.
Points
[0].Label.Length > 0 )
1093
int pointsCount = series.
Points
.Count; // Number of data points
1104
double current = GetYValue(Common, Area, series, series.
Points
[pointIndex], pointIndex, 0);
1110
previous = GetYValue(Common, Area, series, series.
Points
[pointIndex-1], pointIndex-1, 0);
1113
next = GetYValue(Common, Area, series, series.
Points
[pointIndex+1], pointIndex+1, 0);
1126
previous = GetYValue(Common, Area, series, series.
Points
[pointIndex-1], pointIndex-1, 0);
1139
next = GetYValue(Common, Area, series, series.
Points
[pointIndex + 1], pointIndex + 1, 0);
1160
PointF[] pointPos = new PointF[series.
Points
.Count];
1162
foreach( DataPoint point in series.
Points
)
1248
foreach(DataPoint dp in currentSeries.
Points
)
Common\ChartTypes\PieChart.cs (28)
325
foreach(DataPoint dp in series.
Points
)
327
seriesOriginalData.
Points
.Add(dp.Clone());
339
foreach(DataPoint dp in series.
Points
)
382
for(int dataPointIndex = 0; dataPointIndex < series.
Points
.Count; dataPointIndex++)
384
DataPoint dataPoint = series.
Points
[dataPointIndex];
401
series.
Points
.RemoveAt(firstCollectedPointIndex);
408
series.
Points
.RemoveAt(dataPointIndex);
423
series.
Points
.Add(collectedPoint);
491
pieSeries.
Points
.Clear();
494
foreach(DataPoint dp in series.
Points
)
496
pieSeries.
Points
.Add(dp);
731
foreach( DataPoint point in dataSeries[typeSeries[0]].
Points
)
760
CheckPaleteColors( dataSeries[typeSeries[0]].
Points
);
767
foreach( DataPoint point in dataSeries[typeSeries[0]].
Points
)
2421
foreach( DataPoint point in dataSeries[typeSeries[0]].
Points
)
2431
foreach( DataPoint point in dataSeries[typeSeries[0]].
Points
)
2478
CheckPaleteColors( dataSeries[typeSeries[0]].
Points
);
4345
foreach( DataPoint point in series.
Points
)
4357
int numOfPoints = series.
Points
.Count - numOfEmpty;
4383
foreach( DataPoint point in series.
Points
)
4476
foreach( DataPoint point in series.
Points
)
4507
foreach( DataPoint point in series.
Points
)
4547
foreach( DataPoint point in series.
Points
)
4581
foreach( DataPoint point in series.
Points
)
4624
foreach( DataPoint point in series.
Points
)
4660
foreach( DataPoint point in series.
Points
)
4694
foreach( DataPoint point in series.
Points
)
4727
foreach( DataPoint point in series.
Points
)
Common\ChartTypes\PointAndFigureChart.cs (27)
164
foreach(DataPoint dp in series.
Points
)
166
seriesOriginalData.
Points
.Add(dp);
168
series.
Points
.Clear();
195
foreach(DataPoint dp in seriesOriginalData.
Points
)
259
pointAndFigureSeries.
Points
.Clear();
262
foreach(DataPoint dp in series.
Points
)
264
pointAndFigureSeries.
Points
.Add(dp);
329
foreach(DataPoint dp in originalData.
Points
)
560
foreach(DataPoint dataPoint in originalData.
Points
)
602
if (series.
Points
.Count > 0)
604
series.
Points
[series.
Points
.Count - 1].YValues[0] -= numberOfBricks * boxSize;
632
if (series.
Points
.Count > 0)
634
series.
Points
[series.
Points
.Count - 1].YValues[1] += numberOfBricks * boxSize;
649
series.
Points
[series.
Points
.Count - 1].YValues[1] += numberOfBricks * boxSize;
651
series.
Points
[series.
Points
.Count - 1]["OriginalPointIndex"] = pointIndex.ToString(CultureInfo.InvariantCulture);
655
series.
Points
[series.
Points
.Count - 1].YValues[0] -= numberOfBricks * boxSize;
657
series.
Points
[series.
Points
.Count - 1]["OriginalPointIndex"] = pointIndex.ToString(CultureInfo.InvariantCulture);
684
series.
Points
.Add(newDataPoint);
764
pointCount = (int)(pointAndFigureSeries.
Points
.Count * (markSize.Width / markSize.Height));
771
while(pointAndFigureSeries.
Points
.Count < pointCount)
773
pointAndFigureSeries.
Points
.Add(emptyPoint);
Common\ChartTypes\PointChart.cs (13)
368
foreach( DataPoint point in ser.
Points
)
1546
int nextIndx = series.
Points
.Count - 1; // Next data point index
1575
if( !series.
Points
[indx].IsEmpty )
1577
previousPoint = series.
Points
[indx].YValues[YValueIndex];
1585
for( int indx = pointIndex; indx < series.
Points
.Count; indx++ )
1587
if( !series.
Points
[indx].IsEmpty )
1589
nextPoint = series.
Points
[indx].YValues[YValueIndex];
1618
if( series.
Points
[nextIndx].XValue == series.
Points
[prevIndx].XValue )
1624
double aCoeff = (previousPoint - nextPoint) / (series.
Points
[nextIndx].XValue - series.
Points
[prevIndx].XValue);
1625
return -aCoeff * (point.XValue - series.
Points
[prevIndx].XValue) + previousPoint;
1656
foreach( DataPoint point in series.
Points
)
Common\ChartTypes\PolarChart.cs (2)
235
PointF[] pointPos = new PointF[series.
Points
.Count + 1];
237
foreach( DataPoint point in series.
Points
)
Common\ChartTypes\RadarChart.cs (29)
303
sectorNumber = (int)Math.Max(series.
Points
.Count, sectorNumber);
413
foreach( DataPoint point in ser.
Points
)
417
if(secondPointIndex >= ser.
Points
.Count)
425
if(ser.
Points
[secondPointIndex].IsEmpty)
427
pointAttributes = ser.
Points
[secondPointIndex];
443
vAxis.GetLogValue(ser.
Points
[secondPointIndex].YValues[0]) > vAxisMax || vAxis.GetLogValue(ser.
Points
[secondPointIndex].YValues[0]) < vAxisMin)
509
foreach( DataPoint point in ser.
Points
)
516
if(secondPointIndex >= ser.
Points
.Count)
524
if(ser.
Points
[secondPointIndex].IsEmpty)
526
pointAttributes = ser.
Points
[secondPointIndex];
542
vAxis.GetLogValue(ser.
Points
[secondPointIndex].YValues[0]) > vAxisMax || vAxis.GetLogValue(ser.
Points
[secondPointIndex].YValues[0]) < vAxisMin)
644
if (secondPointIndex < ser.
Points
.Count)
701
foreach( DataPoint point in ser.
Points
)
982
PointF[] pointPos = new PointF[series.
Points
.Count + 1];
984
foreach( DataPoint point in series.
Points
)
1442
int nextIndx = series.
Points
.Count - 1; // Next data point index
1471
if( !series.
Points
[indx].IsEmpty )
1473
previousPoint = series.
Points
[indx].YValues[0];
1481
for( int indx = pointIndex; indx < series.
Points
.Count; indx++ )
1483
if( !series.
Points
[indx].IsEmpty )
1485
nextPoint = series.
Points
[indx].YValues[0];
1514
if( series.
Points
[nextIndx].XValue == series.
Points
[prevIndx].XValue )
1520
double aCoeff = (previousPoint - nextPoint) / (series.
Points
[nextIndx].XValue - series.
Points
[prevIndx].XValue);
1521
return -aCoeff * (point.XValue - series.
Points
[prevIndx].XValue) + previousPoint;
1548
foreach( DataPoint point in series.
Points
)
Common\ChartTypes\RangeChart.cs (8)
494
double xValue = (indexedSeries) ? pointIndex + 1 : series.
Points
[pointIndex].XValue;
495
double xPrevValue = (indexedSeries) ? pointIndex : series.
Points
[pointIndex - 1].XValue;
498
series.
Points
[pointIndex-1].YValues[1] < vAxisMin || series.
Points
[pointIndex-1].YValues[1] > vAxisMax ||
499
series.
Points
[pointIndex].YValues[1] < vAxisMin || series.
Points
[pointIndex].YValues[1] > vAxisMax )
540
if (pointIndex == series.
Points
.Count - 1)
595
if(pointIndex == series.
Points
.Count - 1)
Common\ChartTypes\RenkoChart.cs (10)
143
foreach(DataPoint dp in series.
Points
)
145
seriesOriginalData.
Points
.Add(dp);
147
series.
Points
.Clear();
176
foreach(DataPoint dp in seriesOriginalData.
Points
)
232
renkoSeries.
Points
.Clear();
235
foreach (DataPoint dp in series.
Points
)
237
renkoSeries.
Points
.Add(dp);
339
foreach(DataPoint dp in originalData.
Points
)
426
foreach(DataPoint dataPoint in originalData.
Points
)
516
series.
Points
.Add(newDataPoint);
Common\ChartTypes\StackedAreaChart.cs (23)
178
_totalPerPoint = new double[series.
Points
.Count];
181
for(int index = 0; index < series.
Points
.Count; index++)
186
_totalPerPoint[index] += Math.Abs(ser.
Points
[index].YValues[0]);
251
yValue = (ser.
Points
[pointIndex].YValues[0] / _totalPerPoint[pointIndex]) * 100.0;
291
prevPositionX = ser.
Points
[pointIndex].XValue;
480
seriesPointsNumber = ser.
Points
.Count;
482
else if(seriesPointsNumber != ser.
Points
.Count)
504
curentPointsArray = new ArrayList(ser.
Points
.Count);
509
curentPointsArray = new ArrayList(ser.
Points
.Count);
524
foreach( DataPoint point in ser.
Points
)
594
double xPrevValue = (indexedSeries) ? (index) : ser.
Points
[index - 1].XValue;
826
curentPointsArray = new ArrayList(ser.
Points
.Count);
831
curentPointsArray = new ArrayList(ser.
Points
.Count);
840
foreach( DataPoint point in ser.
Points
)
932
curentPointsArray = new ArrayList(ser.
Points
.Count);
937
curentPointsArray = new ArrayList(ser.
Points
.Count);
946
foreach( DataPoint point in ser.
Points
)
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)
1628
yValue = ser.
Points
[pointIndex].YValues[0];
1661
prevPositionX = ser.
Points
[pointIndex].XValue;
Common\ChartTypes\StackedBarChart.cs (18)
164
double[] totals = new double[series.
Points
.Count];
167
for(int index = 0; index < series.
Points
.Count; index++)
172
totals[index] += Math.Abs(ser.
Points
[index].YValues[0]);
255
yValue = (ser.
Points
[pointIndex].YValues[0] / currentGroupTotalPerPoint[pointIndex]) * 100.0;
266
yValue = (ser.
Points
[pointIndex].YValues[0] / currentGroupTotalPerPoint[pointIndex]) * 100.0;
666
if( pointIndx >= ser.
Points
.Count )
682
DataPoint point = ser.
Points
[ pointIndx ];
695
if (ser.
Points
.Count == 1 &&
1304
yValue = ser.
Points
[pointIndex].YValues[0];
1308
yValue = ser.
Points
[pointIndex].YValues[0];
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)
Common\ChartTypes\StackedColumnChart.cs (18)
157
double[] totals = new double[series.
Points
.Count];
160
for(int index = 0; index < series.
Points
.Count; index++)
165
totals[index] += Math.Abs(ser.
Points
[index].YValues[0]);
250
yValue = (ser.
Points
[pointIndex].YValues[0] / currentGroupTotalPerPoint[pointIndex]) * 100.0;
261
yValue = (ser.
Points
[pointIndex].YValues[0] / currentGroupTotalPerPoint[pointIndex]) * 100.0;
676
if( pointIndx >= ser.
Points
.Count )
691
DataPoint point = ser.
Points
[ pointIndx ];
705
if (ser.
Points
.Count == 1 &&
1347
yValue = ser.
Points
[pointIndex].YValues[0];
1351
yValue = ser.
Points
[pointIndex].YValues[0];
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)
Common\ChartTypes\StepLineChart.cs (1)
197
series.
Points
[pointIndex - 1],
Common\ChartTypes\StockChart.cs (5)
369
foreach( DataPoint point in ser.
Points
)
487
foreach( DataPoint point in ser.
Points
)
1178
foreach( DataPoint point in ser.
Points
)
1301
foreach( DataPoint point in ser.
Points
)
1823
foreach( DataPoint point in series.
Points
)
Common\ChartTypes\ThreeLineBreakChart.cs (9)
144
foreach(DataPoint dp in series.
Points
)
146
seriesOriginalData.
Points
.Add(dp);
148
series.
Points
.Clear();
177
foreach(DataPoint dp in seriesOriginalData.
Points
)
233
threeLineBreakSeries.
Points
.Clear();
236
foreach (DataPoint dp in series.
Points
)
238
threeLineBreakSeries.
Points
.Add(dp);
340
foreach(DataPoint dataPoint in originalData.
Points
)
494
series.
Points
.Add(newDataPoint);
Common\Converters\AnnotationConverters.cs (1)
84
int pointIndex = dataPoint.series.
Points
.IndexOf(dataPoint) + 1;
Common\DataManager\DataManager.cs (50)
303
numberOfPoints = Math.Max(numberOfPoints, this._series[seriesName].
Points
.Count);
319
foreach(DataPoint seriesPoint in this._series[seriesName].
Points
)
347
foreach(DataPoint seriesPoint in this._series[seriesName].
Points
)
382
foreach(DataPoint seriesPoint in this._series[seriesName].
Points
)
417
foreach(DataPoint seriesPoint in this._series[seriesName].
Points
)
451
foreach(DataPoint seriesPoint in this._series[seriesName].
Points
)
481
foreach(DataPoint seriesPoint in this._series[seriesName].
Points
)
501
foreach(DataPoint seriesPoint in this._series[seriesName].
Points
)
522
foreach(DataPoint seriesPoint in this._series[seriesName].
Points
)
552
foreach(DataPoint seriesPoint in this._series[seriesName].
Points
)
585
foreach(DataPoint seriesPoint in series.
Points
)
622
if(this._series[seriesName].
Points
.Count > pointIndex)
634
if(this._series[seriesName].
Points
[pointIndex].YValues[valueIndex] > 0)
636
stackedMax += this._series[seriesName].
Points
[pointIndex].YValues[valueIndex];
641
noStackedMax = Math.Max(noStackedMax,this._series[seriesName].
Points
[pointIndex].YValues[valueIndex]);
668
if (this._series[seriesName].
Points
.Count > pointIndex)
675
if (chartType.StackSign || double.IsNaN(this._series[seriesName].
Points
[pointIndex].YValues[valueIndex]))
683
stackedMax += this._series[seriesName].
Points
[pointIndex].YValues[valueIndex];
689
noStackedMax = Math.Max(noStackedMax, this._series[seriesName].
Points
[pointIndex].YValues[valueIndex]);
713
if (this._series[seriesName].
Points
.Count > pointIndex)
715
if (this._series[seriesName].
Points
[pointIndex].XValue > 0)
717
doubleIndexValue += this._series[seriesName].
Points
[pointIndex].XValue;
737
foreach(DataPoint seriesPoint in this._series[seriesName].
Points
)
765
foreach(DataPoint seriesPoint in this._series[seriesName].
Points
)
799
foreach(DataPoint seriesPoint in this._series[seriesName].
Points
)
829
foreach(DataPoint seriesPoint in this._series[seriesName].
Points
)
853
if(this._series[seriesName].
Points
.Count > pointIndex)
860
if( !chartType.StackSign || double.IsNaN(this._series[seriesName].
Points
[pointIndex].YValues[valueIndex]))
865
if(this._series[seriesName].
Points
[pointIndex].YValues[valueIndex] < 0)
867
stackedMin += this._series[seriesName].
Points
[pointIndex].YValues[valueIndex];
872
noStackedMin = Math.Min(noStackedMin,this._series[seriesName].
Points
[pointIndex].YValues[valueIndex]);
879
stackedMin = this._series[series[0]].
Points
[this._series[series[0]].
Points
.Count - 1].YValues[valueIndex];
904
if (this._series[seriesName].
Points
.Count > pointIndex)
911
if (chartType.StackSign || double.IsNaN(this._series[seriesName].
Points
[pointIndex].YValues[valueIndex]))
918
if (this._series[seriesName].
Points
[pointIndex].YValues[valueIndex] < 0)
920
stackedMin += this._series[seriesName].
Points
[pointIndex].YValues[valueIndex];
927
noStackedMin = Math.Min(noStackedMin, this._series[seriesName].
Points
[pointIndex].YValues[valueIndex]);
951
if(this._series[seriesName].
Points
[pointIndex].XValue < 0)
953
doubleIndexValue += this._series[seriesName].
Points
[pointIndex].XValue;
983
for(int pointIndex = 0; pointIndex < this._series[series[0]].
Points
.Count; pointIndex++)
992
totalPerPoint += Math.Abs(ser.
Points
[pointIndex].YValues[0]);
996
totalPerPoint += ser.
Points
[pointIndex].YValues[0];
999
if(ser.
Points
[pointIndex].YValues[0] > 0 || supportNegative == false)
1001
positiveTotalPerPoint += ser.
Points
[pointIndex].YValues[0];
1043
for(int pointIndex = 0; pointIndex < this._series[series[0]].
Points
.Count; pointIndex++)
1052
totalPerPoint += Math.Abs(ser.
Points
[pointIndex].YValues[0]);
1056
totalPerPoint += ser.
Points
[pointIndex].YValues[0];
1059
if(ser.
Points
[pointIndex].YValues[0] < 0 || supportNegative == false)
1061
negativeTotalPerPoint += ser.
Points
[pointIndex].YValues[0];
Common\DataManager\DataPoint.cs (1)
2468
result = result.Replace(KeywordName.Index, this.series.
Points
.IndexOf(this).ToString(System.Globalization.CultureInfo.InvariantCulture));
Common\DataManager\DataSeries.cs (28)
1062
foreach(DataPoint point in this.
Points
)
1078
foreach(DataPoint point in this.
Points
)
1251
if(this.
Points
.Count > 0)
1253
keywordValue = totalValue / this.
Points
.Count;
1259
if(this.
Points
.Count > 0)
1261
keywordValue = this.
Points
[0].YValues[yValueIndex];
1267
if(this.
Points
.Count > 0)
1269
keywordValue = this.
Points
[this.
Points
.Count - 1].YValues[yValueIndex];
1275
if (this.
Points
.Count > 0)
1278
foreach (DataPoint point in this.
Points
)
1287
if (this.
Points
.Count > 0)
1290
foreach (DataPoint point in this.
Points
)
1377
this.
Points
.ItemList.Sort(comparer);
1403
this.
Points
.ItemList.Sort(comparer);
1421
foreach (DataPoint dp in fromSeries.
Points
)
1428
if (index > -1 && index < toSeries.
Points
.Count)
1430
toSeries.
Points
[index].positionRel = dp.positionRel;
1527
foreach (DataPoint p in this.
Points
)
1533
this.
Points
.Clear();
1597
if(this.
Points
.Count > 0 && this.
Points
[0].YValues.Length < this.YValuesPerPoint)
1600
foreach(DataPoint dp in this.
Points
)
1608
if(this.
Points
.Count == 0)
1629
this.
Points
.DataBindXY(GetDummyData(_xValueType), GetDummyData(_yValueType));
1638
this.
Points
.DataBindXY(xValues, GetDummyData(_yValueType));
1644
foreach(DataPoint point in this.
Points
)
1699
foreach(DataPoint point in this.
Points
)
Common\General\AxisLabels.cs (6)
504
foreach( DataPoint dataPoint in Common.DataManager.Series[ seriesIndx ].
Points
)
807
maxPointCount = Math.Max(maxPointCount, ser.
Points
.Count);
820
if( ser.
Points
[ 0 ].AxisLabel.Length > 0 && ser.
Points
[ ser.
Points
.Count - 1 ].AxisLabel.Length > 0 )
900
foreach( DataPoint point in series.
Points
)
Common\General\AxisScaleBreaks.cs (2)
967
numberOfPoints = Math.Max(numberOfPoints, series.
Points
.Count);
1003
foreach(DataPoint dataPoint in series.
Points
)
Common\General\Chart.cs (13)
738
series.
Points
.Clear();
895
series.
Points
.DataPointInit(ref newDataPoint);
897
series.
Points
.Add(newDataPoint);
909
series.
Points
.DataPointInit(ref newDataPoint);
910
series.
Points
.Add(newDataPoint);
995
foreach(DataPoint point in series.
Points
)
1051
foreach(DataPoint point in series.
Points
)
1066
if(index >= series.
Points
.Count ||
1067
series.
Points
[index].XValue != index + 1)
1074
series.
Points
.Insert(index, newPoint);
1304
series.
Points
.Add(newDataPoint);
1317
series.
Points
.Add(newDataPoint);
3763
foreach( DataPoint point in series.
Points
)
Common\General\ChartArea.cs (4)
2917
if(series.IsVisible() && series.ChartArea == this.Name && sectorIndex < series.
Points
.Count)
2919
if(series.
Points
[sectorIndex].AxisLabel.Length > 0)
2921
axis.Title = series.
Points
[sectorIndex].AxisLabel;
2983
if (series.ChartArea==this.Name && series.IsVisible() && series.
Points
.Count > 0)
Common\General\ChartArea3D.cs (2)
1635
if(((Series)seriesList[seriesIndex]).
Points
.Count == 0)
1831
foreach( DataPoint point in ser.
Points
)
Common\General\ChartAreaAxes.cs (7)
629
foreach( DataPoint point in dataSeries.
Points
)
1284
numOfPoints += series.
Points
.Count;
1409
if (series.ChartArea == this.Name && series.IsVisible() && series.
Points
.Count > 0)
1796
if(dataSeries.
Points
.Count > 0)
1800
prevXValue = Math.Log(dataSeries.
Points
[0].XValue, logarithmicBase);
1804
prevXValue = dataSeries.
Points
[0].XValue;
1807
foreach( DataPoint point in dataSeries.
Points
)
Common\General\ChartElement.cs (11)
963
return -(series.
Points
.Count + 1);
1175
if(pointIndex >= series.
Points
.Count || series.
Points
.Count <= 1)
1182
double xValue = series.
Points
[pointIndex].XValue;
1197
DateTime dateValue = DateTime.FromOADate(series.
Points
[pointIndex].XValue);
1256
while(pointIndex < series.
Points
.Count)
1258
if(series.
Points
[pointIndex].XValue >= xEndValue)
1260
if(series.
Points
[pointIndex].XValue > xEndValue && !forceIntIndex)
1271
if(pointIndex == series.
Points
.Count)
1273
pointIndex += series.
Points
.Count/5 + 1;
1391
foreach( DataPoint point in series.
Points
)
Common\General\DataManipulator.cs (78)
431
foreach(DataPoint point in series[0].
Points
)
451
foreach(DataPoint point in series[0].
Points
)
459
series[seriesIndex].
Points
.Insert(toIndex, series[seriesIndex].
Points
[toIndex + fromIndex]);
469
while(series[seriesIndex].
Points
.Count > series[0].
Points
.Count)
471
series[seriesIndex].
Points
.RemoveAt(series[seriesIndex].
Points
.Count - 1);
478
foreach(DataPoint point in series[0].
Points
)
611
if(ser.
Points
.Count >= 1)
617
toX = ser.
Points
[ser.
Points
.Count - 1].XValue;
621
toX = Math.Max(toX, ser.
Points
[ser.
Points
.Count - 1].XValue);
628
fromX = ser.
Points
[0].XValue;
632
fromX = Math.Min(fromX, ser.
Points
[0].XValue);
693
for(int pointIndex = lastInsertPoint; pointIndex < ser.
Points
.Count; pointIndex++)
696
if(ser.
Points
[pointIndex].XValue == currentPointValue)
703
if(ser.
Points
[pointIndex].XValue > currentPointValue)
710
if(pointIndex == (ser.
Points
.Count - 1))
712
insertPosition = ser.
Points
.Count;
726
ser.
Points
.Insert(insertPosition, dataPoint);
947
foreach( DataPoint point in ser.
Points
)
1013
foreach(DataPoint point in ser.
Points
)
1217
output[seriesIndex].
Points
.Clear();
1236
foreach(DataPoint point in inputSeries[seriesIndex].
Points
)
1238
output[seriesIndex].
Points
.Add(point.Clone());
1245
if(inputSeries[0].
Points
.Count == 0)
1264
while(output[seriesIndex].
Points
.Count > pointCount)
1268
output[seriesIndex].
Points
[pointCount].IsEmpty = true;
1273
output[seriesIndex].
Points
.RemoveAt(pointCount);
1319
output[seriesIndex].
Points
.Clear();
1342
if(inputSeries[0].
Points
.Count == 0)
1351
for(int pointIndex = 0; pointIndex < inputSeries[0].
Points
.Count; pointIndex++, originalPointIndex++)
1357
inputSeries[0].
Points
[pointIndex],
1376
output[seriesIndex].
Points
.Add(inputSeries[seriesIndex].
Points
[pointIndex].Clone());
1387
output[seriesIndex].
Points
[pointIndex].IsEmpty = true;
1388
for(int valueIndex = 0; valueIndex < output[seriesIndex].
Points
[pointIndex].YValues.Length; valueIndex++)
1390
output[seriesIndex].
Points
[pointIndex].YValues[valueIndex] = 0.0;
1397
output[seriesIndex].
Points
.RemoveAt(pointIndex);
2246
output.
Points
.Clear();
2268
foreach(DataPoint point in input.
Points
)
2275
inputTemp.
Points
.Add(dp);
2281
if(input.
Points
.Count == 0)
2312
for(int pointIndex = 0; pointIndex <= input.
Points
.Count && !lastPoint; pointIndex++)
2319
if(pointIndex == input.
Points
.Count)
2331
currentLabel = input.
Points
[pointIndex].AxisLabel;
2337
if(!endOfInterval && input.
Points
[pointIndex].AxisLabel != currentLabel)
2354
input.
Points
[pointIndex],
2367
(inputSeries[seriesIndex].
Points
[intervalFirstIndex].XValue +
2368
inputSeries[seriesIndex].
Points
[intervalLastIndex].XValue) / 2.0;
2373
inputSeries[seriesIndex].
Points
[intervalFirstIndex].XValue;
2378
inputSeries[seriesIndex].
Points
[intervalLastIndex].XValue;
2397
int newPointIndex = output.
Points
.Count;
2406
output.
Points
.RemoveAt(intervalFirstIndex);
2413
output.
Points
.Insert(newPointIndex, newPoint);
2437
input.
Points
[pointIndex],
2495
output.
Points
.Clear();
2514
if(input.
Points
.Count == 0)
2531
intervalFrom = input.
Points
[0].XValue;
2545
if(input.
Points
[0].XValue < offsetFrom)
2586
for(int pointIndex = 0; pointIndex <= input.
Points
.Count && !lastPoint; pointIndex++)
2593
if(pointIndex > 0 && pointIndex < input.
Points
.Count)
2595
if(input.
Points
[pointIndex].XValue < input.
Points
[pointIndex - 1].XValue)
2604
if(pointIndex == input.
Points
.Count)
2616
if(!endOfInterval && input.
Points
[pointIndex].XValue >= intervalTo)
2640
input.
Points
[pointIndex],
2678
int newPointIndex = output.
Points
.Count;
2687
output.
Points
.RemoveAt(intervalFirstIndex);
2694
output.
Points
.Insert(newPointIndex, newPoint);
2724
input.
Points
[pointIndex],
2951
if(series.
Points
[secondPassIndex].IsEmpty && this.IsEmptyPointIgnored)
2957
if(!uniqueValues.Contains(series.
Points
[secondPassIndex].YValues[funcIndex-1]))
2959
uniqueValues.Add(series.
Points
[secondPassIndex].YValues[funcIndex-1]);
2978
if(series.
Points
[secondPassIndex].IsEmpty && this.IsEmptyPointIgnored)
2984
Math.Pow(series.
Points
[secondPassIndex].YValues[funcIndex-1] - average, 2);
Common\General\FormulaData.cs (34)
417
if (series.
Points
.Count > 0)
420
double topXValue = series.
Points
[series.
Points
.Count - 1].XValue;
422
foreach (DataPoint point in series.
Points
)
456
foreach (DataPoint inputPoint in inputSeries.
Points
)
462
if (outIndex < outputSeries.
Points
.Count && inputPoint.XValue == outputSeries.
Points
[outIndex].XValue)
464
outputSeries.
Points
[outIndex].AxisLabel = inputPoint.AxisLabel;
470
foreach (DataPoint outputPoint in outputSeries.
Points
)
521
if (series.
Points
.Count != outputValues[seriesIndex].Length)
524
series.
Points
.Clear();
536
if (series.
Points
.Count != outputValues[seriesIndex].Length)
539
series.
Points
.AddXY(outputValues[0][pointIndex], 0);
544
series.
Points
[pointIndex].Label = outputLabels[seriesIndex][pointIndex];
549
series.
Points
[pointIndex].IsEmpty = true;
551
series.
Points
[pointIndex].YValues[valueIndex[seriesIndex] - 1] = outputValues[seriesIndex + 1][pointIndex];
556
if (series.
Points
[pointIndex].XValue != outputValues[0][pointIndex] && !_zeroXValues)
563
series.
Points
[pointIndex].IsEmpty = true;
566
series.
Points
[pointIndex].YValues[valueIndex[seriesIndex] - 1] = outputValues[seriesIndex + 1][pointIndex];
571
series.
Points
[pointIndex].Label = outputLabels[seriesIndex][pointIndex];
713
if (maxNumOfPoints < series.
Points
.Count)
715
maxNumOfPoints = series.
Points
.Count;
725
foreach (DataPoint point in inputSeries[0].
Points
)
750
foreach (DataPoint point in seriesWidthMaxPoints.
Points
)
769
output[indexSeries] = new double[series.
Points
.Count];
773
foreach (DataPoint point in series.
Points
)
836
if (series[1].
Points
.Count == 0)
838
foreach (DataPoint point in series[0].
Points
)
842
series[1].
Points
.Add(clonePoint);
1124
if (series[seriesIndex].
Points
.Count != series[seriesIndex + 1].
Points
.Count)
1130
for (int pointIndex = 0; pointIndex < series[seriesIndex].
Points
.Count; pointIndex++)
1133
if (series[seriesIndex].
Points
[pointIndex].XValue != series[seriesIndex + 1].
Points
[pointIndex].XValue)
Common\General\Legend.cs (2)
2135
foreach(DataPoint point in series.
Points
)
2146
foreach(DataPoint point in series.
Points
)
Common\General\Selection.cs (12)
2072
(this.ChartControl.Series.IndexOf(region.SeriesName) < 0 || region.PointIndex >= this.ChartControl.Series[region.SeriesName].
Points
.Count)
2219
dataPoint = this.ChartControl.Series[region.SeriesName].
Points
[region.PointIndex];
2334
pointIndex < chart.Series[seriesName].
Points
.Count)
2336
DataPoint dataPoint = chart.Series[seriesName].
Points
[pointIndex];
2347
pointIndex < chart.Series[seriesName].
Points
.Count)
2349
DataPoint dataPoint = chart.Series[seriesName].
Points
[pointIndex];
2565
pointIndex = dataPoint.series.
Points
.IndexOf(dataPoint);
2588
int pointIndex = dataPoint.series.
Points
.IndexOf(dataPoint);
2592
if (series.
Points
.Contains(dataPoint))
2598
if (series.
Points
.Count > pointIndex)
2600
return series.
Points
[pointIndex];
3000
DataPointCollection points = series.
Points
;
Common\General\Statistics.cs (22)
138
DataPointCollection points = _formulaData.Common.DataManager.Series[_tempOutputSeriesName].
Points
;
200
DataPointCollection points = _formulaData.Common.DataManager.Series[_tempOutputSeriesName].
Points
;
263
DataPointCollection points = _formulaData.Common.DataManager.Series[_tempOutputSeriesName].
Points
;
326
DataPointCollection points = _formulaData.Common.DataManager.Series[_tempOutputSeriesName].
Points
;
358
for (int pointIndex = 0; pointIndex < series.
Points
.Count; pointIndex++)
360
if (series.
Points
[pointIndex].IsEmpty)
362
series.
Points
.RemoveAt(pointIndex--);
407
DataPointCollection points = _formulaData.Common.DataManager.Series[_tempOutputSeriesName].
Points
;
459
DataPointCollection points = _formulaData.Common.DataManager.Series[_tempOutputSeriesName].
Points
;
508
DataPointCollection points = _formulaData.Common.DataManager.Series[_tempOutputSeriesName].
Points
;
544
DataPointCollection points = _formulaData.Common.DataManager.Series[_tempOutputSeriesName].
Points
;
586
DataPointCollection points = _formulaData.Common.DataManager.Series[_tempOutputSeriesName].
Points
;
628
DataPointCollection points = _formulaData.Common.DataManager.Series[_tempOutputSeriesName].
Points
;
678
DataPointCollection points = _formulaData.Common.DataManager.Series[_tempOutputSeriesName].
Points
;
718
DataPointCollection points = _formulaData.Common.DataManager.Series[_tempOutputSeriesName].
Points
;
766
DataPointCollection points = _formulaData.Common.DataManager.Series[_tempOutputSeriesName].
Points
;
810
DataPointCollection points = _formulaData.Common.DataManager.Series[_tempOutputSeriesName].
Points
;
850
DataPointCollection points = _formulaData.Common.DataManager.Series[_tempOutputSeriesName].
Points
;
890
DataPointCollection points = _formulaData.Common.DataManager.Series[_tempOutputSeriesName].
Points
;
935
DataPointCollection points = _formulaData.Common.DataManager.Series[_tempOutputSeriesName].
Points
;
980
DataPointCollection points = _formulaData.Common.DataManager.Series[_tempOutputSeriesName].
Points
;
1016
DataPointCollection points = _formulaData.Common.DataManager.Series[_tempOutputSeriesName].
Points
;