Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Add Yellow color to st.metricΒ #4052

@MatheusHam

Description

@MatheusHam

Problem

Right now if you use a + Operator color goes green and with - a red color. To add extra use cases for this widget I suggest we have a 3rd operator for a yellow color.
Depending on the type of metrics a traffic lights color pallet would enhance it a lot.

Solution

Adding an extra Yellow color with any operator that makes sense.


Community voting on feature requests enables the Streamlit team to understand which features are most important to our users.

If you'd like the Streamlit team to prioritize this feature request, please use the πŸ‘ (thumbs up emoji) reaction in response to the initial post.

Metadata

Metadata

Assignees

No one assigned

    Labels

    feature:st.metricRelated to the `st.metric` elementtype:enhancementRequests for feature enhancements or new features

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions