回复 6楼willwy的帖子
请尝试一下代码:
- double[] targetThickness2 = new double[xSeries.Length];
- for (int i = 0; i < xSeries.Length; i = i + 5)
- { targetThickness2 = targetThinkessLine - toleranceLine; }
- targetThickDataSeries[1] = new XYDataSeries()
- {
- XValuesSource = xSeries,
- ValuesSource = targetThickness2,
- ChartType = ChartType.XYPlot,
- SymbolFill = new SolidColorBrush(Color.FromArgb(50, 10, 10, 10)),
- SymbolSize = new System.Windows.Size(8,10)
- };
复制代码 |