Skip to content

OLED Charts: Radial Indicator (internal_oled_draw_radial_gauge)

What it does: Draws a radial (circular) value indicator styled according to the block selection.

internal_oled_draw_radial_gauge

Inputs

  • VAL: value of type Value.
  • X: value of type Value.
  • Y: value of type Value.
  • R: value of type Value.
  • Field STYLE: parameter selection in the block menu.

Output

  • None (statement block).

When to use it

  • When you want a distinctive circular indicator at a fixed position X, Y.
  • For the main metrics on the dashboard.

Tips and pitfalls

  • Selecting STYLE will affect the combination of rings and hands (FULL, NO_NEEDLE, FILL_ONLY).
  • VAL input is trimmed to 0-100 before rendering the radial pointer.

Generated Python example

oled_charts.draw_radial_gauge(fbuf, _chart_int(0), _chart_int(0), _chart_int(0), _chart_clamp(_chart_float(0), 0, 100), 2, 0, 0