Constants.hpp

Summary
Constants.hpp
Constants
WIDTHWidth of the OpenGL window in pixels.
HEIGHTHeight of the OpenGL window in pixels.
UPDATE_RATE_IN_MSOpenGL content update rate in milliseconds.
Macros
UNREFERENCEDUsed for unreferenced parameters to suppress compiler warnings.
MAXReturns the maximum of two values a and b.
MINReturns the minimum of two values a and b.
Constants
FILTER_SIZENumber of data entries to be shown when filtering.
SORTING_DELAY_IN_MSDelay added to bars while sorting to reduce occlusion.
VALUE_CHANGE_SCALE_STEPSAmount of steps for the value change transition.
VALUE_CHANGE_SWAP_STEPSAmount of steps for swapping in the value change transition.
FILTERING_SCALE_STEPSAmount of steps for scaling in the filtering transition.
MOVE_STEPSAmount of steps for the move transition.
BLEND_STEPSAmount of steps for the color blend transition.
NEW_GRID_LINE_DELAY_IN_MSDelay added to the blend-in of new grid lines.
ORIENTATION_HORIZONTALIndicator for horizontal orientation.
ORIENTATION_VERTICALIndicator for vertical orientation.
FONTSTYLE_HEADLINEIndicator for a headline font style of a label.
FONTSTYLE_ELEMENTIndicator for a normal font style of a label.
FONTSTYLE_BARIndicator for a font style used for bars of a label.
VERTICAL_TEXT_OFFSETOffset added to vertical text labels in pixels.
VERTICAL_AXIS_TEXT_OFFSETOffset added to vertical axis labels in pixels.
GRID_LINE_TEXT_OFFSETOffset added to grid line labels in pixels.
BAR_TEXT_OFFSETOffset added to bar labels in pixels.
AXIS_WIDTHLine width of axes in OpenGL line unit.
AXIS_COLORIntensity value of axes.
GRID_LINE_COLORIntensity value of grid lines.
GRID_LINE_WIDTHLine width of grid lines in OpenGL line unit.
GRID_LINESNumber of grid lines used in a chart.
GRID_HIGH_VALUEHighest value a chart can have at highest scaling.
GRID_HIGH_VALUE_STEP_SIZEStep size according to the highest value and the number of grid lines.
GRID_SECOND_HIGH_VALUEHighest value a chart can have at second highest scaling.
GRID_SECOND_HIGH_VALUE_STEP_SIZEStep size according to the second highest value and the number of grid lines.
GRID_MID_VALUEHighest value a chart can have at medium scaling.
GRID_MID_VALUE_STEP_SIZEStep size according to the medium value and the number of grid lines.
GRID_LOW_VALUEHighest value a chart can have at lowest scaling.
GRID_LOW_VALUE_STEP_SIZEStep size according to the lowest value and the number of grid lines.
ORIGIN_XX coordinate of the chart origin.
ORIGIN_YY coordinate of the chart origin.
UPPER_XX coordinate of the right end of the chart.
UPPER_YY coordinate of the upper end of the chart.
BIG_SPACESpace added before the first and after the last data element.
PIE_CHART_CENTER_XX coordinate of the center in a pie chart.
PIE_CHART_CENTER_YY coordinate if the center in a pie chart.
PIE_CHART_RADIUSRadius of a pie chart.
PIE_CHART_LABEL_RADIUSRadius for the circle where labels are placed.
PIE_CHART_LABEL_OFFSETOffset added to pie chart labels in pixels.
PIE_CHART_LABEL_OFFSET_VALUEMaximum data value for a data element where a label offset is added to avoid occlusion.
PIE_CHART_SCALE_MAXIMUMScaling value used for sorting to pretend a rotation of the pie chart.
PIPi.

Constants

WIDTH

Width of the OpenGL window in pixels.

HEIGHT

Height of the OpenGL window in pixels.

UPDATE_RATE_IN_MS

OpenGL content update rate in milliseconds.

Macros

UNREFERENCED

Used for unreferenced parameters to suppress compiler warnings.

MAX

Returns the maximum of two values a and b.

MIN

Returns the minimum of two values a and b.

Constants

FILTER_SIZE

Number of data entries to be shown when filtering.

SORTING_DELAY_IN_MS

Delay added to bars while sorting to reduce occlusion.

VALUE_CHANGE_SCALE_STEPS

Amount of steps for the value change transition.

VALUE_CHANGE_SWAP_STEPS

Amount of steps for swapping in the value change transition.

FILTERING_SCALE_STEPS

Amount of steps for scaling in the filtering transition.

MOVE_STEPS

Amount of steps for the move transition.

BLEND_STEPS

Amount of steps for the color blend transition.

NEW_GRID_LINE_DELAY_IN_MS

Delay added to the blend-in of new grid lines.

ORIENTATION_HORIZONTAL

Indicator for horizontal orientation.

ORIENTATION_VERTICAL

Indicator for vertical orientation.

FONTSTYLE_HEADLINE

Indicator for a headline font style of a label.

FONTSTYLE_ELEMENT

Indicator for a normal font style of a label.

FONTSTYLE_BAR

Indicator for a font style used for bars of a label.

VERTICAL_TEXT_OFFSET

Offset added to vertical text labels in pixels.

VERTICAL_AXIS_TEXT_OFFSET

Offset added to vertical axis labels in pixels.

GRID_LINE_TEXT_OFFSET

Offset added to grid line labels in pixels.

BAR_TEXT_OFFSET

Offset added to bar labels in pixels.

AXIS_WIDTH

Line width of axes in OpenGL line unit.

AXIS_COLOR

Intensity value of axes.

GRID_LINE_COLOR

Intensity value of grid lines.

GRID_LINE_WIDTH

Line width of grid lines in OpenGL line unit.

GRID_LINES

Number of grid lines used in a chart.

GRID_HIGH_VALUE

Highest value a chart can have at highest scaling.

GRID_HIGH_VALUE_STEP_SIZE

Step size according to the highest value and the number of grid lines.

GRID_SECOND_HIGH_VALUE

Highest value a chart can have at second highest scaling.

GRID_SECOND_HIGH_VALUE_STEP_SIZE

Step size according to the second highest value and the number of grid lines.

GRID_MID_VALUE

Highest value a chart can have at medium scaling.

GRID_MID_VALUE_STEP_SIZE

Step size according to the medium value and the number of grid lines.

GRID_LOW_VALUE

Highest value a chart can have at lowest scaling.

GRID_LOW_VALUE_STEP_SIZE

Step size according to the lowest value and the number of grid lines.

ORIGIN_X

X coordinate of the chart origin.

ORIGIN_Y

Y coordinate of the chart origin.

UPPER_X

X coordinate of the right end of the chart.

UPPER_Y

Y coordinate of the upper end of the chart.

BIG_SPACE

Space added before the first and after the last data element.

PIE_CHART_CENTER_X

X coordinate of the center in a pie chart.

PIE_CHART_CENTER_Y

Y coordinate if the center in a pie chart.

PIE_CHART_RADIUS

Radius of a pie chart.

PIE_CHART_LABEL_RADIUS

Radius for the circle where labels are placed.

PIE_CHART_LABEL_OFFSET

Offset added to pie chart labels in pixels.

PIE_CHART_LABEL_OFFSET_VALUE

Maximum data value for a data element where a label offset is added to avoid occlusion.

PIE_CHART_SCALE_MAXIMUM

Scaling value used for sorting to pretend a rotation of the pie chart.

PI

Pi.

Close