public interface

RrdGraphConstants

org.rrd4j.graph.RrdGraphConstants
Known Indirect Subclasses

Class Overview

Class to represent various constants used for graphing. No methods are specified.

Summary

Nested Classes
class RrdGraphConstants.FontConstructor Font constructor, to use embedded fonts  
Constants
String ALIGN_CENTER_MARKER Constant to represent centered alignment marker
String ALIGN_JUSTIFIED_MARKER Constant to represent justified alignment marker
String ALIGN_LEFTNONL_MARKER Constant to represent left alignment marker, without new line
String ALIGN_LEFT_MARKER Constant to represent left alignment marker
String ALIGN_RIGHT_MARKER Constant to represent right alignment marker
int COLOR_ARROW Index of the arrow color.
int COLOR_BACK Index of the background color.
int COLOR_CANVAS Index of the canvas color.
int COLOR_FONT Index of the font color.
int COLOR_FRAME Index of the frame color.
int COLOR_GRID Index of the minor grid color.
int COLOR_MGRID Index of the major grid color.
String[] COLOR_NAMES Allowed color names which can be used in setColor(String, java.awt.Paint) method
int COLOR_SHADEA Index of the top-left graph shade color.
int COLOR_SHADEB Index of the bottom-right graph shade color.
int DAY Constant to represent day
Color DEFAULT_ARROW_COLOR Default arrow color
Color DEFAULT_BACK_COLOR Default graph background color
double DEFAULT_BASE Default value base
Color DEFAULT_CANVAS_COLOR Default graph canvas color
String DEFAULT_END Default graph ending time
Color DEFAULT_FONT_COLOR Default font color
Color DEFAULT_FRAME_COLOR Default frame color
Color DEFAULT_GRID_COLOR Default minor grid color
int DEFAULT_HEIGHT Default graph height
String DEFAULT_IMAGE_FORMAT Default image format
float DEFAULT_IMAGE_QUALITY Default image quality, used only for jpeg graphs
Font DEFAULT_LARGE_FONT Default graph large font
Color DEFAULT_MGRID_COLOR Default major grid color
Color DEFAULT_SHADEA_COLOR Default top-left graph shade color
Color DEFAULT_SHADEB_COLOR Default bottom-right graph shade color
Font DEFAULT_SMALL_FONT Default graph small font
String DEFAULT_START Default graph starting time
int DEFAULT_UNITS_LENGTH Default units length
int DEFAULT_WIDTH Default graph width
int FIRST_DAY_OF_WEEK Default first day of the week (obtained from the default locale)
int FRIDAY Constant to represent Friday
Font GATOR_FONT Font for the Gator
String GLUE_MARKER Constant to represent "glue" marker
Stroke GRID_STROKE Stroke used to draw grid
int HOUR Constant to represent hour
String IN_MEMORY_IMAGE Constant to represent in-memory image name
double LEGEND_BOX Used internally
double LEGEND_BOX_SPACE Used internally
int LEGEND_INTERSPACING Used internally
double LEGEND_LEADING Used internally
double LEGEND_LEADING_SMALL Used internally
String[] MARKERS Used internally
int MINUTE Constant to represent minute
int MONDAY Constant to represent Monday
int MONTH Constant to represent month
String NO_JUSTIFICATION_MARKER Constant to represent no justification markers
int PADDING_BOTTOM Used internally
int PADDING_LEFT Used internally
int PADDING_LEGEND Used internally
int PADDING_PLOT Used internally
int PADDING_RIGHT Used internally
int PADDING_TITLE Used internally
int PADDING_TOP Used internally
int PADDING_VLABEL Used internally
int SATURDAY Constant to represent Saturday
int SECOND Constant to represent second
int SUNDAY Constant to represent Sunday
int THURSDAY Constant to represent Thursday
Stroke TICK_STROKE Stroke used to draw ticks
int TUESDAY Constant to represent Tuesday
String VERTICAL_SPACING_MARKER Constant to represent vertical spacing marker
int WEDNESDAY Constant to represent Wednesday
int WEEK Constant to represent week
int YEAR Constant to represent year

Constants

public static final String ALIGN_CENTER_MARKER

Constant to represent centered alignment marker

Constant Value: "\c"

public static final String ALIGN_JUSTIFIED_MARKER

Constant to represent justified alignment marker

Constant Value: "\j"

public static final String ALIGN_LEFTNONL_MARKER

Constant to represent left alignment marker, without new line

Constant Value: "\L"

public static final String ALIGN_LEFT_MARKER

Constant to represent left alignment marker

Constant Value: "\l"

public static final String ALIGN_RIGHT_MARKER

Constant to represent right alignment marker

Constant Value: "\r"

public static final int COLOR_ARROW

Index of the arrow color. Used in setColor(int, java.awt.Paint)

Constant Value: 8 (0x00000008)

public static final int COLOR_BACK

Index of the background color. Used in setColor(int, java.awt.Paint)

Constant Value: 1 (0x00000001)

public static final int COLOR_CANVAS

Index of the canvas color. Used in setColor(int, java.awt.Paint)

Constant Value: 0 (0x00000000)

public static final int COLOR_FONT

Index of the font color. Used in setColor(int, java.awt.Paint)

Constant Value: 6 (0x00000006)

public static final int COLOR_FRAME

Index of the frame color. Used in setColor(int, java.awt.Paint)

Constant Value: 7 (0x00000007)

public static final int COLOR_GRID

Index of the minor grid color. Used in setColor(int, java.awt.Paint)

