27 #include "../ui_nodes.h"
bool UI_AddLineChartLine(uiNode_t *node, const char *id, bool visible, const vec4_t color, bool dots, int numPoints)
Add a line to the chart.
void UI_RegisterLineChartNode(uiBehaviour_t *behaviour)
Registers lineChart node.
void draw(uiNode_t *node) override
Drawing routine of the lineChart node.
bool UI_ShowChartDots(uiNode_t *node, const char *id, bool visible)
Shows/hides small dots at data points of a chart.
bool UI_AddLineChartCoord(uiNode_t *node, const char *id, int x, int y)
Add a data point to a line chart.
Atomic structure used to define most of the UI.
bool UI_ShowChartLine(uiNode_t *node, const char *id, bool visible)
Shows/hides a chart line.
bool UI_ClearLineChart(uiNode_t *node)
Clears all drawings froma lineChart.
struct lineChartExtraData_s lineChartExtraData_t
extradata for the linechart node
node behaviour, how a node work
void deleteNode(uiNode_t *node) override
Cleanup tasks on removing a lineChart.