User API

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')

  setShowLabels(boolean show)

Renders labels for item values if set to true

  setShowLegend(boolean show)

Displays legend for the chart if set to true

  setTitle(String title)

Sets title of this chart

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

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

setTitle(String title)

Sets title of this chart

Parameters:

  • String   title

Since: 11-11-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