ChartAddDataSeries Method (String, Color, ChartSeriesType, Int32, Boolean) |
Namespace: Accord.Controls
public void AddDataSeries( string name, Color color, ChartSeriesType type, int width, bool updateYRange )
Adds new empty data series to the collection of data series.
The updateYRange parameter specifies if the data series may affect displayable Y range. If the value is set to false, then displayable Y range is not updated, but used the range, which was specified by user (see RangeY property). In the case if the value is set to true, the displayable Y range is recalculated to fully fit the new data series.