Skip to content

afm-host-panel

A Grafana panel plugin that hosts anywidget front-end modules (AFM). The panel loads a widget module, gives it an element and a model, and feeds the model from Grafana: query results, the time range and dashboard variables. Widgets written for Jupyter run unchanged, within the limits listed in Compatibility and limits. A widget can write back to a dashboard variable.

The demonstration dashboard The demonstration dashboard

The widgets follow the Grafana theme, light or dark.

Built-in widgets

  • anywidget-instruments


    anywidget-instruments-industrial gallery anywidget-instruments-industrial gallery

    52 instrumentation widgets, bundled unmodified: gauges, tanks, LEDs, switches, process objects, charts.

  • anywidget-instruments-automotive


    anywidget-instruments-automotive cluster anywidget-instruments-automotive cluster

    The automotive instruments, bundled unmodified: speedometer, tachometer, fuel, coolant, tell-tales, gear indicator, cluster. For visualization only: no widget is meant to be operated while driving.

  • anywidget-instruments-aeronautics


    anywidget-instruments-aeronautics anywidget-instruments-aeronautics

    The flight instruments, bundled unmodified: airspeed, attitude, altimeter, turn coordinator, heading, vertical speed. Not certified avionics, not for navigation.

Other AFM modules can be loaded from a URL when the server allows it (see the User guide).

Configure a panel

Choose a widget, set static traits, bind traits to the query results, a dashboard variable or the time range (see the User guide).

The panel editor The panel editor

Documentation

Screenshots are taken from the development server with node scripts/screenshots.mjs (see Development).

Project What it is Documentation
anywidget-instruments-industrial Instrumentation widgets for notebooks: gauges, tanks, LEDs, switches, charts, alarms, SCADA objects https://anywidgetinstruments.github.io/anywidget-instruments-industrial/
anywidget-instruments-automotive Automotive instruments built on anywidget-instruments https://anywidgetinstruments.github.io/anywidget-instruments-automotive/
afm-host-panel Grafana panel plugin that runs anywidget modules, with both libraries built in https://anywidgetinstruments.github.io/afm-host-panel/