Skip to content

A little help (with colors) #1379

Answered by CarterLi
CTRL-panino asked this question in Q&A
Discussion options

You must be logged in to vote
  1. Threshold configuration was already supported.
  2. Added in dev branch.

Please test! JSON Config example:

{
    "type": "memory",
    "percent": {
        "green": 20, // [0%, 20%) will be displayed in green
        "yellow": 40, // [20, 40) will be displayed in yellow and [40, 100] will be displayed in red
        "type": [ // Display percent value in monochrome bar, same as 10
            "bar",
            "bar-monochrome"
        ]
    }
}

Replies: 2 comments 6 replies

Comment options

You must be logged in to vote
1 reply
@CTRL-panino
Comment options

Comment options

You must be logged in to vote
5 replies
@CTRL-panino
Comment options

@CarterLi
Comment options

@CTRL-panino
Comment options

@CarterLi
Comment options

Answer selected by CTRL-panino
@CTRL-panino
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants