Join GitHub today
GitHub is home to over 40 million developers working together to host and review code, manage projects, and build software together.Sign up
Installation described here
It's possible to use plugin in two mode: when you have only key section and when you have pair
It first case you can use only
total aggregate function. See two examples below.
Let's make a subset based on https://catalog.data.gov/dataset/traffic-violations-56dda. Here we are interested in timestamp and violation type:
There is only one field to select:
In this case we have data in format
(time, violationType) . There is no associated value to the timestamp.
totalaggregation function is available for such case (keys without values)
sharedmeans that progress of each item would be equal to
myTotal / allTotal
decreasingbecause biggest value to the top
absoluteto show absolute value on the right of progress item
key mappingto determine how each key should look like
Phones Battery charge example
Suppose you have dataset if format:
|2017-06-10T13:49:38.743Z||Samsung Galaxy S8||20.12525352504455|
|2017-06-10T13:49:43.704Z||Samsung Galaxy S8||20.05863769968002|
Here you can make pairs
(name, charge) and show current battery charge, selecting max value equals to 100.
The data is auto-generated.
If you visualise this data with standard Grafana Graph panel, you would get something like this
Now you can create a new Progress List Panel with query like this
Pay attention to fields section where
charge are selected.
current- to show current charge of each phone
100- each value is percentage to maximum value:
percentage- we are showing how many percent the value is from
%- percentage sign in the end
thresholds- to show red when charge is low , etc..
coloursis the standard way to make colour thresholds.