ASP.NET Chart Demos / Conditional Item Colorization


In order to change the color of chart items you can handle the SeriesItemDataBound event and change the color based on the item value. Into the example when the number of errors per month is bigger than control value, the respective bars of the chart will change their colors to bring the user's attention to them. The data in the demo is generated randomly, if you do not see colorized bars, reload the page to get a new set of values.

Was this example useful?