Your search did not match any results.
Bar Charts

Color Each Bar Differently


As the Chart assigns one color to one series by default, you need to create a separate series for each bar to color bars differently. For this, employ a series template. Choose a data field and assign it to the seriesTemplate | nameField property. Each different value from this data field generates a separate series. In this demo, all values from the "age" data field are different, therefore, a separate series is generated for each, and all series are colored differently.

Thank you for your interest in our ASP.NET Core product libraries and UI component suite. We are moving ASP.NET Core-related demos and content to Please make sure to update your bookmarks with our new URL.

View Demo