Hey! I am using Grafana v10.3.3
I have 3 trend charts, and I know trend charts are for x!=time, but these 3 got the same x. I would like to have shared tooltip and zoom (for the ones with the same x), just like the timeseries chart. How can I do this?
The Graph tooltip don’t work with trend. The link you sent works with Trend? Or there is a Business Chart that can have a “timeseries” with a different x (just like Trend)? How can I zoom in on the data of the Trend chart
custom trend with zoom
see if you can mock feed your data and adjust it to fit your needs live here
if it works implement it on grafana
I am new using Grafana, so, even after reading the link you sent, I am having some problems lol. I have 3 Trends, all using the same x, if I use the timeseries I can see the shared crosshair and even see it in a map that I have, but I need it to be a Trend chart. All the data is from the same InfluxDB measurement I am using the graphs to see different cols from the same measurement, so we could connect the crosshair with the time column or with the x column that I am using, I just don’t know how
Knowing this, is there a way to have the shared crosshair?
please provide sample data as csv of line protocol. are you using flux or influxql query language
I don’t know how to convert to line protocol, but a example would be:
Time | X |
---|---|
05/06/2024 15:09:10 | 0 |
05/06/2024 15:09:11 | 1 |
05/06/2024 15:09:12 | 2 |
05/06/2024 15:09:14 | 3 |
05/06/2024 15:09:17 | 4 |
05/06/2024 15:09:18 | 5 |
05/06/2024 15:09:19 | 6 |
Notice that the time can jump, since the data only is saved if the X col changes and the X col is always increasing because of that. The db has more cols but the value dont matter I guess, right?
The X col is my x in the trend chart. And the query I am using is Influxdb:
In the query inspector it comes like this:
SELECT … FROM … WHERE time >= 1716059814480ms and time <= 1718651814481ms ORDER BY time ASC