Widget Functionality

PolarPlot renders dish pointing direction on a Plotly polar chart.

What It Reads

  • One Tango attribute selected in settings (pointingAttribute).

  • Attribute can be either:

    • .../currentPointing (DS 7-value vector), or

    • .../achievedPointing (DS 3-value vector).

Widget uses:

  • Azimuth = vector index [1]

  • Elevation = vector index [2]

Rendering Rules

  • Polar orientation: North at top.

  • Angular ticks every 10° over full 360°.

  • Angular labels use signed convention (-180° to +180°) with cardinal labels:

    • N, 90° E, ±180° S, -90° W.

  • Radial axis maps elevation:

    • Horizon on outer ring

    • 90° Zenith at center

    • ticks every 10°.

  • Optional trajectory history shows recent path samples.

GraphQL Operations

  • Poll query: attributes(fullNames, endpoint) via OP_POLL.

  • Stream subscription: tangoAttributes(fullNames, endpoint) via OP_STREAM.

  • useLiveData decides mode:

    • true: stream preferred

    • false: polling at dashboard refresh rate.

Theme Behavior

Chart colors read frontend theme tokens from themes.css:

  • --text-color

  • --widget-bg

  • --widget-border

  • --table-border

  • --accent-color

  • --action-delete-color