insert method

insert(index, x_value)

Inserts the specified X value into the chart series at the specified index. If the series supports Y values and bubble sizes, they will be empty for the X value.

def insert(self, index: int, x_value: aspose.words.drawing.charts.ChartXValue):
    ...
ParameterTypeDescription
indexint
x_valueChartXValue

Remarks

The corresponding data point with default formatting will be inserted into the data point collection. And, if data labels are displayed, the corresponding data label with default formatting will be inserted too.

insert(index, x_value, y_value)

Inserts the specified X and Y values into the chart series at the specified index.

def insert(self, index: int, x_value: aspose.words.drawing.charts.ChartXValue, y_value: aspose.words.drawing.charts.ChartYValue):
    ...
ParameterTypeDescription
indexint
x_valueChartXValue
y_valueChartYValue

Remarks

The corresponding data point with default formatting will be inserted into the data point collection. And, if data labels are displayed, the corresponding data label with default formatting will be inserted too.

insert(index, x_value, y_value, bubble_size)

Inserts the specified X value, Y value and bubble size into the chart series at the specified index.

def insert(self, index: int, x_value: aspose.words.drawing.charts.ChartXValue, y_value: aspose.words.drawing.charts.ChartYValue, bubble_size: float):
    ...
ParameterTypeDescription
indexint
x_valueChartXValue
y_valueChartYValue
bubble_sizefloat

Remarks

The corresponding data point with default formatting will be inserted into the data point collection. And, if data labels are displayed, the corresponding data label with default formatting will be inserted too.

See Also