Switch, adjust item label depending on current

yes you can but it’s not in the example yet.

See: InfluxDB+Grafana persistence and graphing --> “…as dynamic ‘Webview’ Element with JavaScript library”