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() { InitializeComponent(); mapControl.RangeX = new Range(0, 1000); mapControl.RangeY = new Range(0, 1000); mapControl.AddDataSeries("map", Color.Red, Chart.SeriesType.Dots, 5, false); mapControl.AddDataSeries("path", Color.Blue, Chart.SeriesType.Line, 1, false); selectionBox.SelectedIndex = selectionMethod; UpdateSettings(); GenerateMap(); }