Console Webservice API

BarChart extends Chart

Other API in Package

Console

Console System

Internal Console

Method Summary
String getName()

Returns the name of this chart.

String getType()

Returns the type of this chart.

  set3D(boolean enable)

Enables 3D look of pie chart if set to true

  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.

  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

  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

set3D(boolean enable)

Enables 3D look of pie chart if set to true

Parameters:

  • boolean   enable

Since: 11-11-2009

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

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

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: Nov 18, 2024 01:04 PM