This method creates a new chart object.
Defined in
Syntax
public ChartObject add(String name,int left, int top, int width, int height, boolean rowHeader, boolean columnHeader) throws SymphonyException public ChartObject add(String name,int left, int top, int width, int height) throws SymphonyException
Parameters
String name
Specifies the name of the chart object. If a chart object with the same name already exists, an index suffix is added after the new chart object's name. For example, if the chart object with name "report" already exists, the new chart object's name is "report1".
int left
Specifies the X coordinate of the new chart in 1/100th mm, relative to the left side of a sheet.
int top
Specifies the Y coordinate of the new chart in 1/100th mm, relative to the top side of a sheet.
int width
Specifies the width of the new chart in 1/100th mm.
int height
Specifies the height of the new chart in 1/100th mm .
boolean rowHeader
true means that the new chart has row header, false means that there is no row header for this chart. The default value is false.
boolean columnHeader
true means that the new chart has column header, false means that there is no column header for this chart. The default value is false.
Usage
If the value of the parameter left, top,width or height is negative, this method throws an exception.
See examples