3 writes to YValues
System.Windows.Forms.DataVisualization (3)
Common\ChartTypes\BoxPlotChart.cs (1)
1772 boxPoint.YValues = newYValues;
Common\ChartTypes\RenkoChart.cs (1)
481 newDataPoint.YValues = new double[2];
Common\ChartTypes\ThreeLineBreakChart.cs (1)
459 newDataPoint.YValues = new double[2];
507 references to YValues
System.Windows.Forms.DataVisualization (507)
Common\ChartTypes\BarChart.cs (7)
471 if(point.YValues.Length < this.YValuesPerPoint) 1160if (point.YValues.Length <= yValueIndex) 1165if (point.IsEmpty || double.IsNaN(point.YValues[yValueIndex])) 1193 return point.YValues[yValueIndex]; 1243 previousPoint = series.Points[indx].YValues[yValueIndex]; 1255 nextPoint = series.Points[indx].YValues[yValueIndex]; 1389 if(point.YValues.Length < this.YValuesPerPoint)
Common\ChartTypes\BoxPlotChart.cs (55)
324 if(point.YValues.Length < this.YValuesPerPoint) 350 double yValue0 = vAxis.GetLogValue( point.YValues[0] ); 351 double yValue1 = vAxis.GetLogValue( point.YValues[1] ); 365 double low = vAxis.GetLogValue( point.YValues[0] ); 366 double high = vAxis.GetLogValue( point.YValues[1] ); 420 new PointF(xPosition, (float)vAxis.GetPosition( point.YValues[2] )), 430 new PointF(xPosition, (float)vAxis.GetPosition( point.YValues[3] )), 438 rectSize.Y = (float)vAxis.GetPosition( point.YValues[3] ); 439 rectSize.Height = (float)Math.Abs(rectSize.Y - vAxis.GetPosition( point.YValues[2] )); 501 if(!double.IsNaN(point.YValues[4]) && showAverage) 507 new PointF(rectSize.Left + relBorderWidth.Width, (float)vAxis.GetPosition( point.YValues[4])), 508 new PointF(rectSize.Right - relBorderWidth.Width, (float)vAxis.GetPosition( point.YValues[4])), 537 if(!double.IsNaN(point.YValues[5]) && showMedian) 539 float medianValue = (float)vAxis.GetPosition( point.YValues[5]); 612 double yValue0 = vAxis.GetLogValue( point.YValues[0] ); 613 double yValue1 = vAxis.GetLogValue( point.YValues[1] ); 628 for(int valueIndex = 0; valueIndex < point.YValues.Length; valueIndex++) 630 if(!double.IsNaN(point.YValues[valueIndex])) 632 double currentValue = vAxis.GetLogValue( point.YValues[valueIndex] ); 704 double yPosition = vAxis.GetLogValue( point.YValues[0] ); 708 yPosition = vAxis.GetLogValue( point.YValues[1] ); 717 for(int valueIndex = 6; valueIndex < point.YValues.Length; valueIndex++) 719 if(!double.IsNaN(point.YValues[valueIndex])) 721 yPosition = vAxis.GetLogValue( point.YValues[valueIndex] ); 901 point.YValues[0], 1105 if(point.YValues.Length < this.YValuesPerPoint) 1130 double yValue0 = vAxis.GetLogValue( point.YValues[0] ); 1131 double yValue1 = vAxis.GetLogValue( point.YValues[1] ); 1145 double high = vAxis.GetLogValue( point.YValues[1] ); 1146 double low = vAxis.GetLogValue( point.YValues[0] ); 1175 points[2] = new Point3D(xPosition, (float)vAxis.GetPosition(point.YValues[2]), seriesZPosition+seriesDepth/2f); 1176 points[3] = new Point3D(xPosition, (float)vAxis.GetPosition(point.YValues[3]), seriesZPosition+seriesDepth/2f); 1177 points[4] = new Point3D(xPosition, (float)vAxis.GetPosition(point.YValues[4]), seriesZPosition+seriesDepth/2f); 1178 points[5] = new Point3D(xPosition, (float)vAxis.GetPosition(point.YValues[5]), seriesZPosition+seriesDepth/2f); 1281 if(!double.IsNaN(point.YValues[4]) && showAverage) 1317 if(!double.IsNaN(point.YValues[5]) && showMedian) 1401 double yValue0 = vAxis.GetLogValue( point.YValues[0] ); 1402 double yValue1 = vAxis.GetLogValue( point.YValues[1] ); 1416 double high = vAxis.GetLogValue( point.YValues[1] ); 1417 double low = vAxis.GetLogValue( point.YValues[0] ); 1492 double yPosition = vAxis.GetLogValue( point.YValues[0] ); 1496 yPosition = vAxis.GetLogValue( point.YValues[1] ); 1505 for(int valueIndex = 6; valueIndex < point.YValues.Length; valueIndex++) 1507 if(!double.IsNaN(point.YValues[valueIndex])) 1509 yPosition = vAxis.GetLogValue( point.YValues[valueIndex] ); 1537 return point.YValues[yValueIndex]; 1699 boxPoint.YValues[0] = percentileValues[0]; 1700 boxPoint.YValues[1] = percentileValues[1]; 1701 boxPoint.YValues[2] = percentileValues[2]; 1702 boxPoint.YValues[3] = percentileValues[3]; 1703 boxPoint.YValues[4] = averageValue; 1704 boxPoint.YValues[5] = percentileValues[4]; 1747 if(yValue < boxPoint.YValues[0] || yValue > boxPoint.YValues[1]) 1762 newYValues[index] = boxPoint.YValues[index];
Common\ChartTypes\BubbleChart.cs (10)
176 if(point.YValues.Length < this.YValuesPerPoint) 194 size.Width = ScaleBubbleSize(graph, common, area, point.YValues[1]); 195 size.Height = ScaleBubbleSize(graph, common, area, point.YValues[1]); 281if (point.YValues.Length < this.YValuesPerPoint) 286minSer = Math.Min(minSer, point.YValues[1]); 287maxSer = Math.Max(maxSer, point.YValues[1]); 408minSer = Math.Min(minSer, point.YValues[1]); 409maxSer = Math.Max(maxSer, point.YValues[1]); 413minimum = Math.Min(minimum, point.YValues[0]); 414maximum = Math.Max(maximum, point.YValues[0]);
Common\ChartTypes\ColumnChart.cs (2)
623 if( series.Points[pointIndex].YValues[0] >= 0 ) 1313 if(point.YValues.Length < this.YValuesPerPoint)
Common\ChartTypes\ErrorBarChart.cs (55)
452 if(point.YValues.Length < this.YValuesPerPoint) 478 double yValue0 = vAxis.GetLogValue( point.YValues[1] ); 479 double yValue1 = vAxis.GetLogValue( point.YValues[2] ); 493 double low = vAxis.GetLogValue( point.YValues[1] ); 494 double high = vAxis.GetLogValue( point.YValues[2] ); 513 low = vAxis.GetLogValue( point.YValues[0] ); 514 high = vAxis.GetLogValue( point.YValues[2] ); 519 low = vAxis.GetLogValue( point.YValues[1] ); 520 high = vAxis.GetLogValue( point.YValues[0] ); 630 double yValue0 = vAxis.GetLogValue( point.YValues[1] ); 631 double yValue1 = vAxis.GetLogValue( point.YValues[2] ); 645 double high = vAxis.GetLogValue( point.YValues[1] ); 646 double low = vAxis.GetLogValue( point.YValues[2] ); 662 low = vAxis.GetLogValue( point.YValues[0] ); 663 high = vAxis.GetLogValue( point.YValues[2] ); 667 low = vAxis.GetLogValue( point.YValues[1] ); 668 high = vAxis.GetLogValue( point.YValues[0] ); 746 yPosition = vAxis.GetLogValue( point.YValues[1] ); 763 yPosition = vAxis.GetLogValue( point.YValues[2] ); 780 yPosition = vAxis.GetLogValue( point.YValues[0] ); 958point.YValues[0], 1206 if(point.YValues.Length < this.YValuesPerPoint) 1231 double yValue0 = vAxis.GetLogValue( point.YValues[1] ); 1232 double yValue1 = vAxis.GetLogValue( point.YValues[2] ); 1246 double high = vAxis.GetLogValue( point.YValues[2] ); 1247 double low = vAxis.GetLogValue( point.YValues[1] ); 1265 low = vAxis.GetLogValue( point.YValues[0] ); 1266 high = vAxis.GetLogValue( point.YValues[2] ); 1271 low = vAxis.GetLogValue( point.YValues[1] ); 1272 high = vAxis.GetLogValue( point.YValues[0] ); 1400 double yValue0 = vAxis.GetLogValue( point.YValues[1] ); 1401 double yValue1 = vAxis.GetLogValue( point.YValues[2] ); 1415 double high = vAxis.GetLogValue( point.YValues[2] ); 1416 double low = vAxis.GetLogValue( point.YValues[1] ); 1432 low = vAxis.GetLogValue( point.YValues[0] ); 1433 high = vAxis.GetLogValue( point.YValues[2] ); 1437 low = vAxis.GetLogValue( point.YValues[1] ); 1438 high = vAxis.GetLogValue( point.YValues[0] ); 1521 yPosition = (float)vAxis.GetLogValue( point.YValues[1] ); 1538 yPosition = (float)vAxis.GetLogValue( point.YValues[2] ); 1555 yPosition = (float)vAxis.GetLogValue( point.YValues[0] ); 1592 return point.YValues[yValueIndex]; 1713 mean += point.YValues[0]; 1723 errorAmount += Math.Pow(point.YValues[0] - mean, 2); 1746 errorAmount += Math.Pow(point.YValues[0], 2); 1764 point.YValues[1] = point.YValues[0] - point.YValues[0] * param / 100.0; 1765 point.YValues[2] = point.YValues[0] + point.YValues[0] * param / 100.0; 1769 point.YValues[1] = point.YValues[0] - errorAmount; 1770 point.YValues[2] = point.YValues[0] + errorAmount;
Common\ChartTypes\FastLineChart.cs (2)
351 yValue = vAxis.GetLogValue(point.YValues[0]); 697 return point.YValues[yValueIndex];
Common\ChartTypes\FastPointChart.cs (2)
356 yValue = vAxis.GetLogValue(point.YValues[0]); 659 return point.YValues[yValueIndex];
Common\ChartTypes\FunnelChart.cs (3)
1643 point.YValues[0], 2752 yValue = point.YValues[0]; 2809 return point.YValues[yValueIndex];
Common\ChartTypes\KagiChart.cs (11)
371 prevClose = dataPoint.YValues[yValueIndex]; 378 newDataPoint.YValues[0] = dataPoint.YValues[yValueIndex]; 393 if(dataPoint.YValues[yValueIndex] > prevClose) 397 else if(dataPoint.YValues[yValueIndex] < prevClose) 412 series.Points[series.Points.Count - 1].YValues[0] = 413 dataPoint.YValues[yValueIndex]; 417 else if( Math.Abs(dataPoint.YValues[yValueIndex] - prevClose) < reversalAmount) 430 newDataPoint.YValues[0] = dataPoint.YValues[yValueIndex]; 437 prevClose = dataPoint.YValues[yValueIndex];
Common\ChartTypes\PieChart.cs (12)
343 total += Math.Abs(dp.YValues[0]); 385 if(!dataPoint.IsEmpty && Math.Abs(dataPoint.YValues[0]) <= threshold) 389 collectedTotal += Math.Abs(dataPoint.YValues[0]); 422 collectedPoint.YValues[0] = collectedTotal; 735 sum += Math.Abs( point.YValues[0] ); 824 float sweepAngle = (float)( Math.Abs(point.YValues[0]) / sum * 360); 1735 point.YValues[0], 2352 return point.YValues[yValueIndex]; 2425 sum += Math.Abs(point.YValues[0]); 4352 sum += Math.Abs(point.YValues[0]); 4392 sweepAngle = (float)( Math.Abs(point.YValues[0]) * 360 / sum ); 5650 point.YValues[0],
Common\ChartTypes\PointAndFigureChart.cs (35)
334 if(dp.YValues.Length < 2) 339 if(dp.YValues[yValueHighIndex] > maxPrice) 341 maxPrice = dp.YValues[yValueHighIndex]; 343 else if(dp.YValues[yValueLowIndex] > maxPrice) 345 maxPrice = dp.YValues[yValueLowIndex]; 348 if(dp.YValues[yValueHighIndex] < minPrice) 350 minPrice = dp.YValues[yValueHighIndex]; 352 else if(dp.YValues[yValueLowIndex] < minPrice) 354 minPrice = dp.YValues[yValueLowIndex]; 573 prevHigh = dataPoint.YValues[yValueHighIndex]; 574 prevLow = dataPoint.YValues[yValueLowIndex]; 583 if(dataPoint.YValues[yValueHighIndex] >= (prevHigh + boxSize)) 587 (dataPoint.YValues[yValueHighIndex] - prevHigh) / boxSize); 589 else if(dataPoint.YValues[yValueLowIndex] <= (prevHigh - boxSize * reversalAmount)) 593 (prevHigh - dataPoint.YValues[yValueLowIndex]) / boxSize); 596else if (dataPoint.YValues[yValueHighIndex] <= (prevLow - boxSize)) 600(prevLow - dataPoint.YValues[yValueHighIndex]) / boxSize); 604series.Points[series.Points.Count - 1].YValues[0] -= numberOfBricks * boxSize; 613 if(dataPoint.YValues[yValueLowIndex] <= (prevLow - boxSize)) 617 (prevLow - dataPoint.YValues[yValueLowIndex]) / boxSize); 619 else if(dataPoint.YValues[yValueHighIndex] >= (prevLow + boxSize * reversalAmount)) 623 (dataPoint.YValues[yValueHighIndex] - prevLow) / boxSize); 626else if (dataPoint.YValues[yValueLowIndex] >= (prevHigh + boxSize)) 630(prevHigh - dataPoint.YValues[yValueLowIndex]) / boxSize); 634series.Points[series.Points.Count - 1].YValues[1] += numberOfBricks * boxSize; 649series.Points[series.Points.Count - 1].YValues[1] += numberOfBricks * boxSize; 655series.Points[series.Points.Count - 1].YValues[0] -= numberOfBricks * boxSize; 671 newDataPoint.YValues[0] = prevLow + ((prevDirection != 0) ? boxSize : 0.0); 672newDataPoint.YValues[1] = newDataPoint.YValues[0] + numberOfBricks * boxSize - ((prevDirection != 0) ? boxSize : 0.0); 676 newDataPoint.YValues[1] = prevHigh - ((prevDirection != 0) ? boxSize : 0.0); 677 newDataPoint.YValues[0] = newDataPoint.YValues[1] - numberOfBricks * boxSize; 680prevHigh = newDataPoint.YValues[1]; 681prevLow = newDataPoint.YValues[0];
Common\ChartTypes\PointChart.cs (6)
688point.YValues[(labelYValueIndex == -1) ? YValueIndex : labelYValueIndex], 1496if (point.YValues.Length <= yValueIndex) 1502if (point.IsEmpty || double.IsNaN(point.YValues[yValueIndex])) 1528 return point.YValues[yValueIndex]; 1577 previousPoint = series.Points[indx].YValues[YValueIndex]; 1589 nextPoint = series.Points[indx].YValues[YValueIndex];
Common\ChartTypes\RadarChart.cs (14)
442 if(vAxis.GetLogValue(point.YValues[0]) > vAxisMax || vAxis.GetLogValue(point.YValues[0]) < vAxisMin || 443 vAxis.GetLogValue(ser.Points[secondPointIndex].YValues[0]) > vAxisMax || vAxis.GetLogValue(ser.Points[secondPointIndex].YValues[0]) < vAxisMin) 541 if(vAxis.GetLogValue(point.YValues[0]) > vAxisMax || vAxis.GetLogValue(point.YValues[0]) < vAxisMin || 542 vAxis.GetLogValue(ser.Points[secondPointIndex].YValues[0]) > vAxisMax || vAxis.GetLogValue(ser.Points[secondPointIndex].YValues[0]) < vAxisMin) 712 if(vAxis.GetLogValue(point.YValues[0]) > vAxisMax || 713 vAxis.GetLogValue(point.YValues[0]) < vAxisMin) 1060point.YValues[0], 1424 return point.YValues[yValueIndex]; 1473 previousPoint = series.Points[indx].YValues[0]; 1485 nextPoint = series.Points[indx].YValues[0];
Common\ChartTypes\RangeChart.cs (7)
353 if(point.YValues.Length < 2) 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 ) 1603 float secondYValue = (float)vAxis.GetPosition(firstPoint.dataPoint.YValues[1]); 1605 secondYValue = (float)vAxis.GetPosition(secondPoint.dataPoint.YValues[1]);
Common\ChartTypes\RenkoChart.cs (15)
343 if(dp.YValues[yValueIndex] > highest) 345 highest = dp.YValues[yValueIndex]; 347 if(dp.YValues[yValueIndex] < lowest) 349 lowest = dp.YValues[yValueIndex]; 436 prevHigh = dataPoint.YValues[yValueIndex]; 437 prevLow = dataPoint.YValues[yValueIndex]; 463 if(dataPoint.YValues[yValueIndex] >= (prevHigh + boxSize)) 466 numberOfBricks = (int)Math.Floor((dataPoint.YValues[yValueIndex] - prevHigh) / boxSize); 468 else if(dataPoint.YValues[yValueIndex] <= (prevLow - boxSize)) 471 numberOfBricks = (int)Math.Floor((prevLow - dataPoint.YValues[yValueIndex]) / boxSize); 486 newDataPoint.YValues[1] = prevHigh; 487 newDataPoint.YValues[0] = prevHigh + boxSize; 509 newDataPoint.YValues[1] = prevLow; 510 newDataPoint.YValues[0] = prevLow - boxSize; 680 return point.YValues[yValueIndex];
Common\ChartTypes\StackedAreaChart.cs (6)
186 _totalPerPoint[index] += Math.Abs(ser.Points[index].YValues[0]); 206 return (point.YValues[0] / _totalPerPoint[pointIndex]) * 100.0; 251 yValue = (ser.Points[pointIndex].YValues[0] / _totalPerPoint[pointIndex]) * 100.0; 1489double pointLabelValue = pointEx.dataPoint.YValues[(labelYValueIndex == -1) ? YValueIndex : labelYValueIndex]; 1584 return point.YValues[0]; 1628 yValue = ser.Points[pointIndex].YValues[0];
Common\ChartTypes\StackedBarChart.cs (12)
172 totals[index] += Math.Abs(ser.Points[index].YValues[0]); 187 if(point.YValues[0] == 0 || point.IsEmpty) 200 return (point.YValues[0] / currentGroupTotalPerPoint[pointIndex]) * 100.0; 255 yValue = (ser.Points[pointIndex].YValues[0] / currentGroupTotalPerPoint[pointIndex]) * 100.0; 266 yValue = (ser.Points[pointIndex].YValues[0] / currentGroupTotalPerPoint[pointIndex]) * 100.0; 1254 return point.YValues[0]; 1304 yValue = ser.Points[pointIndex].YValues[0]; 1308 yValue = ser.Points[pointIndex].YValues[0]; 1436 currentSeries.Points[pointEx.index - 1].YValues[0] != 0.0) 1452 currentSeries.Points[pointEx.index - 1].YValues[0] != 0.0) 1487 currentSeries.Points[pointEx.index - 1].YValues[0] != 0.0) 1503 currentSeries.Points[pointEx.index - 1].YValues[0] != 0.0)
Common\ChartTypes\StackedColumnChart.cs (12)
165 totals[index] += Math.Abs(ser.Points[index].YValues[0]); 181 if(point.YValues[0] == 0 || point.IsEmpty) 194 return (point.YValues[0] / currentGroupTotalPerPoint[pointIndex]) * 100.0; 250 yValue = (ser.Points[pointIndex].YValues[0] / currentGroupTotalPerPoint[pointIndex]) * 100.0; 261 yValue = (ser.Points[pointIndex].YValues[0] / currentGroupTotalPerPoint[pointIndex]) * 100.0; 1297 return point.YValues[0]; 1347 yValue = ser.Points[pointIndex].YValues[0]; 1351 yValue = ser.Points[pointIndex].YValues[0]; 1478 currentSeries.Points[pointEx.index - 1].YValues[0] != 0.0) 1494 currentSeries.Points[pointEx.index - 1].YValues[0] != 0.0) 1529 currentSeries.Points[pointEx.index - 1].YValues[0] != 0.0) 1546 currentSeries.Points[pointEx.index - 1].YValues[0] != 0.0)
Common\ChartTypes\StockChart.cs (22)
382 double yValue0 = VAxis.GetLogValue( point.YValues[0] ); 383 double yValue1 = VAxis.GetLogValue( point.YValues[1] ); 397 double high = VAxis.GetLogValue( point.YValues[0] ); 398 double low = VAxis.GetLogValue( point.YValues[1] ); 497 double yValue0 = VAxis.GetLogValue( point.YValues[0] ); 498 double yValue1 = VAxis.GetLogValue( point.YValues[1] ); 512 double high = VAxis.GetLogValue( point.YValues[0] ); 513 double low = VAxis.GetLogValue( point.YValues[1] ); 653 double openY = VAxis.GetLogValue( point.YValues[2] ); 654 double closeY = VAxis.GetLogValue( point.YValues[3] ); 983point.YValues[valueIndex], 1191 double yValue0 = VAxis.GetLogValue( point.YValues[0] ); 1192 double yValue1 = VAxis.GetLogValue( point.YValues[1] ); 1215 double high = VAxis.GetLogValue( point.YValues[0] ); 1216 double low = VAxis.GetLogValue( point.YValues[1] ); 1311 double yValue0 = VAxis.GetLogValue( point.YValues[0] ); 1312 double yValue1 = VAxis.GetLogValue( point.YValues[1] ); 1326 double high = VAxis.GetLogValue( point.YValues[0] ); 1327 double low = VAxis.GetLogValue( point.YValues[1] ); 1478 double openY = VAxis.GetLogValue( point.YValues[2] ); 1479 double closeY = VAxis.GetLogValue( point.YValues[3] ); 1793 return point.YValues[yValueIndex];
Common\ChartTypes\ThreeLineBreakChart.cs (15)
354 prevHigh = dataPoint.YValues[yValueIndex]; 355 prevLow = dataPoint.YValues[yValueIndex]; 381 if(dataPoint.YValues[yValueIndex] > prevHigh) 385 else if(dataPoint.YValues[yValueIndex] < prevLow) 422 if(dataPoint.YValues[yValueIndex] <= lineBreakHigh) 440 if(dataPoint.YValues[yValueIndex] >= lineBreakLow) 464 newDataPoint.YValues[1] = prevHigh; 465 newDataPoint.YValues[0] = dataPoint.YValues[yValueIndex]; 467 prevHigh = dataPoint.YValues[yValueIndex]; 487 newDataPoint.YValues[1] = prevLow; 488 newDataPoint.YValues[0] = dataPoint.YValues[yValueIndex]; 490 prevLow = dataPoint.YValues[yValueIndex]; 675 return point.YValues[yValueIndex];
Common\DataManager\DataManager.cs (45)
327 if(!double.IsNaN(seriesPoint.YValues[valueIndex])) 329 returnValue = Math.Max(returnValue, seriesPoint.YValues[valueIndex]); 355 if(!double.IsNaN(seriesPoint.YValues[0])) 357if (seriesPoint.YValues.Length > 1) 359returnValue = Math.Max(returnValue, seriesPoint.YValues[0] + BubbleChart.AxisScaleBubbleSize(area.Common, area, seriesPoint.YValues[1], true)); 363returnValue = Math.Max(returnValue, seriesPoint.YValues[0]); 392if (seriesPoint.YValues.Length > 1) 427if (seriesPoint.YValues.Length > 1) 429returnValue = Math.Min(returnValue, seriesPoint.XValue - BubbleChart.AxisScaleBubbleSize(area.Common, area, seriesPoint.YValues[1], false)); 459 foreach( double y in seriesPoint.YValues ) 530 double yValue = seriesPoint.YValues[valueIndex]; 561 foreach( double y in seriesPoint.YValues ) 594 foreach( double y in seriesPoint.YValues ) 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]); 675if (chartType.StackSign || double.IsNaN(this._series[seriesName].Points[pointIndex].YValues[valueIndex])) 683stackedMax += this._series[seriesName].Points[pointIndex].YValues[valueIndex]; 689noStackedMax = Math.Max(noStackedMax, this._series[seriesName].Points[pointIndex].YValues[valueIndex]); 745 if(!double.IsNaN(seriesPoint.YValues[valueIndex])) 747 returnValue = Math.Min(returnValue, seriesPoint.YValues[valueIndex]); 773 if(!double.IsNaN(seriesPoint.YValues[0])) 775if (seriesPoint.YValues.Length > 1) 777returnValue = Math.Min(returnValue, seriesPoint.YValues[0] - BubbleChart.AxisScaleBubbleSize(area.Common, area, seriesPoint.YValues[1], true)); 781returnValue = Math.Min(returnValue, seriesPoint.YValues[0]); 807 foreach(double y in seriesPoint.YValues) 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]; 911if (chartType.StackSign || double.IsNaN(this._series[seriesName].Points[pointIndex].YValues[valueIndex])) 918if (this._series[seriesName].Points[pointIndex].YValues[valueIndex] < 0) 920stackedMin += this._series[seriesName].Points[pointIndex].YValues[valueIndex]; 927noStackedMin = Math.Min(noStackedMin, this._series[seriesName].Points[pointIndex].YValues[valueIndex]); 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]; 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 (16)
235 result = x.YValues[_sortingValueIndex].CompareTo(y.YValues[_sortingValueIndex]); 2405 return this.YValues[0]; 2424 if(yIndex >= this.YValues.Length) 2429 return this.YValues[yIndex]; 2481 (this.YValues[0]/(this.series.GetTotalYValue())), 2505for (int index = this.YValues.Length; index <= 7; index++) 2510 for(int index = 1; index <= this.YValues.Length; index++) 2519 this.YValues[index - 1], 2531 this.YValues[0], 2542 this.YValues[0], 2658if (YValues.Length == 1) 2660sb.AppendFormat(CultureInfo.CurrentCulture, "Y={0}", YValues[0]); 2665for (int i = 0; i < YValues.Length; i++) 2667sb.AppendFormat(CultureInfo.CurrentCulture, "{0}", YValues[i]); 2669sb.AppendFormat(CultureInfo.CurrentCulture, ", {0}", YValues[i]);
Common\DataManager\DataSeries.cs (32)
1064 _totalYvalue += point.YValues[yValueIndex]; 1080 yValue += point.YValues[yValueIndex]; 1261 keywordValue = this.Points[0].YValues[yValueIndex]; 1269 keywordValue = this.Points[this.Points.Count - 1].YValues[yValueIndex]; 1280keywordValue = Math.Max(keywordValue, point.YValues[yValueIndex]); 1292keywordValue = Math.Min(keywordValue, point.YValues[yValueIndex]); 1597 if(this.Points.Count > 0 && this.Points[0].YValues.Length < this.YValuesPerPoint) 1648 point.YValues[valueIndex] = point.YValues[0]; 1653 point.YValues[1] = point.YValues[0] / 2 - 1; 1658 point.YValues[2] = point.YValues[1] + (point.YValues[0] - point.YValues[1]) / 3; 1659 point.YValues[3] = point.YValues[2] + (point.YValues[0] - point.YValues[1]) / 3; 1664 point.YValues[4] = point.YValues[2] + (point.YValues[3] - point.YValues[2]) / 2; 1665 point.YValues[5] = point.YValues[2] + (point.YValues[3] - point.YValues[2]) / 3; 1701 for(int yValueIndex = 0; yValueIndex < point.YValues.Length; yValueIndex++) 1706 if(point.YValues[yValueIndex] <= 0.0) 1708 point.YValues[yValueIndex] = 1.0; 1714 if(double.IsNaN(point.YValues[yValueIndex])) 1716 point.YValues[yValueIndex] = 0.0;
Common\General\AxisScaleBreaks.cs (5)
1011 int segmentIndex = (int)Math.Floor((dataPoint.YValues[yValueIndex] - minYValue) / segmentSize); 1027 segmentMaxValue[segmentIndex] = dataPoint.YValues[yValueIndex]; 1028 segmentMinValue[segmentIndex] = dataPoint.YValues[yValueIndex]; 1032 segmentMaxValue[segmentIndex] = Math.Max(segmentMaxValue[segmentIndex], dataPoint.YValues[yValueIndex]); 1033 segmentMinValue[segmentIndex] = Math.Min(segmentMinValue[segmentIndex], dataPoint.YValues[yValueIndex]);
Common\General\Chart.cs (1)
1072 newPoint.YValues[0] = 0.0;
Common\General\ChartGraphics3D.cs (4)
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]);
Common\General\DataManipulator.cs (25)
1037 object yValue = point.YValues[yIndex]; 1042if (Double.IsNaN(point.YValues[yIndex])) 1045yValue = DateTime.FromOADate(point.YValues[yIndex]); 1388 for(int valueIndex = 0; valueIndex < output[seriesIndex].Points[pointIndex].YValues.Length; valueIndex++) 1390 output[seriesIndex].Points[pointIndex].YValues[valueIndex] = 0.0; 2273 point.YValues.CopyTo(dp.YValues, 0); 2390 newPoint.YValues[i - 1] = pointTempValues[i]; 2671 newPoint.YValues[i - 1] = pointTempValues[i]; 2770 if(funcIndex > point.YValues.Length) 2797 pointTempValues[functionInfo.outputIndex] = point.YValues[funcIndex-1]; 2811 pointTempValues[functionInfo.outputIndex + 2] = point.YValues[funcIndex-1]; 2843 if(funcIndex > point.YValues.Length) 2853 Math.Min(pointTempValues[functionInfo.outputIndex], point.YValues[funcIndex-1]); 2859 Math.Max(pointTempValues[functionInfo.outputIndex], point.YValues[funcIndex-1]); 2871 pointTempValues[functionInfo.outputIndex] += point.YValues[funcIndex-1]; 2878 pointTempValues[functionInfo.outputIndex] += point.YValues[funcIndex-1]; 2889 pointTempValues[functionInfo.outputIndex] = point.YValues[funcIndex-1]; 2903 Math.Max(pointTempValues[functionInfo.outputIndex], point.YValues[funcIndex-1]); 2906 Math.Min(pointTempValues[functionInfo.outputIndex + 1], point.YValues[funcIndex-1]); 2910 pointTempValues[functionInfo.outputIndex + 3] = point.YValues[funcIndex-1]; 2929 if(funcIndex > point.YValues.Length) 2957 if(!uniqueValues.Contains(series.Points[secondPassIndex].YValues[funcIndex-1])) 2959 uniqueValues.Add(series.Points[secondPassIndex].YValues[funcIndex-1]); 2984 Math.Pow(series.Points[secondPassIndex].YValues[funcIndex-1] - average, 2);
Common\General\FormulaData.cs (3)
551series.Points[pointIndex].YValues[valueIndex[seriesIndex] - 1] = outputValues[seriesIndex + 1][pointIndex]; 566series.Points[pointIndex].YValues[valueIndex[seriesIndex] - 1] = outputValues[seriesIndex + 1][pointIndex]; 783output[indexSeries][indexPoint] = point.YValues[valueIndex[indexSeries - 1] - 1];
Common\General\Statistics.cs (69)
141zTestResult.firstSeriesMean = points[0].YValues[0]; 142zTestResult.secondSeriesMean = points[1].YValues[0]; 143zTestResult.firstSeriesVariance = points[2].YValues[0]; 144zTestResult.secondSeriesVariance = points[3].YValues[0]; 145zTestResult.zValue = points[4].YValues[0]; 146zTestResult.probabilityZOneTail = points[5].YValues[0]; 147zTestResult.zCriticalValueOneTail = points[6].YValues[0]; 148zTestResult.probabilityZTwoTail = points[7].YValues[0]; 149zTestResult.zCriticalValueTwoTail = points[8].YValues[0]; 203tTestResult.firstSeriesMean = points[0].YValues[0]; 204tTestResult.secondSeriesMean = points[1].YValues[0]; 205tTestResult.firstSeriesVariance = points[2].YValues[0]; 206tTestResult.secondSeriesVariance = points[3].YValues[0]; 207tTestResult.tValue = points[4].YValues[0]; 208tTestResult.degreeOfFreedom = points[5].YValues[0]; 209tTestResult.probabilityTOneTail = points[6].YValues[0]; 210tTestResult.tCriticalValueOneTail = points[7].YValues[0]; 211tTestResult.probabilityTTwoTail = points[8].YValues[0]; 212tTestResult.tCriticalValueTwoTail = points[9].YValues[0]; 266tTestResult.firstSeriesMean = points[0].YValues[0]; 267tTestResult.secondSeriesMean = points[1].YValues[0]; 268tTestResult.firstSeriesVariance = points[2].YValues[0]; 269tTestResult.secondSeriesVariance = points[3].YValues[0]; 270tTestResult.tValue = points[4].YValues[0]; 271tTestResult.degreeOfFreedom = points[5].YValues[0]; 272tTestResult.probabilityTOneTail = points[6].YValues[0]; 273tTestResult.tCriticalValueOneTail = points[7].YValues[0]; 274tTestResult.probabilityTTwoTail = points[8].YValues[0]; 275tTestResult.tCriticalValueTwoTail = points[9].YValues[0]; 329tTestResult.firstSeriesMean = points[0].YValues[0]; 330tTestResult.secondSeriesMean = points[1].YValues[0]; 331tTestResult.firstSeriesVariance = points[2].YValues[0]; 332tTestResult.secondSeriesVariance = points[3].YValues[0]; 333tTestResult.tValue = points[4].YValues[0]; 334tTestResult.degreeOfFreedom = points[5].YValues[0]; 335tTestResult.probabilityTOneTail = points[6].YValues[0]; 336tTestResult.tCriticalValueOneTail = points[7].YValues[0]; 337tTestResult.probabilityTTwoTail = points[8].YValues[0]; 338tTestResult.tCriticalValueTwoTail = points[9].YValues[0]; 410fTestResult.firstSeriesMean = points[0].YValues[0]; 411fTestResult.secondSeriesMean = points[1].YValues[0]; 412fTestResult.firstSeriesVariance = points[2].YValues[0]; 413fTestResult.secondSeriesVariance = points[3].YValues[0]; 414fTestResult.fValue = points[4].YValues[0]; 415fTestResult.probabilityFOneTail = points[5].YValues[0]; 416fTestResult.fCriticalValueOneTail = points[6].YValues[0]; 462anovaResult.sumOfSquaresBetweenGroups = points[0].YValues[0]; 463anovaResult.sumOfSquaresWithinGroups = points[1].YValues[0]; 464anovaResult.sumOfSquaresTotal = points[2].YValues[0]; 465anovaResult.degreeOfFreedomBetweenGroups = points[3].YValues[0]; 466anovaResult.degreeOfFreedomWithinGroups = points[4].YValues[0]; 467anovaResult.degreeOfFreedomTotal = points[5].YValues[0]; 468anovaResult.meanSquareVarianceBetweenGroups = points[6].YValues[0]; 469anovaResult.meanSquareVarianceWithinGroups = points[7].YValues[0]; 470anovaResult.fRatio = points[8].YValues[0]; 471anovaResult.fCriticalValue = points[9].YValues[0]; 511result = points[0].YValues[0]; 547result = points[0].YValues[0]; 589result = points[0].YValues[0]; 631result = points[0].YValues[0]; 681result = points[0].YValues[0]; 721result = points[0].YValues[0]; 769result = points[0].YValues[0]; 813result = points[0].YValues[0]; 853result = points[0].YValues[0]; 893result = points[0].YValues[0]; 938result = points[0].YValues[0]; 983result = points[0].YValues[0]; 1019result = points[0].YValues[0];
Common\Utilities\XmlSerializer.cs (4)
1614if (dataPoint.YValues.Length > 0 && IsSerializableContent("YValues", objectToSerialize)) 1617attrib.Value = GetXmlValue(dataPoint.YValues, dataPoint, "YValues"); 2488if (dataPoint.YValues.Length > 0 && IsSerializableContent("YValues", objectToSerialize)) 2490SerializeProperty(dataPoint.YValues, dataPoint, "YValues", writer);