add method

add

Creates new chart series and adds it to the collection.

Returns

New chart series.

def add(self, type):
    ...
ParameterTypeDescription
typeChartTypeType of series

add

Creates new chart series from IChartDataCell and adds it to the collection.

Returns

Added chart series or series that already is in collection.

def add(self, cell_with_series_name, type):
    ...
ParameterTypeDescription
cell_with_series_nameIChartDataCellCell which contain series name.
typeChartTypeType set type of series

Remarks

If chart series careted from same cell already in collection then method adds nothing and returns it’s index.

add

Creates new chart series from IChartCellCollection and adds it to the collection.

Returns

Added chart series or series that already is in collection.

def add(self, cells_with_series_name, type):
    ...
ParameterTypeDescription
cells_with_series_nameIChartCellCollectionCells which contain series name.
typeChartTypeType set type of series

Remarks

If chart series careted from same cell already in collection then method adds nothing and returns it’s index.

add

Creates new chart series from value and adds it to the collection.

Returns

Added chart series.

def add(self, name, type):
    ...
ParameterTypeDescription
namestrSeries name.
typeChartTypeType set type of series

See Also