add_chart method
Contents
[
Hide
]add_chart
Creates a new Chart, initialize it with sample series data and settings and adds it to the end of the collection.
Returns
Created chart.
def add_chart(self, type, x, y, width, height):
...
Parameter | Type | Description |
---|---|---|
type | ChartType | Type of chart. |
x | float | X coordinate of a new chart. |
y | float | Y coordinate of a new chart. |
width | float | Chart’s width. |
height | float | Chart’s height. |
add_chart
Creates a new Chart and adds it to the end of the collection.
Returns
Created chart.
def add_chart(self, type, x, y, width, height, init_with_sample):
...
Parameter | Type | Description |
---|---|---|
type | ChartType | Type of chart. |
x | float | X coordinate of a new chart. |
y | float | Y coordinate of a new chart. |
width | float | Chart’s width. |
height | float | Chart’s height. |
init_with_sample | bool | If true then new chart will be initialized with sample series data and settings. If false then new chart will have no series and minimum settings. In this case chart creation will be more fast. |
See Also
- enumeration
ChartType
- class
IShapeCollection
- module
aspose.slides
- library
Aspose.Slides