Skip to main content
Category: Shapes · Decorative: no data binding

Mental model

A Triangle is a three-sided marker. A vector triangle for arrows, indicators, and decoration.

Settings

Common shape settings — fill, stroke (color + width), opacity, optional rotation speed.

Script API example

The same interactions from a dashboard script:
// Point the triangle from device data
ws.onMessage((msg) => {
  if (msg.dir !== undefined) widget.setRotation('pointer', msg.dir);
});

All shapes

The shared shape settings.