45 writes to dataPoint
System.Windows.Forms.DataVisualization (45)
Common\ChartTypes\AreaChart.cs (16)
804
dp1.
dataPoint
= firstPoint.dataPoint;
809
dp2.
dataPoint
= secondPoint.dataPoint;
816
dp2.
dataPoint
= firstPoint.dataPoint;
821
dp1.
dataPoint
= secondPoint.dataPoint;
1133
intersectionPoint.
dataPoint
= secondPoint.dataPoint;
1150
intersectionPoint.
dataPoint
= firstPoint.dataPoint;
1286
dp1.
dataPoint
= firstPoint.dataPoint;
1291
dp2.
dataPoint
= secondPoint.dataPoint;
1320
dp1.
dataPoint
= leftMostPoint.dataPoint;
1325
dp2.
dataPoint
= leftMostPoint.dataPoint;
1349
dp1.
dataPoint
= rightMostPoint.dataPoint;
1354
dp2.
dataPoint
= rightMostPoint.dataPoint;
1373
dp1.
dataPoint
= firstPoint.dataPoint;
1378
dp2.
dataPoint
= secondPoint.dataPoint;
1407
dp1.
dataPoint
= firstPoint.dataPoint;
1413
dp2.
dataPoint
= secondPoint.dataPoint;
Common\ChartTypes\KagiChart.cs (3)
847
vertSplitPoint.
dataPoint
= secondPoint.dataPoint;
862
middlePoint.
dataPoint
= (originalDrawOrder) ? secondPoint.dataPoint : firstPoint.dataPoint;
869
middlePoint.
dataPoint
= (!originalDrawOrder) ? secondPoint.dataPoint : secondPoint.dataPoint;
Common\ChartTypes\LineChart.cs (8)
1895
intersectionPoint2.
dataPoint
= secondPoint.dataPoint;
1915
intersectionPoint2.
dataPoint
= secondPoint.dataPoint;
1921
intersectionPoint.
dataPoint
= firstPoint.dataPoint;
1939
intersectionPoint.
dataPoint
= firstPoint.dataPoint;
2257
intersectionPoint2.
dataPoint
= secondPoint.dataPoint;
2299
intersectionPoint2.
dataPoint
= secondPoint.dataPoint;
2305
intersectionPoint.
dataPoint
= firstPoint.dataPoint;
2345
intersectionPoint.
dataPoint
= firstPoint.dataPoint;
Common\ChartTypes\RangeChart.cs (8)
1051
intersectionPoint.
dataPoint
= secondPoint.dataPoint;
1071
intersectionPoint.
dataPoint
= firstPoint.dataPoint;
1279
dp1.
dataPoint
= firstPoint.dataPoint;
1284
dp2.
dataPoint
= secondPoint.dataPoint;
1352
dp1.
dataPoint
= firstPoint.dataPoint;
1357
dp2.
dataPoint
= secondPoint.dataPoint;
1376
dp1.
dataPoint
= firstPoint.dataPoint;
1381
dp2.
dataPoint
= secondPoint.dataPoint;
Common\ChartTypes\StepLineChart.cs (4)
325
middlePoint.
dataPoint
= secondPoint.dataPoint;
339
middlePoint.
dataPoint
= firstPoint.dataPoint;
355
middlePoint.
dataPoint
= firstPoint.dataPoint;
369
middlePoint.
dataPoint
= secondPoint.dataPoint;
Common\General\ChartGraphics3D.cs (6)
1619
dp1.
dataPoint
= firstPoint.dataPoint;
1631
dp2.
dataPoint
= firstPoint.dataPoint;
1636
dp1.
dataPoint
= secondPoint.dataPoint;
2019
intersectionPoint2.
dataPoint
= secondPoint.dataPoint;
2036
intersectionPoint2.
dataPoint
= secondPoint.dataPoint;
2054
intersectionPoint.
dataPoint
= firstPoint.dataPoint;
236 references to dataPoint
System.Windows.Forms.DataVisualization (236)
Common\ChartTypes\AreaChart.cs (34)
762
if(p.
dataPoint
.series.Name == firstPoint.
dataPoint
.series.Name)
804
dp1.dataPoint = firstPoint.
dataPoint
;
809
dp2.dataPoint = secondPoint.
dataPoint
;
816
dp2.dataPoint = firstPoint.
dataPoint
;
821
dp1.dataPoint = secondPoint.
dataPoint
;
947
if(prevDataPointEx.
dataPoint
.IsEmpty)
959
Color color = (useBorderColor) ? pointAttr.
dataPoint
.BorderColor : pointAttr.
dataPoint
.Color;
960
ChartDashStyle dashStyle = pointAttr.
dataPoint
.BorderDashStyle;
961
if( pointAttr.
dataPoint
.IsEmpty && pointAttr.
dataPoint
.Color == Color.Empty)
965
if( pointAttr.
dataPoint
.IsEmpty && pointAttr.
dataPoint
.BorderDashStyle == ChartDashStyle.NotSet )
1133
intersectionPoint.dataPoint = secondPoint.
dataPoint
;
1150
intersectionPoint.dataPoint = firstPoint.
dataPoint
;
1230
Color surfaceBorderColor = pointAttr.
dataPoint
.BorderColor;
1274
topColor, topBorderColor, pointAttr.
dataPoint
.BorderWidth, dashStyle,
1286
dp1.dataPoint = firstPoint.
dataPoint
;
1291
dp2.dataPoint = secondPoint.
dataPoint
;
1301
bottomColor, bottomBorderColor, pointAttr.
dataPoint
.BorderWidth, dashStyle,
1320
dp1.dataPoint = leftMostPoint.
dataPoint
;
1325
dp2.dataPoint = leftMostPoint.
dataPoint
;
1331
surfaceColor, surfaceBorderColor, pointAttr.
dataPoint
.BorderWidth, dashStyle,
1349
dp1.dataPoint = rightMostPoint.
dataPoint
;
1354
dp2.dataPoint = rightMostPoint.
dataPoint
;
1360
surfaceColor, surfaceBorderColor, pointAttr.
dataPoint
.BorderWidth, dashStyle,
1373
dp1.dataPoint = firstPoint.
dataPoint
;
1378
dp2.dataPoint = secondPoint.
dataPoint
;
1397
surfaceColor, surfaceBorderColor, pointAttr.
dataPoint
.BorderWidth,
1407
dp1.dataPoint = firstPoint.
dataPoint
;
1413
dp2.dataPoint = secondPoint.
dataPoint
;
1454
surfaceColor, surfaceBorderColor, pointAttr.
dataPoint
.BorderWidth,
1616
if(pointEx.
dataPoint
.Color.A != 255)
Common\ChartTypes\BarChart.cs (8)
1385
DataPoint point = pointEx.
dataPoint
;
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 ) );
1614
DataPoint point = pointEx.
dataPoint
;
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 ) );
1736
DataPoint point = pointEx.
dataPoint
;
1830
DataPoint point = pointEx.
dataPoint
;
Common\ChartTypes\ColumnChart.cs (6)
716
DataPoint point = pointEx.
dataPoint
;
729
double yValue = GetYValue(common, area, ser, pointEx.
dataPoint
, pointEx.index - 1, (useTwoValues) ? 1 : 0);
1310
DataPoint point = pointEx.
dataPoint
;
1335
double pointLabelValue = GetYValue(common, area, pointEx.
dataPoint
.series, point, pointEx.index - 1, 0);
1337
pointEx.
dataPoint
.series.Chart,
1342
pointEx.
dataPoint
.series.YValueType,
Common\ChartTypes\KagiChart.cs (21)
734
if(prevDataPointEx.
dataPoint
.IsEmpty)
744
Color color = (useBorderColor) ? pointAttr.
dataPoint
.BorderColor : pointAttr.
dataPoint
.Color;
745
ChartDashStyle dashStyle = pointAttr.
dataPoint
.BorderDashStyle;
746
if( pointAttr.
dataPoint
.IsEmpty && pointAttr.
dataPoint
.Color == Color.Empty)
750
if( pointAttr.
dataPoint
.IsEmpty && pointAttr.
dataPoint
.BorderDashStyle == ChartDashStyle.NotSet )
759
this.kagiUpColor = secondPoint.
dataPoint
.series.Color;
760
string priceUpColorString = secondPoint.
dataPoint
.series[CustomPropertyName.PriceUpColor];
847
vertSplitPoint.dataPoint = secondPoint.
dataPoint
;
862
middlePoint.dataPoint = (originalDrawOrder) ? secondPoint.
dataPoint
: firstPoint.
dataPoint
;
869
middlePoint.dataPoint = (!originalDrawOrder) ? secondPoint.
dataPoint
: secondPoint.
dataPoint
;
881
pointAttr.
dataPoint
.BorderColor, pointAttr.
dataPoint
.BorderWidth, dashStyle,
899
pointAttr.
dataPoint
.BorderColor, pointAttr.
dataPoint
.BorderWidth, dashStyle,
925
pointAttr.
dataPoint
.BorderColor, pointAttr.
dataPoint
.BorderWidth, dashStyle,
Common\ChartTypes\LineChart.cs (30)
1308
Series firstSeries = firstSeries = ((DataPoint3D)dataPointDrawingOrder[0]).
dataPoint
.series;
1331
DataPoint point = pointEx.
dataPoint
;
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;
1376
DataPoint3D pointAttr = (prevDataPointEx.
dataPoint
.IsEmpty) ? prevDataPointEx : pointEx;
1377
if(pointAttr.
dataPoint
.Color != Color.Empty)
1389
if(pointAttr.
dataPoint
.IsCustomPropertySet(CustomPropertyName.ShowMarkerLines))
1391
if(String.Compare(pointAttr.
dataPoint
[CustomPropertyName.ShowMarkerLines], "TRUE", StringComparison.OrdinalIgnoreCase) == 0)
1398
if(pointAttr.
dataPoint
.series.IsCustomPropertySet(CustomPropertyName.ShowMarkerLines))
1400
if (String.Compare(pointAttr.
dataPoint
.series[CustomPropertyName.ShowMarkerLines], "TRUE", StringComparison.OrdinalIgnoreCase) == 0)
1521
if(prevDataPointEx.
dataPoint
.IsEmpty)
1531
Color color = (useBorderColor) ? pointAttr.
dataPoint
.BorderColor : pointAttr.
dataPoint
.Color;
1532
ChartDashStyle dashStyle = pointAttr.
dataPoint
.BorderDashStyle;
1533
if( pointAttr.
dataPoint
.IsEmpty && pointAttr.
dataPoint
.Color == Color.Empty)
1537
if( pointAttr.
dataPoint
.IsEmpty && pointAttr.
dataPoint
.BorderDashStyle == ChartDashStyle.NotSet )
1551
pointAttr.
dataPoint
.BorderColor,
1552
pointAttr.
dataPoint
.BorderWidth,
1895
intersectionPoint2.dataPoint = secondPoint.
dataPoint
;
1915
intersectionPoint2.dataPoint = secondPoint.
dataPoint
;
1921
intersectionPoint.dataPoint = firstPoint.
dataPoint
;
1939
intersectionPoint.dataPoint = firstPoint.
dataPoint
;
2257
intersectionPoint2.dataPoint = secondPoint.
dataPoint
;
2299
intersectionPoint2.dataPoint = secondPoint.
dataPoint
;
2305
intersectionPoint.dataPoint = firstPoint.
dataPoint
;
2345
intersectionPoint.dataPoint = firstPoint.
dataPoint
;
Common\ChartTypes\PointChart.cs (4)
1106
DataPoint point = pointEx.
dataPoint
;
1123
double yValue = GetYValue(common, area, ser, pointEx.
dataPoint
, pointEx.index - 1, YValueIndex);
1351
labelInfo.PointEx.
dataPoint
,
1352
labelInfo.PointEx.
dataPoint
.series,
Common\ChartTypes\RangeChart.cs (27)
928
if(prevDataPointEx.
dataPoint
.IsEmpty)
940
Color color = (useBorderColor) ? pointAttr.
dataPoint
.BorderColor : pointAttr.
dataPoint
.Color;
941
ChartDashStyle dashStyle = pointAttr.
dataPoint
.BorderDashStyle;
942
if( pointAttr.
dataPoint
.IsEmpty && pointAttr.
dataPoint
.Color == Color.Empty)
946
if( pointAttr.
dataPoint
.IsEmpty && pointAttr.
dataPoint
.BorderDashStyle == ChartDashStyle.NotSet )
1051
intersectionPoint.dataPoint = secondPoint.
dataPoint
;
1071
intersectionPoint.dataPoint = firstPoint.
dataPoint
;
1246
Color surfaceBorderColor = pointAttr.
dataPoint
.BorderColor;
1270
surfaceColor, surfaceBorderColor, pointAttr.
dataPoint
.BorderWidth, dashStyle,
1279
dp1.dataPoint = firstPoint.
dataPoint
;
1284
dp2.dataPoint = secondPoint.
dataPoint
;
1291
surfaceColor, surfaceBorderColor, pointAttr.
dataPoint
.BorderWidth, dashStyle,
1316
surfaceColor, surfaceBorderColor, pointAttr.
dataPoint
.BorderWidth, dashStyle,
1341
surfaceColor, surfaceBorderColor, pointAttr.
dataPoint
.BorderWidth, dashStyle,
1352
dp1.dataPoint = firstPoint.
dataPoint
;
1357
dp2.dataPoint = secondPoint.
dataPoint
;
1364
surfaceColor, surfaceBorderColor, pointAttr.
dataPoint
.BorderWidth,
1376
dp1.dataPoint = firstPoint.
dataPoint
;
1381
dp2.dataPoint = secondPoint.
dataPoint
;
1422
surfaceColor, surfaceBorderColor, pointAttr.
dataPoint
.BorderWidth,
1600
Axis vAxis = area.GetAxis(AxisName.Y, firstPoint.
dataPoint
.series.YAxisType, firstPoint.
dataPoint
.series.YSubAxisName);
1603
float secondYValue = (float)vAxis.GetPosition(firstPoint.
dataPoint
.YValues[1]);
1605
secondYValue = (float)vAxis.GetPosition(secondPoint.
dataPoint
.YValues[1]);
Common\ChartTypes\StackedAreaChart.cs (38)
1226
if(String.Compare(ser.ChartTypeName, secondPoint.
dataPoint
.series.ChartTypeName, true, System.Globalization.CultureInfo.CurrentCulture) == 0)
1244
if(String.Compare(ser.Name, secondPoint.
dataPoint
.series.Name, StringComparison.Ordinal) == 0)
1259
if(String.Compare(ser.ChartTypeName, secondPoint.
dataPoint
.series.ChartTypeName, StringComparison.OrdinalIgnoreCase) == 0)
1262
if (pointProperties != null && String.Compare(ser.Name, secondPoint.
dataPoint
.series.Name, StringComparison.Ordinal) == 0)
1307
Axis vAxis = area.GetAxis(AxisName.Y, firstPoint.
dataPoint
.series.YAxisType, firstPoint.
dataPoint
.series.YSubAxisName);
1308
Axis hAxis = area.GetAxis(AxisName.X, firstPoint.
dataPoint
.series.XAxisType, firstPoint.
dataPoint
.series.XSubAxisName);
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);
1431
if(pointEx.
dataPoint
.Color.A != 255)
1438
if( pointEx.
dataPoint
.Label.Length > 0 ||
1439
pointEx.
dataPoint
.IsValueShownAsLabel ||
1440
pointEx.
dataPoint
.series.IsValueShownAsLabel)
1469
string pointLabel = pointEx.
dataPoint
.Label;
1470
bool pointShowLabelAsValue = pointEx.
dataPoint
.IsValueShownAsLabel;
1475
if((!pointEx.
dataPoint
.IsEmpty && (pointEx.
dataPoint
.series.IsValueShownAsLabel || pointShowLabelAsValue || pointLabel.Length > 0)) ||
1489
double pointLabelValue = pointEx.
dataPoint
.YValues[(labelYValueIndex == -1) ? YValueIndex : labelYValueIndex];
1490
if (this.hundredPercentStacked && pointEx.
dataPoint
.LabelFormat.Length == 0)
1496
pointEx.
dataPoint
.series.Chart,
1497
pointEx.
dataPoint
,
1498
pointEx.
dataPoint
.Tag,
1500
pointEx.
dataPoint
.LabelFormat,
1501
pointEx.
dataPoint
.series.YValueType,
1506
text = pointEx.
dataPoint
.ReplaceKeywords(pointLabel);
1518
pointEx.
dataPoint
.Font,
1534
using (Brush brush = new SolidBrush(pointEx.
dataPoint
.LabelForeColor))
1539
pointEx.
dataPoint
.Font,
1543
pointEx.
dataPoint
.LabelAngle,
1545
pointEx.
dataPoint
.LabelBackColor,
1546
pointEx.
dataPoint
.LabelBorderColor,
1547
pointEx.
dataPoint
.LabelBorderWidth,
1548
pointEx.
dataPoint
.LabelBorderDashStyle,
1549
pointEx.
dataPoint
.series,
1550
pointEx.
dataPoint
,
Common\ChartTypes\StackedBarChart.cs (7)
1393
DataPoint point = pointEx.
dataPoint
;
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);
1698
DataPoint point = pointEx.
dataPoint
;
1706
double yValue = GetYValue(common, area, ser, pointEx.
dataPoint
, pointEx.index - 1, 0);
1721
double barZeroValue = yValue - GetYValue(common, area, ser, pointEx.
dataPoint
, pointEx.index - 1, -1);
1802
DataPoint point = pointEx.
dataPoint
;
Common\ChartTypes\StackedColumnChart.cs (7)
1434
DataPoint point = pointEx.
dataPoint
;
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);
1734
DataPoint point = pointEx.
dataPoint
;
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));
1833
DataPoint point = pointEx.
dataPoint
;
Common\ChartTypes\StepLineChart.cs (22)
272
if(prevDataPointEx.
dataPoint
.IsEmpty)
282
Color color = (useBorderColor) ? pointAttr.
dataPoint
.BorderColor : pointAttr.
dataPoint
.Color;
283
ChartDashStyle dashStyle = pointAttr.
dataPoint
.BorderDashStyle;
284
if( pointAttr.
dataPoint
.IsEmpty && pointAttr.
dataPoint
.Color == Color.Empty)
288
if( pointAttr.
dataPoint
.IsEmpty && pointAttr.
dataPoint
.BorderDashStyle == ChartDashStyle.NotSet )
325
middlePoint.dataPoint = secondPoint.
dataPoint
;
328
pointAttr.
dataPoint
.BorderColor, pointAttr.
dataPoint
.BorderWidth, dashStyle,
339
middlePoint.dataPoint = firstPoint.
dataPoint
;
342
pointAttr.
dataPoint
.BorderColor, pointAttr.
dataPoint
.BorderWidth, dashStyle,
355
middlePoint.dataPoint = firstPoint.
dataPoint
;
358
pointAttr.
dataPoint
.BorderColor, pointAttr.
dataPoint
.BorderWidth, dashStyle,
369
middlePoint.dataPoint = secondPoint.
dataPoint
;
372
pointAttr.
dataPoint
.BorderColor, pointAttr.
dataPoint
.BorderWidth, dashStyle,
393
prevDataPointEx.
dataPoint
,
394
prevDataPointEx.
dataPoint
.series.Name,
Common\General\ChartGraphics3D.cs (32)
1444
Axis vAxis = (firstPoint.
dataPoint
.series.YAxisType == AxisType.Primary) ? area.AxisY : area.AxisY2;
1446
float secondYValue = (float)vAxis.GetPosition(splineDataPoints[0].
dataPoint
.YValues[yValueIndex]);
1448
secondYValue = (float)vAxis.GetPosition(splineDataPoints[1].
dataPoint
.YValues[yValueIndex]);
1452
secondYValue = (float)vAxis.GetPosition(splineDataPoints[2].
dataPoint
.YValues[yValueIndex]);
1457
secondYValue = (float)vAxis.GetPosition(splineDataPoints[3].
dataPoint
.YValues[yValueIndex]);
1619
dp1.dataPoint = firstPoint.
dataPoint
;
1631
dp2.dataPoint = firstPoint.
dataPoint
;
1636
dp1.dataPoint = secondPoint.
dataPoint
;
2019
intersectionPoint2.dataPoint = secondPoint.
dataPoint
;
2036
intersectionPoint2.dataPoint = secondPoint.
dataPoint
;
2054
intersectionPoint.dataPoint = firstPoint.
dataPoint
;
2470
Series series = firstPoint.
dataPoint
.series;
2505
if(leftPointAttr.
dataPoint
.IsEmpty)
2507
if(leftPointAttr.
dataPoint
.series.EmptyPointStyle.Color == color ||
2508
leftPointAttr.
dataPoint
.series.EmptyPointStyle.Color.A == 255)
2515
if(leftPointAttr.
dataPoint
.Color == color ||
2516
leftPointAttr.
dataPoint
.Color.A == 255)
2523
double xValue = (leftPoint.indexedSeries) ? leftPoint.index : leftPoint.
dataPoint
.XValue;
2535
double currentXValue = (currentPoint.indexedSeries) ? currentPoint.index : currentPoint.
dataPoint
.XValue;
2561
if(rightPointAttr.
dataPoint
.IsEmpty)
2563
if(rightPointAttr.
dataPoint
.series.EmptyPointStyle.Color == color ||
2564
rightPointAttr.
dataPoint
.series.EmptyPointStyle.Color.A == 255)
2571
if(rightPointAttr.
dataPoint
.Color == color ||
2572
rightPointAttr.
dataPoint
.Color.A == 255)
2579
double xValue = (rightPoint.indexedSeries) ? rightPoint.index : rightPoint.
dataPoint
.XValue;
2591
double currentXValue = (currentPoint.indexedSeries) ? currentPoint.index : currentPoint.
dataPoint
.XValue;
2704
(neighborDataPoint == null || String.Compare(neighborDataPoint.
dataPoint
.series.Name, point.
dataPoint
.series.Name, StringComparison.Ordinal) == 0))
2718
(neighborDataPoint == null || String.Compare(neighborDataPoint.
dataPoint
.series.Name, point.
dataPoint
.series.Name, StringComparison.Ordinal) == 0))
2737
if (String.Compare(neighborDataPoint.
dataPoint
.series.Name, point3D.
dataPoint
.series.Name, StringComparison.Ordinal) != 0)