Overview | Module | Use | Devguide | Index

Constants | Constants' Details

:: com :: sun :: star :: chart ::
constants group ChartDataCaption
Description These values specify how the captions of data points are displayed.

Constants
NONE | No captions are displayed.
VALUE | The caption contains the value of the data point in the number format of the axis that is attached to the respective data series.
PERCENT | The caption contains the value of the data point in percent of all data points of one category.
TEXT | The caption contains the category name of the category to which a data point belongs.
FORMAT | [ DEPRECATED ] The number formatter is always used for displaying the value as value. So this setting is deprecated.
SYMBOL | The symbol of data column/row is additionally displayed in the caption.

Constants' Details
NONE
const long NONE = 0; Description No captions are displayed.
VALUE
const long VALUE = 1; Description The caption contains the value of the data point in the number format of the axis that is attached to the respective data series.
PERCENT
const long PERCENT = 2; Description The caption contains the value of the data point in percent of all data points of one category. That means, if a data point is the first one of a series, the percentage is calculated by using the first data points of all available series.
TEXT
const long TEXT = 4; Description The caption contains the category name of the category to which a data point belongs.
FORMAT
const long FORMAT = 8; [ DEPRECATED ] Description The number formatter is always used for displaying the value as value. So this setting is deprecated.
SYMBOL
const long SYMBOL = 16; Description The symbol of data column/row is additionally displayed in the caption.

Top of Page

Copyright © 2003 Sun Microsystems, Inc.