Skip to content

OLED Charts: Radial Point Indicator (internal_oled_draw_radial_dot_gauge)

What it does: Draws a radial point pointer with radius, point size, and number of segments settings.

internal_oled_draw_radial_dot_gauge

Inputs

  • VAL: value of type Value.
  • X: value of type Value.
  • Y: value of type Value.
  • R: value of type Value.
  • DR: value of type Value.
  • SEG: value of type Value.

Output

  • None (statement block).

When to use it

  • When you want a circular indicator composed of dots.
  • For a compact and easy-to-read percentage display.

Tips and pitfalls

  • Parameters DR (point radius) and SEG (number of points) are converted to integer.
  • The VAL value is clamped to 0-100 so out-of-range extremes are clipped.

Generated Python example

oled_charts.draw_radial_dot_gauge(fbuf, _chart_int(0), _chart_int(0), _chart_int(0), _chart_int(0), _chart_clamp(_chart_float(00