InsertChart
Contents
[
Hide
]InsertChart(ChartType, float, float, float, float, int)
Creates a new Chart, initialize it with sample series data and settings and inserts it to the specified position in the collection.
public IChart InsertChart(ChartType type, float x, float y, float width, float height, int index)
Parameter | Type | Description |
---|---|---|
type | ChartType | Type of chart. |
x | Single | X coordinate of a new chart. |
y | Single | Y coordinate of a new chart. |
width | Single | Chart’s width. |
height | Single | Chart’s height. |
index | Int32 | Chart’s position in the collection. |
Return Value
Created chart.
See Also
- interface IChart
- enum ChartType
- interface IShapeCollection
- namespace Aspose.Slides
- assembly Aspose.Slides
InsertChart(ChartType, float, float, float, float, int, bool)
Creates a new Chart and inserts it to the specified position in the collection.
public IChart InsertChart(ChartType type, float x, float y, float width, float height, int index,
bool initWithSample)
Parameter | Type | Description |
---|---|---|
type | ChartType | Type of chart. |
x | Single | X coordinate of a new chart. |
y | Single | Y coordinate of a new chart. |
width | Single | Chart’s width. |
height | Single | Chart’s height. |
index | Int32 | Chart’s position in the collection. |
initWithSample | Boolean | 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. |
Return Value
Created chart.
See Also
- interface IChart
- enum ChartType
- interface IShapeCollection
- namespace Aspose.Slides
- assembly Aspose.Slides