Reputation: 147
How can I display one dataseries as bar and another as a line in one graph like it is used in the last comment of: see last picture
Upvotes: 4
Views: 11588
Reputation: 51
You can do this in the new Timeseries component by selecting a field override for the relevant query.
This will override whatever the Panel settings are for "Graph styles > Styles". This can also be used to override many other properties such as unit. See also the Grafana docs on Configure field overrides
Upvotes: 0
Reputation: 1
For those who were asking in the comment section, yes this isn't available in version 8, however, you can still change the time series visualization to graph(old) so you can set the alias/regex.
Upvotes: 0
Reputation: 2217
It's not possible (yet) using the Grafana UI, only by hand.
As far as I know there is no way of doing this using the UI switches; you'll have to use the use the "alias or regex" fields below the visualisation configuration.
Before you start, make sure that your queries A and B retrieve actual data. You won't see your data otherwise and be confused why they're not showing.
Once you are selecting the correct data you want to display, just add the following on the visualisation section of the graph at the 'alias or regex' fields:
You should now have a nice graph with 2 types of data and visualisations in one; something like this:
Upvotes: 10