Constant Value: 4 (0x00000004)

public static final int COLOR_MGRID

Index of the major grid color. Used in setColor(int, java.awt.Paint)

Constant Value: 5 (0x00000005)

public static final String[] COLOR_NAMES

Allowed color names which can be used in setColor(String, java.awt.Paint) method

public static final int COLOR_SHADEA

Index of the top-left graph shade color. Used in setColor(int, java.awt.Paint)

Constant Value: 2 (0x00000002)

public static final int COLOR_SHADEB

Index of the bottom-right graph shade color. Used in setColor(int, java.awt.Paint)

Constant Value: 3 (0x00000003)

public static final int DAY

Constant to represent day

Constant Value: 5 (0x00000005)

public static final Color DEFAULT_ARROW_COLOR

Default arrow color

public static final Color DEFAULT_BACK_COLOR

Default graph background color

public static final double DEFAULT_BASE

Default value base

Constant Value: 1000.0

public static final Color DEFAULT_CANVAS_COLOR

Default graph canvas color

public static final String DEFAULT_END

Default graph ending time

Constant Value: "now"

public static final Color DEFAULT_FONT_COLOR

Default font color

public static final Color DEFAULT_FRAME_COLOR

Default frame color

public static final Color DEFAULT_GRID_COLOR

Default minor grid color

public static final int DEFAULT_HEIGHT

Default graph height

Constant Value: 100 (0x00000064)

public static final String DEFAULT_IMAGE_FORMAT

Default image format

Constant Value: "gif"

public static final float DEFAULT_IMAGE_QUALITY

Default image quality, used only for jpeg graphs

Constant Value: 0.8

public static final Font DEFAULT_LARGE_FONT

Default graph large font

public static final Color DEFAULT_MGRID_COLOR

Default major grid color

public static final Color DEFAULT_SHADEA_COLOR

Default top-left graph shade color

public static final Color DEFAULT_SHADEB_COLOR

Default bottom-right graph shade color

public static final Font DEFAULT_SMALL_FONT

Default graph small font

public static final String DEFAULT_START

Default graph starting time

Constant Value: "end-1d"

public static final int DEFAULT_UNITS_LENGTH

Default units length

Constant Value: 9 (0x00000009)

public static final int DEFAULT_WIDTH

Default graph width

Constant Value: 400 (0x00000190)

public static final int FIRST_DAY_OF_WEEK

Default first day of the week (obtained from the default locale)

public static final int FRIDAY

Constant to represent Friday

Constant Value: 6 (0x00000006)

public static final Font GATOR_FONT

Font for the Gator

public static final String GLUE_MARKER

Constant to represent "glue" marker

Constant Value: "\g"

public static final Stroke GRID_STROKE

Stroke used to draw grid

public static final int HOUR

Constant to represent hour

Constant Value: 11 (0x0000000b)

public static final String IN_MEMORY_IMAGE

Constant to represent in-memory image name

Constant Value: "-"

public static final double LEGEND_BOX

Used internally

Constant Value: 0.9

public static final double LEGEND_BOX_SPACE

Used internally

Constant Value: 1.2

public static final int LEGEND_INTERSPACING

Used internally

Constant Value: 2 (0x00000002)

public static final double LEGEND_LEADING

Used internally

Constant Value: 1.2

public static final double LEGEND_LEADING_SMALL

Used internally

Constant Value: 0.7

public static final String[] MARKERS

Used internally

public static final int MINUTE

Constant to represent minute

Constant Value: 12 (0x0000000c)

public static final int MONDAY

Constant to represent Monday

Constant Value: 2 (0x00000002)

public static final int MONTH

Constant to represent month

Constant Value: 2 (0x00000002)

public static final String NO_JUSTIFICATION_MARKER

Constant to represent no justification markers

Constant Value: "\J"

public static final int PADDING_BOTTOM

Used internally

Constant Value: 6 (0x00000006)

public static final int PADDING_LEFT

Used internally

Constant Value: 10 (0x0000000a)

public static final int PADDING_LEGEND

Used internally

Constant Value: 2 (0x00000002)

public static final int PADDING_PLOT

Used internally

Constant Value: 2 (0x00000002)

public static final int PADDING_RIGHT

Used internally

Constant Value: 16 (0x00000010)

public static final int PADDING_TITLE

Used internally

Constant Value: 6 (0x00000006)

public static final int PADDING_TOP

Used internally

Constant Value: 12 (0x0000000c)

public static final int PADDING_VLABEL

Used internally

Constant Value: 7 (0x00000007)

public static final int SATURDAY

Constant to represent Saturday

Constant Value: 7 (0x00000007)

public static final int SECOND

Constant to represent second

Constant Value: 13 (0x0000000d)

public static final int SUNDAY

Constant to represent Sunday

Constant Value: 1 (0x00000001)

public static final int THURSDAY

Constant to represent Thursday

Constant Value: 5 (0x00000005)

public static final Stroke TICK_STROKE

Stroke used to draw ticks

public static final int TUESDAY

Constant to represent Tuesday

Constant Value: 3 (0x00000003)

public static final String VERTICAL_SPACING_MARKER

Constant to represent vertical spacing marker

Constant Value: "\s"

public static final int WEDNESDAY

Constant to represent Wednesday

Constant Value: 4 (0x00000004)

public static final int WEEK

Constant to represent week

Constant Value: 3 (0x00000003)

public static final int YEAR

Constant to represent year

Constant Value: 1 (0x00000001)