Description:
In Grafana 11.2, when using a Time Series panel with data from InfluxDB (using InfluxQL), that contains Boolean (true/false) and Float/Integer series, Ctrl + Click (or Cmd + Click on Mac) on a Boolean series (true/false) in the legend causes multiple Boolean and numeric (int/float) series to toggle together unpredictably, instead of just the selected series.
This issue does not occur when only Boolean or only numeric series are used.
Steps to Reproduce:
- Configure InfluxDB as the data source, using InfluxQL queries to fetch data.
- Create a Time Series panel that includes both Boolean (true/false) and Float/Integer series.
- Use Ctrl + Click (or Cmd + Click on Mac) on a Boolean series (true/false) in the legend.
- Observe that multiple Boolean and numeric series toggle together unpredictably, instead of just the selected one.
- The same issue may also occur when using Ctrl + Click on a numeric (int/float) series.
Expected Behavior:
Ctrl + Click should toggle only the selected series, without affecting other series.
Actual Behavior:
- Ctrl + Click on a Boolean series (true/false) causes multiple Boolean and numeric series to toggle unpredictably.
- Ctrl + Click on a numeric (int/float) series also causes unexpected toggling of other series.
- The issue only occurs when Boolean (true/false) and numeric series are mixed (InfluxDB + InfluxQL).
Workarounds:
- Using single clicks instead of Ctrl + Click can avoid the issue.
- No issue occurs if only Boolean or only numeric series are present.
Environment:
- Grafana Version: 11.2
- Data Source: InfluxDB
- Query Language: InfluxQL
- Panel Type: Time Series
- Data Types: Boolean (true/false), Float/Integer