Quantcast
Channel: HowTo - Grafana Community
Viewing all articles
Browse latest Browse all 10

Advanced Graphing (Part1): Style Overrides

$
0
0

@torkel wrote:

Series Overrides

You can customize display options on a per series bases, or by using regex rules.

You find series override in Display tab:

After you click on Add override you specify a series name or regex by wrapping the expression in / chars. Then you can use the plus button to add any override.

Color & Point Overrides

In the above graph you can see points, lines and y-axis overrides using regex rules:

Of course you can easily change series color by clicking the colored icon to the left of the series name in the legend. But with the series override you set color using a regex!

Stack Group & Transform Negative

Above we use 2 different stack groups to stack in and out data separately, we also use the negative-y transform to visualize the in series on the negative-y axis (without affecting the hover & legend values).

Options:

Fill Below To

If you have want to graph min, max & avg of some metric you can take advantage of series overrides to customize the look for each series.

So while writing this post I notiticed that there is a bug when adding the Fill below to override (fixed in master). So if nothing happens after you select the min series, switch tab and go back to Display tab. You should see the fill below to override being set. What is not set (due to the bug) is another override that should be added automatically (but is not due to the bug).

So add another override. Specify min as the alias regex and add override Lines false.
So options should look like this:

Posts: 5

Participants: 4

Read full topic


Viewing all articles
Browse latest Browse all 10

Trending Articles