User API

AreaChart extends Chart

Other API in Package

Web

Internal Tunnel

Internal Web

Tunnel

Method Summary
String getName()

Returns the name of this chart.

String getType()

Returns the type of this chart.

  setBackgroundColor(String color)

Sets background color for chart (e.q. 'blue' or '#FAE5B0')

  setDataList(DataList datalist, String categoryColumn, String valueColumn)

Sets input for the chart from datalist. Value column should contain numeric data.

  setDataList(DataList datalist, String seriesColumn, String categoryColumn, String valueColumn)

Sets input for the chart from datalist. Value column should contain numeric data.

  setDataListXY(DataList datalist, String seriesColumn, String xColumn, String yColumn)

Sets XY input for the chart from datalist (both numerical axes). xColumn and yColumn should contain numeric data. Note: 3D view not supported for XY based charts.

  setDataListXY(DataList datalist, String xColumn, String yColumn)

Sets XY input for the chart from datalist (both numerical axes). xColumn and yColumn should contain numeric data. Note: 3D view not supported for XY based charts.

  setDomainAxisColor(String color)

Sets domain axis color

  setDomainAxisLabel(String label)

Sets domain axis label

  setDomainAxisVisible(boolean visible)

Enables domain axis visibility

  setRangeAxisColor(String color)

Sets range axis color

  setRangeAxisLabel(String label)

Sets range axis label

  setRangeAxisVisible(boolean visible)

Enables domain axis visibility

  setShowLabels(boolean show)

Renders labels for item values if set to true

  setShowLegend(boolean show)

Displays legend for the chart if set to true

  setStacked(boolean stacked)

Sets this chart to display data in a stacked manner. Has no effect for XY based charts

  setTitle(String title)

Sets title of this chart

  setVertical(boolean vertical)

Sets chart vertical orientation. True by default.

ImageFile toImage(String filename, int height, int width)

Renders the chart to an image. Filename should have an extension of png, jpg, or gif

String toString()

Returns a description of this object.

Method Detail


String getName()

Returns the name of this chart.

Returns:  String

Since: 09-08-2008

top

String getType()

Returns the type of this chart.

Returns:  String

Since: 09-08-2008

top

setBackgroundColor(String color)

Sets background color for chart (e.q. 'blue' or '#FAE5B0')

Parameters:

  • String   color

Since: 11-11-2009

top

setDataList(DataList datalist, String categoryColumn, String valueColumn)

Sets input for the chart from datalist. Value column should contain numeric data.

Parameters:

  • DataList   datalist
  • String   categoryColumn
  • String   valueColumn

Since: 11-13-2009

top

setDataList(DataList datalist, String seriesColumn, String categoryColumn, String valueColumn)

Sets input for the chart from datalist. Value column should contain numeric data.

Parameters:

  • DataList   datalist
  • String   seriesColumn
  • String   categoryColumn
  • String   valueColumn

Since: 11-13-2009

top

setDataListXY(DataList datalist, String seriesColumn, String xColumn, String yColumn)

Sets XY input for the chart from datalist (both numerical axes). xColumn and yColumn should contain numeric data. Note: 3D view not supported for XY based charts.

Parameters:

  • DataList   datalist
  • String   seriesColumn
  • String   xColumn
  • String   yColumn

Since: 11-13-2009

top

setDataListXY(DataList datalist, String xColumn, String yColumn)

Sets XY input for the chart from datalist (both numerical axes). xColumn and yColumn should contain numeric data. Note: 3D view not supported for XY based charts.

Parameters:

  • DataList   datalist
  • String   xColumn
  • String   yColumn

Since: 11-13-2009

top

setDomainAxisColor(String color)

Sets domain axis color

Parameters:

  • String   color

Since: 11-16-2009

top

setDomainAxisLabel(String label)

Sets domain axis label

Parameters:

  • String   label

Since: 11-13-2009

top

setDomainAxisVisible(boolean visible)

Enables domain axis visibility

Parameters:

  • boolean   visible

Since: 11-16-2009

top

setRangeAxisColor(String color)

Sets range axis color

Parameters:

  • String   color

Since: 11-16-2009

top

setRangeAxisLabel(String label)

Sets range axis label

Parameters:

  • String   label

Since: 11-13-2009

top

setRangeAxisVisible(boolean visible)

Enables domain axis visibility

Parameters:

  • boolean   visible

Since: 11-16-2009

top

setShowLabels(boolean show)

Renders labels for item values if set to true

Parameters:

  • boolean   show

Since: 11-16-2009

top

setShowLegend(boolean show)

Displays legend for the chart if set to true

Parameters:

  • boolean   show

Since: 11-11-2009

top

setStacked(boolean stacked)

Sets this chart to display data in a stacked manner. Has no effect for XY based charts

Parameters:

  • boolean   stacked

Since: 11-16-2009

top

setTitle(String title)

Sets title of this chart

Parameters:

  • String   title

Since: 11-11-2009

top

setVertical(boolean vertical)

Sets chart vertical orientation. True by default.

Parameters:

  • boolean   vertical

Since: 11-13-2009

top

ImageFile toImage(String filename, int height, int width)

Renders the chart to an image. Filename should have an extension of png, jpg, or gif

Parameters:

  • String   filename Required parameter.
  • int   height Maximum allowed size of parameter: 2000
  • int   width Maximum allowed size of parameter: 2000

Returns:  ImageFile

Since: 03-01-2018

top

String toString()

Returns a description of this object.

Returns:  String

Since: 09-08-2008

top
Copyright © 2006 - 2024, ContractPal, Inc. All rights reserved. API Date: Dec 03, 2024 10:24 AM