public AddDataSeries ( string name, Color color, SeriesType type, int width ) : void | ||
name | string | Data series name. |
color | Color | Data series color. |
type | SeriesType | Data series type. |
width | int | Width (depends on the data series type, see remarks). |
return | void |
public void AddDataSeries( string name, Color color, SeriesType type, int width )
{
AddDataSeries( name, color, type, width, true );
}
Chart::AddDataSeries ( string name, Color color, SeriesType type, int width, bool updateYRange ) : void |
// Constructor public MainForm() { // // Required for Windows Form Designer support // InitializeComponent(); // init chart control chart.AddDataSeries("data", Color.Red, Chart.SeriesType.Dots, 5); chart.AddDataSeries("solution", Color.Blue, Chart.SeriesType.Line, 1); // init controls UpdateSettings(); }