Skip to content

DatasetConfig Class

The DatasetConfig class represents a dataset on a graph. It lets you configure the display style and options of this dataset on the graph.


Public Constants

FILLBASE_BOTTOM
FILLBASE_MAX
FILLBASE_MAX_AXIS
FILLBASE_MIN
FILLBASE_MIN_AXIS
FILLBASE_TOP
LINE_STYLE_DASHED
LINE_STYLE_DOTTED
LINE_STYLE_SOLID
SEGMENT_LINEAR
SEGMENT_STEP
SYMBOL_ARROW
SYMBOL_CIRCLE
SYMBOL_CROSS
SYMBOL_DIAMOND
SYMBOL_LARGE
SYMBOL_MEDIUM
SYMBOL_NONE
SYMBOL_PLUS
SYMBOL_SCROSS
SYMBOL_SMALL
SYMBOL_SPLUS
SYMBOL_SQUARE
SYMBOL_TRIANGLE


Public Properties

fillarea
fillbase
label
linecolor
linestyle
linewidth
segment
symbol
symbolfill
symboloutline
symbolsize


Detailed Properties Descriptions

fillarea

fillarea

The color for the area fill (empty for no fill).

fillbase

fillbase

The base value for the area fill:

  • FILLBASE_TOP: Fill from the top of the graph down to the data curve.
  • FILLBASE_BOTTOM: Fill from the bottom of the graph up to the data curve.
  • FILLBASE_MIN: Fill from the minimum dataset value up to the data curve.
  • FILLBASE_MIN_AXIS: Fill from the minimum automatic axis value up to the data curve.
  • FILLBASE_MAX: Fill from the maximum dataset value down to the data curve.
  • FILLBASE_MAX_AXIS: Fill from the maximum automatic axis value down to the data curve.
  • value: Numerical value, fill from the value up or down to the data curve.

label

label

Label to display in the legend.

linecolor

linecolor

The color of the line segments.

linestyle

linestyle

The style for element lines (LINE_STYLE_SOLID, LINE_STYLE_DOTTED, LINE_STYLE_DASHED).

linewidth

linewidth

The width of the joining lines (0, 1, 2, 3, or 4).

segment

segment

The segment style for element lines (SEGMENT_LINEAR, SEGMENT_STEP).

symbol

symbol

The symbol for the element (SYMBOL_SQUARE, SYMBOL_CIRCLE, SYMBOL_DIAMOND, SYMBOL_PLUS, SYMBOL_CROSS, SYMBOL_SPLUS, SYMBOL_SCROSS, SYMBOL_TRIANGLE, SYMBOL_ARROW, or SYMBOL_NONE).

symbolfill

symbolfill

The color for the symbol interior.

symboloutline

symboloutline

The color for the symbol outline.

symbolsize

symbolsize

The size of the symbol (SYMBOL_SMALL (8), SYMBOL_MEDIUM (12), SYMBOL_LARGE (16), or a number from 4 to 100).


Detailed Constants descriptions

FILLBASE_BOTTOM

FILLBASE_BOTTOM

Fill from the bottom of the graph

FILLBASE_MAX

FILLBASE_MAX

Fill from the maximum dataset value

FILLBASE_MAX_AXIS

FILLBASE_MAX_AXIS

Fill from the maximum automatic axis value

FILLBASE_MIN

FILLBASE_MIN

Fill from the minimum dataset value

FILLBASE_MIN_AXIS

FILLBASE_MIN_AXIS

Fill from the minimum automatic axis value

FILLBASE_TOP

FILLBASE_TOP

Fill from the top of the graph

LINE_STYLE_DASHED

LINE_STYLE_DASHED

Dashed line style

LINE_STYLE_DOTTED

LINE_STYLE_DOTTED

Dotted line style

LINE_STYLE_SOLID

LINE_STYLE_SOLID

Solid line style

SEGMENT_LINEAR

SEGMENT_LINEAR

Linear segment line

SEGMENT_STEP

SEGMENT_STEP

Step segment line

SYMBOL_ARROW

SYMBOL_ARROW

Symbol arrow

SYMBOL_CIRCLE

SYMBOL_CIRCLE

Symbol circle

SYMBOL_CROSS

SYMBOL_CROSS

Symbol cross

SYMBOL_DIAMOND

SYMBOL_DIAMOND

Symbol diamond

SYMBOL_LARGE

SYMBOL_LARGE

Symbol size large

SYMBOL_MEDIUM

SYMBOL_MEDIUM

Symbol size medium

SYMBOL_NONE

SYMBOL_NONE

Symbol none

SYMBOL_PLUS

SYMBOL_PLUS

Symbol plus

SYMBOL_SCROSS

SYMBOL_SCROSS

Symbol scross

SYMBOL_SMALL

SYMBOL_SMALL

Symbol size small

SYMBOL_SPLUS

SYMBOL_SPLUS

Symbol splus

SYMBOL_SQUARE

SYMBOL_SQUARE

Symbol square

SYMBOL_TRIANGLE

SYMBOL_TRIANGLE

Symbol triangle