Exemplo n.º 1
0
 /// <summary>
 /// Represents a chart.
 /// </summary>
 /// <param name="name">Name of the <see cref="Chart"/>.</param>
 /// <param name="channelNames">List of channel names whose are in this <see cref="Chart"/>.</param>
 public Chart(string name)
 {
     InitializeComponent();
     ChartName = name;
     ScottPlotChart.Configure(enableScrollWheelZoom: false);
     ScottPlotChart.plt.YLabel(name);
     ScottPlotChart.plt.Style(chartStyle);
     ScottPlotChart.plt.Colorset(Colorset.OneHalfDark);
     ScottPlotChart.plt.Legend();
     ScottPlotChart.Render();
 }