Constants.hpp | |
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. |