InsertChart
Inhalt
[
Ausblenden
]InsertChart(ChartType, float, float, float, float, int)
Erstellt ein neues Diagramm, initialisiert es mit Beispieldaten und Einstellungen und fügt es an der angegebenen Position in der Sammlung ein.
public IChart InsertChart(ChartType type, float x, float y, float width, float height, int index)
Parameter | Typ | Beschreibung |
---|---|---|
type | ChartType | Art des Diagramms. |
x | Single | X-Koordinate eines neuen Diagramms. |
y | Single | Y-Koordinate eines neuen Diagramms. |
width | Single | Breite des Diagramms. |
height | Single | Höhe des Diagramms. |
index | Int32 | Position des Diagramms in der Sammlung. |
Rückgabewert
Erstelltes Diagramm.
Siehe auch
- interface IChart
- enum ChartType
- interface IShapeCollection
- namespace Aspose.Slides
- assembly Aspose.Slides
InsertChart(ChartType, float, float, float, float, int, bool)
Erstellt ein neues Diagramm und fügt es an der angegebenen Position in der Sammlung ein.
public IChart InsertChart(ChartType type, float x, float y, float width, float height, int index,
bool initWithSample)
Parameter | Typ | Beschreibung |
---|---|---|
type | ChartType | Art des Diagramms. |
x | Single | X-Koordinate eines neuen Diagramms. |
y | Single | Y-Koordinate eines neuen Diagramms. |
width | Single | Breite des Diagramms. |
height | Single | Höhe des Diagramms. |
index | Int32 | Position des Diagramms in der Sammlung. |
initWithSample | Boolean | Wenn wahr, wird das neue Diagramm mit Beispieldaten und Einstellungen initialisiert. Wenn falsch, hat das neue Diagramm keine Serien und minimale Einstellungen. In diesem Fall wird die Diagrammerstellung schneller sein. |
Rückgabewert
Erstelltes Diagramm.
Siehe auch
- interface IChart
- enum ChartType
- interface IShapeCollection
- namespace Aspose.Slides
- assembly Aspose.Slides