chartWizard method

This method creates a chart.

Defined in

Chart

Syntax

public void chartWizard(Range range, String gallery, int plotBy, String title, boolean hasLegend) throws SymphonyException

Parameters

Range range

Range. Specifies the range that contains data. If the range is in another sheet, this method throws an exception.

String gallery

Specifies the chart type, which can be a chart type constant.

int plotBy

Specifies whether the data for each series is in rows or columns, and can be a chart plot type constant.

String title

Specifies the title for this chart.

boolean hasLegend

true means that the chart has legend, false means that the chart has no legend.

See examples

Example: chartWizard method