AddChart

AddChart(ChartType, float, float, float, float)

Creates a new Chart, initialize it with sample series data and settings and adds it to the end of the collection.

public IChart AddChart(ChartType type, float x, float y, float width, float height)
ParameterTypeDescription
typeChartTypeType of chart.
xSingleX coordinate of a new chart.
ySingleY coordinate of a new chart.
widthSingleChart’s width.
heightSingleChart’s height.

Return Value

Created chart.

See Also


AddChart(ChartType, float, float, float, float, bool)

Creates a new Chart and adds it to the end of the collection.

public IChart AddChart(ChartType type, float x, float y, float width, float height, 
    bool initWithSample)
ParameterTypeDescription
typeChartTypeType of chart.
xSingleX coordinate of a new chart.
ySingleY coordinate of a new chart.
widthSingleChart’s width.
heightSingleChart’s height.
initWithSampleBooleanIf 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