InsertChart

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)
ParameterTypeBeschreibung
typeChartTypeTyp des Diagramms.
xSingleX-Koordinate eines neuen Diagramms.
ySingleY-Koordinate eines neuen Diagramms.
widthSingleBreite des Diagramms.
heightSingleHöhe des Diagramms.
indexInt32Position des Diagramms in der Sammlung.

Rückgabewert

Erstelltes Diagramm.

Siehe auch


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)
ParameterTypeBeschreibung
typeChartTypeTyp des Diagramms.
xSingleX-Koordinate eines neuen Diagramms.
ySingleY-Koordinate eines neuen Diagramms.
widthSingleBreite des Diagramms.
heightSingleHöhe des Diagramms.
indexInt32Position des Diagramms in der Sammlung.
initWithSampleBooleanWenn wahr, wird das neue Diagramm mit Beispieldaten und -einstellungen initialisiert. Wenn falsch, hat das neue Diagramm keine Datenreihen und minimale Einstellungen. In diesem Fall wird die Diagrammerstellung schneller erfolgen.

Rückgabewert

Erstelltes Diagramm.

Siehe auch