Skip to content

Support "percentile" values on single stat chart types

Problem to solve

Currently on our single stat charts, we only render the number provided by the query as is, no formatting options allowed

What I propose is a way for users customize the way the value renders on the single_stat chart, one way to do this is to introduce a max_value property in the dashboard yaml file the way Grafana does it. So mathematically on the chart component we would do

query_value / max_value * 100

Intended users

Further details

Proposal

Permissions and Security

Documentation

Availability & Testing

What does success look like, and how can we measure that?

What is the type of buyer?

Links / references

Edited by 🤖 GitLab Bot 🤖