streamlit icon indicating copy to clipboard operation
streamlit copied to clipboard

Allow to customize colors for chart dataframe columns

Open lukasmasuch opened this issue 2 years ago • 3 comments

Checklist

  • [X] I have searched the existing issues for similar feature requests.
  • [X] I added a descriptive title and summary to this issue.

Summary

Add a config option to customize the colors of chart columns (LineChartColumn, BarChartColumn, ProgressColumn). Currently, it's always showing in the primary color.

Why?

No response

How?

st.column_config.LineChartColumn("Trend", color="green")

Additional Context

No response

lukasmasuch avatar Oct 10 '23 21:10 lukasmasuch

To help Streamlit prioritize this feature, react with a 👍 (thumbs up emoji) to the initial post.

Your vote helps us identify which enhancements matter most to our users.

Views

github-actions[bot] avatar Oct 10 '23 21:10 github-actions[bot]

How is the status of this feature?

DioCrafts avatar Jul 19 '24 21:07 DioCrafts

Hi, would really like this

zayansalman avatar Aug 17 '24 19:08 zayansalman

Update

Hey, we just started working on this, will probably release it in 1.50 at the end of September.

jrieke avatar Aug 22 '25 21:08 jrieke

Update

This will be released in 1.50 (planned for September 23). You can then use the color parameter in st.column_config.LineChartColumn (same for AreaChartColumn and BarChartColumn).

sfc-gh-jrieke avatar Sep 18 '25 17:09 sfc-gh-jrieke

Hello, do you plan to add it for ProgressColumn as well?

fannythullberg-code avatar Sep 26 '25 12:09 fannythullberg-code

@fannythullberg-code No plans right now, can you create a new issue for it?

jrieke avatar Sep 26 '25 12:09 jrieke

2 years of my man @lukasmasuch ask for it and wait.... this is so sad

AlcebiadesFilho avatar Sep 30 '25 10:09 AlcebiadesFilho