Wijmo User Guide > Widgets > BarChart > BarChart How To > Change Bar Color by Value |
Building on the Quick Start example, you can change the color of your bars depending on the data value to make your data easier to understand.
Note: Initially, the chart shows the bar.hoverStyle fill color, and then when you mouse out of the bar, it shows the seriesStyle fill color. For this reason, we must set our color values in two places to prevent them from changing on mouse out. |
Drop down and copy code
Image Title |