```csharp
private void IntiPage(List<YChartItem> chartDataList)
{
var plt = new ScottPlot.WpfPlot();
YChartItem chartData = chartDataList.First();
double[] positions = new double[chartData.Value.Length];
for (int i = 0; i < positions.Length; i++)
{
positions[i] = i;
}
if (positions != null && positions.Length > 1)
{
Chart_Graph.Plot.XTicks(positions, chartData.XLabel);
}
foreach (var chartItem in chartDataList)
{
Chart_Graph.Plot.AddSignal(chartItem.Value, 1, null, chartItem.Title);
}
Chart_Graph.Plot.Legend();
Chart_Graph.Refresh();
}
private void IntiPage(YChartItem chartData, string[] XLabel)
{
var plt = new ScottPlot.WpfPlot();
double[] positions = new double[chartData.Value.Length];
for (int i = 0; i < positions.Length; i++)
{
positions[i] = i;
}
Chart_Graph.Plot.XTicks(positions, XLabel);
Chart_Graph.Plot.AddSignal(chartData.Value, 1, System.Drawing.Color.Red, chartData.Title);
var mean = Chart_Graph.Plot.AddSignal(chartData.Mean, 1, System.Drawing.Color.Green, "Mean Data");
mean.LineStyle = LineStyle.Solid;
mean.LineWidth = 2;
// mean.FillDisable();
mean.MarkerSize = 0;
Chart_Graph.Refresh();
}