78 writes to xPosition
System.Windows.Forms.DataVisualization (78)
Common\ChartTypes\AreaChart.cs (15)
806
dp1.
xPosition
= splinePoints[pIndex - 1].X;
811
dp2.
xPosition
= splinePoints[pIndex].X;
818
dp2.
xPosition
= splinePoints[pIndex - 1].X;
823
dp1.
xPosition
= splinePoints[pIndex].X;
1287
dp1.
xPosition
= firstPoint.xPosition;
1292
dp2.
xPosition
= secondPoint.xPosition;
1321
dp1.
xPosition
= leftMostPoint.xPosition;
1326
dp2.
xPosition
= leftMostPoint.xPosition;;
1350
dp1.
xPosition
= rightMostPoint.xPosition;
1355
dp2.
xPosition
= rightMostPoint.xPosition;
1374
dp1.
xPosition
= firstPoint.xPosition;
1379
dp2.
xPosition
= secondPoint.xPosition;
1408
dp1.
xPosition
= firstPoint.xPosition;
1414
dp2.
xPosition
= secondPoint.xPosition;
1560
intersectionPoint.
xPosition
= (axisPosition - firstPoint.yPosition) *
Common\ChartTypes\ColumnChart.cs (1)
774
pointEx.
xPosition
= pointEx.xCenterVal;
Common\ChartTypes\KagiChart.cs (2)
786
middlePoint.
xPosition
= secondPoint.xPosition;
845
vertSplitPoint.
xPosition
= secondPoint.xPosition;
Common\ChartTypes\LineChart.cs (33)
1679
firstPoint.
xPosition
= Math.Round(firstPoint.xPosition, decimals);
1681
secondPoint.
xPosition
= Math.Round(secondPoint.xPosition, decimals);
1715
firstPoint.
xPosition
= (double)plotAreaPositionX;
1723
firstPoint.
xPosition
= (double)plotAreaPositionRight;
1731
secondPoint.
xPosition
= (double)plotAreaPositionX;
1739
secondPoint.
xPosition
= (double)plotAreaPositionRight;
1800
intersectionPoint.
xPosition
= (intersectionPoint.yPosition - secondPoint.yPosition) *
1831
intersectionPoint2.
xPosition
= (intersectionPoint2.yPosition - secondPoint.yPosition) *
1848
tempPoint.
xPosition
= intersectionPoint.xPosition;
1850
intersectionPoint.
xPosition
= intersectionPoint2.xPosition;
1852
intersectionPoint2.
xPosition
= tempPoint.xPosition;
2047
firstPoint.
xPosition
= Math.Round(firstPoint.xPosition, decimals);
2049
secondPoint.
xPosition
= Math.Round(secondPoint.xPosition, decimals);
2121
intersectionPoint.
xPosition
= (intersectionPoint.yPosition - fourthPoint.Y) *
2159
intersectionPoint2.
xPosition
= (intersectionPoint2.yPosition - fourthPoint.Y) *
2248
tempPoint.
xPosition
= intersectionPoint.xPosition;
2250
intersectionPoint.
xPosition
= intersectionPoint2.xPosition;
2252
intersectionPoint2.
xPosition
= tempPoint.xPosition;
2275
tempPoint.
xPosition
= intersectionPoint.xPosition;
2277
intersectionPoint.
xPosition
= intersectionPoint2.xPosition;
2279
intersectionPoint2.
xPosition
= tempPoint.xPosition;
2290
tempPoint.
xPosition
= intersectionPoint.xPosition;
2292
intersectionPoint.
xPosition
= intersectionPoint2.xPosition;
2294
intersectionPoint2.
xPosition
= tempPoint.xPosition;
2320
tempPoint.
xPosition
= intersectionPoint.xPosition;
2322
intersectionPoint.
xPosition
= intersectionPoint2.xPosition;
2324
intersectionPoint2.
xPosition
= tempPoint.xPosition;
2336
tempPoint.
xPosition
= intersectionPoint.xPosition;
2338
intersectionPoint.
xPosition
= intersectionPoint2.xPosition;
2340
intersectionPoint2.
xPosition
= tempPoint.xPosition;
2369
tempPoint.
xPosition
= intersectionPoint.xPosition;
2371
intersectionPoint.
xPosition
= intersectionPoint2.xPosition;
2373
intersectionPoint2.
xPosition
= tempPoint.xPosition;
Common\ChartTypes\RangeChart.cs (13)
1003
intersectionPoint.
xPosition
= intersectionCoordinates.X;
1157
firstPoint.
xPosition
= Math.Round(firstPoint.xPosition, 5);
1159
secondPoint.
xPosition
= Math.Round(secondPoint.xPosition, 5);
1281
dp1.
xPosition
= firstPoint.xPosition;
1286
dp2.
xPosition
= secondPoint.xPosition;
1308
dp1.
xPosition
= leftMostPoint.xPosition;
1311
dp2.
xPosition
= leftMostPoint.xPosition;;
1333
dp1.
xPosition
= rightMostPoint.xPosition;
1336
dp2.
xPosition
= rightMostPoint.xPosition;
1354
dp1.
xPosition
= firstPoint.xPosition;
1359
dp2.
xPosition
= secondPoint.xPosition;
1378
dp1.
xPosition
= firstPoint.xPosition;
1383
dp2.
xPosition
= secondPoint.xPosition;
Common\ChartTypes\StepLineChart.cs (1)
297
middlePoint.
xPosition
= secondPoint.xPosition;
Common\General\ChartGraphics3D.cs (13)
1620
dp1.
xPosition
= splinePathPoints[pIndex - 1].X;
1625
dp2.
xPosition
= splinePathPoints[pIndex].X;
1632
dp2.
xPosition
= splinePathPoints[pIndex - 1].X;
1637
dp1.
xPosition
= splinePathPoints[pIndex].X;
1848
firstPoint.
xPosition
= (double)plotAreaPositionX;
1856
firstPoint.
xPosition
= (double)plotAreaPositionRight;
1864
secondPoint.
xPosition
= (double)plotAreaPositionX;
1872
secondPoint.
xPosition
= (double)plotAreaPositionRight;
1933
intersectionPoint.
xPosition
= (intersectionPoint.yPosition - secondPoint.yPosition) *
1956
intersectionPoint2.
xPosition
= (intersectionPoint2.yPosition - secondPoint.yPosition) *
1965
tempPoint.
xPosition
= intersectionPoint.xPosition;
1967
intersectionPoint.
xPosition
= intersectionPoint2.xPosition;
1969
intersectionPoint2.
xPosition
= tempPoint.xPosition;
282 references to xPosition
System.Windows.Forms.DataVisualization (282)
Common\ChartTypes\AreaChart.cs (51)
937
if(Math.Round(firstPoint.
xPosition
, 3) == Math.Round(secondPoint.
xPosition
, 3) &&
979
float minX = (float)Math.Min(firstPoint.
xPosition
, secondPoint.
xPosition
);
982
float maxX = (float)Math.Max(firstPoint.
xPosition
, secondPoint.
xPosition
);
1176
if(Math.Round(firstPoint.
xPosition
, 3) == Math.Round(secondPoint.
xPosition
, 3) &&
1287
dp1.xPosition = firstPoint.
xPosition
;
1292
dp2.xPosition = secondPoint.
xPosition
;
1317
DataPoint3D leftMostPoint = (firstPoint.
xPosition
<= secondPoint.
xPosition
) ? firstPoint : secondPoint;
1321
dp1.xPosition = leftMostPoint.
xPosition
;
1322
dp1.yPosition = (firstPoint.
xPosition
<= secondPoint.
xPosition
) ? thirdPoint.Y : fourthPoint.Y;
1326
dp2.xPosition = leftMostPoint.
xPosition
;;
1346
DataPoint3D rightMostPoint = (secondPoint.
xPosition
>= firstPoint.
xPosition
) ? secondPoint : firstPoint;
1350
dp1.xPosition = rightMostPoint.
xPosition
;
1351
dp1.yPosition = (secondPoint.
xPosition
>= firstPoint.
xPosition
) ? fourthPoint.Y : thirdPoint.Y;
1355
dp2.xPosition = rightMostPoint.
xPosition
;
1374
dp1.xPosition = firstPoint.
xPosition
;
1379
dp2.xPosition = secondPoint.
xPosition
;
1408
dp1.xPosition = firstPoint.
xPosition
;
1414
dp2.xPosition = secondPoint.
xPosition
;
1508
if(!upSideDown && firstPoint.
xPosition
<= secondPoint.
xPosition
||
1509
upSideDown && firstPoint.
xPosition
>= secondPoint.
xPosition
)
1511
cubePoints[0] = new Point3D( (float)firstPoint.
xPosition
, (float)firstPoint.yPosition, positionZ + depth );
1512
cubePoints[1] = new Point3D( (float)firstPoint.
xPosition
, (float)firstPoint.yPosition, positionZ );
1513
cubePoints[2] = new Point3D( (float)secondPoint.
xPosition
, (float)secondPoint.yPosition, positionZ );
1517
cubePoints[0] = new Point3D( (float)secondPoint.
xPosition
, (float)secondPoint.yPosition, positionZ + depth );
1518
cubePoints[1] = new Point3D( (float)secondPoint.
xPosition
, (float)secondPoint.yPosition, positionZ );
1519
cubePoints[2] = new Point3D( (float)firstPoint.
xPosition
, (float)firstPoint.yPosition, positionZ );
1524
if(!upSideDown && secondPoint.
xPosition
<= firstPoint.
xPosition
||
1525
upSideDown && secondPoint.
xPosition
>= firstPoint.
xPosition
)
1527
cubePoints[0] = new Point3D( (float)secondPoint.
xPosition
, (float)secondPoint.yPosition, positionZ + depth );
1528
cubePoints[1] = new Point3D( (float)secondPoint.
xPosition
, (float)secondPoint.yPosition, positionZ );
1529
cubePoints[2] = new Point3D( (float)firstPoint.
xPosition
, (float)firstPoint.yPosition, positionZ );
1533
cubePoints[0] = new Point3D( (float)firstPoint.
xPosition
, (float)firstPoint.yPosition, positionZ + depth );
1534
cubePoints[1] = new Point3D( (float)firstPoint.
xPosition
, (float)firstPoint.yPosition, positionZ );
1535
cubePoints[2] = new Point3D( (float)secondPoint.
xPosition
, (float)secondPoint.yPosition, positionZ );
1561
(secondPoint.
xPosition
- firstPoint.
xPosition
) /
1563
firstPoint.
xPosition
;
1590
thirdPoint = new PointF((float)firstPoint.
xPosition
, axisPosition);
1591
fourthPoint = new PointF((float)secondPoint.
xPosition
, axisPosition);
Common\ChartTypes\BarChart.cs (10)
1449
double xPosition = pointEx.
xPosition
;
1660
double xPosition = pointEx.
xPosition
;
2260
if(point1.
xPosition
< point2.
xPosition
)
2264
else if(point1.
xPosition
> point2.
xPosition
)
2325
if(point1.
xPosition
!= point2.
xPosition
)
2330
if((point1.
xPosition
+ point1.width / 2f) >= _areaProjectionCenter.X &&
2331
(point2.
xPosition
+ point2.width / 2f) >= _areaProjectionCenter.X)
Common\ChartTypes\ColumnChart.cs (2)
776
ShiftedX = pointEx.
xPosition
- pointEx.xCenterVal;
795
rectSize.X = (float)(pointEx.
xPosition
- pointEx.width/2);
Common\ChartTypes\KagiChart.cs (2)
786
middlePoint.xPosition = secondPoint.
xPosition
;
845
vertSplitPoint.xPosition = secondPoint.
xPosition
;
Common\ChartTypes\LineChart.cs (81)
1655
if( double.IsNaN(firstPoint.
xPosition
) ||
1657
double.IsNaN(secondPoint.
xPosition
) ||
1679
firstPoint.xPosition = Math.Round(firstPoint.
xPosition
, decimals);
1681
secondPoint.xPosition = Math.Round(secondPoint.
xPosition
, decimals);
1690
if((decimal)firstPoint.
xPosition
< plotAreaPositionX ||
1691
(decimal)firstPoint.
xPosition
> plotAreaPositionRight ||
1692
(decimal)secondPoint.
xPosition
< plotAreaPositionX ||
1693
(decimal)secondPoint.
xPosition
> plotAreaPositionRight )
1696
if((decimal)firstPoint.
xPosition
< plotAreaPositionX &&
1697
(decimal)secondPoint.
xPosition
< plotAreaPositionX)
1702
if((decimal)firstPoint.
xPosition
> plotAreaPositionRight &&
1703
(decimal)secondPoint.
xPosition
> plotAreaPositionRight)
1709
if((decimal)firstPoint.
xPosition
< plotAreaPositionX)
1711
firstPoint.yPosition = ((double)plotAreaPositionX - secondPoint.
xPosition
) /
1712
(firstPoint.
xPosition
- secondPoint.
xPosition
) *
1717
else if((decimal)firstPoint.
xPosition
> plotAreaPositionRight)
1719
firstPoint.yPosition = ((double)plotAreaPositionRight - secondPoint.
xPosition
) /
1720
(firstPoint.
xPosition
- secondPoint.
xPosition
) *
1725
if((decimal)secondPoint.
xPosition
< plotAreaPositionX)
1727
secondPoint.yPosition = ((double)plotAreaPositionX - secondPoint.
xPosition
) /
1728
(firstPoint.
xPosition
- secondPoint.
xPosition
) *
1733
else if((decimal)secondPoint.
xPosition
> plotAreaPositionRight)
1735
secondPoint.yPosition = ((double)plotAreaPositionRight - secondPoint.
xPosition
) /
1736
(firstPoint.
xPosition
- secondPoint.
xPosition
) *
1801
(firstPoint.
xPosition
- secondPoint.
xPosition
) /
1803
secondPoint.
xPosition
;
1805
if(double.IsNaN(intersectionPoint.
xPosition
) ||
1806
double.IsInfinity(intersectionPoint.
xPosition
) ||
1832
(firstPoint.
xPosition
- secondPoint.
xPosition
) /
1834
secondPoint.
xPosition
;
1836
if(double.IsNaN(intersectionPoint2.
xPosition
) ||
1837
double.IsInfinity(intersectionPoint2.
xPosition
) ||
1848
tempPoint.xPosition = intersectionPoint.
xPosition
;
1850
intersectionPoint.xPosition = intersectionPoint2.
xPosition
;
1852
intersectionPoint2.xPosition = tempPoint.
xPosition
;
1906
new PointF((float)intersectionPoint2.
xPosition
, float.NaN),
1928
new PointF((float)intersectionPoint.
xPosition
, float.NaN),
1929
new PointF((float)intersectionPoint2.
xPosition
, float.NaN),
1949
new PointF((float)intersectionPoint.
xPosition
, float.NaN),
2047
firstPoint.xPosition = Math.Round(firstPoint.
xPosition
, decimals);
2049
secondPoint.xPosition = Math.Round(secondPoint.
xPosition
, decimals);
2127
intersectionPoint.yPosition = (intersectionPoint.
xPosition
- secondPoint.
xPosition
) /
2128
(firstPoint.
xPosition
- secondPoint.
xPosition
) *
2132
if(double.IsNaN(intersectionPoint.
xPosition
) ||
2133
double.IsInfinity(intersectionPoint.
xPosition
) ||
2164
intersectionPoint2.yPosition = (intersectionPoint2.
xPosition
- secondPoint.
xPosition
) /
2165
(firstPoint.
xPosition
- secondPoint.
xPosition
) *
2169
if(double.IsNaN(intersectionPoint2.
xPosition
) ||
2170
double.IsInfinity(intersectionPoint2.
xPosition
) ||
2248
tempPoint.xPosition = intersectionPoint.
xPosition
;
2250
intersectionPoint.xPosition = intersectionPoint2.
xPosition
;
2252
intersectionPoint2.xPosition = tempPoint.
xPosition
;
2268
new PointF((float)intersectionPoint2.
xPosition
, (!firstSegmentVisible || segmentNumber == 3) ? thirdPoint.Y : fourthPoint.Y),
2275
tempPoint.xPosition = intersectionPoint.
xPosition
;
2277
intersectionPoint.xPosition = intersectionPoint2.
xPosition
;
2279
intersectionPoint2.xPosition = tempPoint.
xPosition
;
2290
tempPoint.xPosition = intersectionPoint.
xPosition
;
2292
intersectionPoint.xPosition = intersectionPoint2.
xPosition
;
2294
intersectionPoint2.xPosition = tempPoint.
xPosition
;
2312
new PointF((float)intersectionPoint.
xPosition
, thirdPoint.Y),
2313
new PointF((float)intersectionPoint2.
xPosition
, fourthPoint.Y),
2320
tempPoint.xPosition = intersectionPoint.
xPosition
;
2322
intersectionPoint.xPosition = intersectionPoint2.
xPosition
;
2324
intersectionPoint2.xPosition = tempPoint.
xPosition
;
2336
tempPoint.xPosition = intersectionPoint.
xPosition
;
2338
intersectionPoint.xPosition = intersectionPoint2.
xPosition
;
2340
intersectionPoint2.xPosition = tempPoint.
xPosition
;
2361
new PointF((float)intersectionPoint.
xPosition
, thirdPointNewY),
2369
tempPoint.xPosition = intersectionPoint.
xPosition
;
2371
intersectionPoint.xPosition = intersectionPoint2.
xPosition
;
2373
intersectionPoint2.xPosition = tempPoint.
xPosition
;
Common\ChartTypes\RangeChart.cs (73)
998
(float)firstPoint.
xPosition
, (float)firstPoint.yPosition,
999
(float)secondPoint.
xPosition
, (float)secondPoint.yPosition,
1015
if( (decimal)intersectionCoordinates.X == (decimal)firstPoint.
xPosition
&&
1020
if( (decimal)intersectionCoordinates.X == (decimal)secondPoint.
xPosition
&&
1104
float minX = (float)Math.Min(firstPoint.
xPosition
, secondPoint.
xPosition
);
1107
float maxX = (float)Math.Max(firstPoint.
xPosition
, secondPoint.
xPosition
);
1157
firstPoint.xPosition = Math.Round(firstPoint.
xPosition
, 5);
1159
secondPoint.xPosition = Math.Round(secondPoint.
xPosition
, 5);
1281
dp1.xPosition = firstPoint.
xPosition
;
1286
dp2.xPosition = secondPoint.
xPosition
;
1306
DataPoint3D leftMostPoint = (firstPoint.
xPosition
<= secondPoint.
xPosition
) ? firstPoint : secondPoint;
1308
dp1.xPosition = leftMostPoint.
xPosition
;
1309
dp1.yPosition = (firstPoint.
xPosition
<= secondPoint.
xPosition
) ? thirdPoint.Y : fourthPoint.Y;
1311
dp2.xPosition = leftMostPoint.
xPosition
;;
1331
DataPoint3D rightMostPoint = (secondPoint.
xPosition
>= firstPoint.
xPosition
) ? secondPoint : firstPoint;
1333
dp1.xPosition = rightMostPoint.
xPosition
;
1334
dp1.yPosition = (secondPoint.
xPosition
>= firstPoint.
xPosition
) ? fourthPoint.Y : thirdPoint.Y;
1336
dp2.xPosition = rightMostPoint.
xPosition
;
1354
dp1.xPosition = firstPoint.
xPosition
;
1359
dp2.xPosition = secondPoint.
xPosition
;
1378
dp1.xPosition = firstPoint.
xPosition
;
1383
dp2.xPosition = secondPoint.
xPosition
;
1478
if(!upSideDown && firstPoint.
xPosition
< secondPoint.
xPosition
||
1479
upSideDown && firstPoint.
xPosition
> secondPoint.
xPosition
)
1481
cubePoints[0] = new Point3D( (float)firstPoint.
xPosition
, (float)firstPoint.yPosition, positionZ + depth );
1482
cubePoints[1] = new Point3D( (float)firstPoint.
xPosition
, (float)firstPoint.yPosition, positionZ );
1483
cubePoints[2] = new Point3D( (float)secondPoint.
xPosition
, (float)secondPoint.yPosition, positionZ );
1487
cubePoints[0] = new Point3D( (float)secondPoint.
xPosition
, (float)secondPoint.yPosition, positionZ + depth );
1488
cubePoints[1] = new Point3D( (float)secondPoint.
xPosition
, (float)secondPoint.yPosition, positionZ );
1489
cubePoints[2] = new Point3D( (float)firstPoint.
xPosition
, (float)firstPoint.yPosition, positionZ );
1494
if(!upSideDown && secondPoint.
xPosition
< firstPoint.
xPosition
||
1495
upSideDown && secondPoint.
xPosition
> firstPoint.
xPosition
)
1497
cubePoints[0] = new Point3D( (float)secondPoint.
xPosition
, (float)secondPoint.yPosition, positionZ + depth );
1498
cubePoints[1] = new Point3D( (float)secondPoint.
xPosition
, (float)secondPoint.yPosition, positionZ );
1499
cubePoints[2] = new Point3D( (float)firstPoint.
xPosition
, (float)firstPoint.yPosition, positionZ );
1503
cubePoints[0] = new Point3D( (float)firstPoint.
xPosition
, (float)firstPoint.yPosition, positionZ + depth );
1504
cubePoints[1] = new Point3D( (float)firstPoint.
xPosition
, (float)firstPoint.yPosition, positionZ );
1505
cubePoints[2] = new Point3D( (float)secondPoint.
xPosition
, (float)secondPoint.yPosition, positionZ );
1538
if(!upSideDown && firstPoint.
xPosition
< secondPoint.
xPosition
||
1539
upSideDown && firstPoint.
xPosition
> secondPoint.
xPosition
)
1541
cubePoints[0] = new Point3D( (float)firstPoint.
xPosition
, (float)thirdPoint.Y, positionZ + depth );
1542
cubePoints[1] = new Point3D( (float)firstPoint.
xPosition
, (float)thirdPoint.Y, positionZ );
1543
cubePoints[2] = new Point3D( (float)secondPoint.
xPosition
, (float)fourthPoint.Y, positionZ );
1547
cubePoints[0] = new Point3D( (float)secondPoint.
xPosition
, (float)fourthPoint.Y, positionZ + depth );
1548
cubePoints[1] = new Point3D( (float)secondPoint.
xPosition
, (float)fourthPoint.Y, positionZ );
1549
cubePoints[2] = new Point3D( (float)firstPoint.
xPosition
, (float)thirdPoint.Y, positionZ );
1554
if(!upSideDown && secondPoint.
xPosition
< firstPoint.
xPosition
||
1555
upSideDown && secondPoint.
xPosition
> firstPoint.
xPosition
)
1557
cubePoints[0] = new Point3D( (float)secondPoint.
xPosition
, (float)fourthPoint.Y, positionZ + depth );
1558
cubePoints[1] = new Point3D( (float)secondPoint.
xPosition
, (float)fourthPoint.Y, positionZ );
1559
cubePoints[2] = new Point3D( (float)firstPoint.
xPosition
, (float)thirdPoint.Y, positionZ );
1563
cubePoints[0] = new Point3D( (float)firstPoint.
xPosition
, (float)thirdPoint.Y, positionZ + depth );
1564
cubePoints[1] = new Point3D( (float)firstPoint.
xPosition
, (float)thirdPoint.Y, positionZ );
1565
cubePoints[2] = new Point3D( (float)secondPoint.
xPosition
, (float)fourthPoint.Y, positionZ );
1604
thirdPoint = new PointF((float)firstPoint.
xPosition
, secondYValue);
1606
fourthPoint = new PointF((float)secondPoint.
xPosition
, secondYValue);
1702
points3D[0] = new Point3D((float)firstPoint.
xPosition
, (float)firstPoint.yPosition, positionZ);
1703
points3D[1] = new Point3D((float)secondPoint.
xPosition
, (float)secondPoint.yPosition, positionZ);
1704
points3D[2] = new Point3D((float)thirdPoint.
xPosition
, (float)thirdPoint.yPosition, positionZ);
Common\ChartTypes\StackedAreaChart.cs (5)
1312
double xValue = (float)firstPoint.
xPosition
;
1341
xValue = (float)secondPoint.
xPosition
;
1371
thirdPoint.X = (float)((firstPoint.xCenterVal == 0.0) ? firstPoint.
xPosition
: firstPoint.xCenterVal);
1390
fourthPoint.X = (float)((secondPoint.xCenterVal == 0.0) ? secondPoint.
xPosition
: secondPoint.xCenterVal);
1511
points[0] = new Point3D((float)pointEx.
xPosition
, (float)(pointEx.yPosition + pointEx.height) / 2f, positionZ + depth);
Common\ChartTypes\StackedBarChart.cs (3)
1564
rectSize.Y = (float)(pointEx.
xPosition
- pointEx.width/2);
1590
point.positionRel = new PointF(rectSize.Right, (float)pointEx.
xPosition
);
1729
rectSize.Y = (float)(pointEx.
xPosition
- pointEx.width/2);
Common\ChartTypes\StackedColumnChart.cs (3)
1602
rectSize.X = (float)(pointEx.
xPosition
- pointEx.width/2);
1628
point.positionRel = new PointF((float)pointEx.
xPosition
, rectSize.Top);
1765
rectSize.X = (float)(pointEx.
xPosition
- pointEx.width/2);
Common\ChartTypes\StepLineChart.cs (1)
297
middlePoint.xPosition = secondPoint.
xPosition
;
Common\General\ChartGraphics3D.cs (51)
1213
points3D[0] = new Point3D((float)firstPoint.
xPosition
, (float)firstPoint.yPosition, positionZ);
1214
points3D[1] = new Point3D((float)secondPoint.
xPosition
, (float)secondPoint.yPosition, positionZ);
1215
points3D[2] = new Point3D((float)thirdPoint.
xPosition
, (float)thirdPoint.yPosition, positionZ);
1216
points3D[3] = new Point3D((float)fourthPoint.
xPosition
, (float)fourthPoint.yPosition, positionZ);
1434
polygonPointsFront[0] = new PointF((float)splineDataPoints[0].
xPosition
, (float)splineDataPoints[0].yPosition);
1435
polygonPointsFront[1] = new PointF((float)splineDataPoints[1].
xPosition
, (float)splineDataPoints[1].yPosition);
1437
polygonPointsFront[2] = new PointF((float)splineDataPoints[2].
xPosition
, (float)splineDataPoints[2].yPosition);
1439
polygonPointsFront[3] = new PointF((float)splineDataPoints[3].
xPosition
, (float)splineDataPoints[3].yPosition);
1447
polygonPointsFront[0] = new PointF((float)splineDataPoints[0].
xPosition
, secondYValue);
1449
polygonPointsFront[1] = new PointF((float)splineDataPoints[1].
xPosition
, secondYValue);
1453
polygonPointsFront[2] = new PointF((float)splineDataPoints[2].
xPosition
, secondYValue);
1458
polygonPointsFront[3] = new PointF((float)splineDataPoints[3].
xPosition
, secondYValue);
1793
if((decimal)firstPoint.
xPosition
== (decimal)secondPoint.
xPosition
&&
1823
if((decimal)firstPoint.
xPosition
< plotAreaPositionX ||
1824
(decimal)firstPoint.
xPosition
> plotAreaPositionRight ||
1825
(decimal)secondPoint.
xPosition
< plotAreaPositionX ||
1826
(decimal)secondPoint.
xPosition
> plotAreaPositionRight )
1829
if((decimal)firstPoint.
xPosition
< plotAreaPositionX &&
1830
(decimal)secondPoint.
xPosition
< plotAreaPositionX)
1835
if((decimal)firstPoint.
xPosition
> plotAreaPositionRight &&
1836
(decimal)secondPoint.
xPosition
> plotAreaPositionRight)
1842
if((decimal)firstPoint.
xPosition
< plotAreaPositionX)
1844
firstPoint.yPosition = ((double)plotAreaPositionX - secondPoint.
xPosition
) /
1845
(firstPoint.
xPosition
- secondPoint.
xPosition
) *
1850
else if((decimal)firstPoint.
xPosition
> plotAreaPositionRight)
1852
firstPoint.yPosition = ((double)plotAreaPositionRight - secondPoint.
xPosition
) /
1853
(firstPoint.
xPosition
- secondPoint.
xPosition
) *
1858
if((decimal)secondPoint.
xPosition
< plotAreaPositionX)
1860
secondPoint.yPosition = ((double)plotAreaPositionX - secondPoint.
xPosition
) /
1861
(firstPoint.
xPosition
- secondPoint.
xPosition
) *
1866
else if((decimal)secondPoint.
xPosition
> plotAreaPositionRight)
1868
secondPoint.yPosition = ((double)plotAreaPositionRight - secondPoint.
xPosition
) /
1869
(firstPoint.
xPosition
- secondPoint.
xPosition
) *
1934
(firstPoint.
xPosition
- secondPoint.
xPosition
) /
1936
secondPoint.
xPosition
;
1957
(firstPoint.
xPosition
- secondPoint.
xPosition
) /
1959
secondPoint.
xPosition
;
1965
tempPoint.xPosition = intersectionPoint.
xPosition
;
1967
intersectionPoint.xPosition = intersectionPoint2.
xPosition
;
1969
intersectionPoint2.xPosition = tempPoint.
xPosition
;
2090
points3D[0] = new Point3D((float)firstPoint.
xPosition
, (float)firstPoint.yPosition, positionZ + depth);
2091
points3D[1] = new Point3D((float)secondPoint.
xPosition
, (float)secondPoint.yPosition, positionZ + depth);
2092
points3D[2] = new Point3D((float)secondPoint.
xPosition
, (float)secondPoint.yPosition, positionZ);
2093
points3D[3] = new Point3D((float)firstPoint.
xPosition
, (float)firstPoint.yPosition, positionZ);