Skip to content
This repository has been archived by the owner on Jun 26, 2023. It is now read-only.

Decimals and displayMode #307

Open
FinnHuelsbusch opened this issue Jan 29, 2021 · 0 comments
Open

Decimals and displayMode #307

FinnHuelsbusch opened this issue Jan 29, 2021 · 0 comments

Comments

@FinnHuelsbusch
Copy link

Hello,
it is my first time asking in this project, I hope I do it correctly...
I want to set the number of shown decimals and the default displayMode for the 'new' tables in Grafana. These fields would fit nicely into the setFieldConfig:

.setFieldConfig(
      displayMode = "color-text", 
      unit = "percent", 
      decimals = 5
    )

the json would look like this:

"defaults": {
    "custom": {
        "displayMode": "color-text"
    },
    "decimals": 5,
    ...
}

I'm not sure if this is useful and if it is, where it would be added, in this repository or in dashboard-spec-repository.

Thank' in advance
Finn

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant