With the advent of the option to dynamically bind colors to different parts of a component, we can push alerting to another level. For example, we may have a sales chart for a set of regions and may want to signal whether something is critically wrong. Instead of having a bunch of green and red bars that may look like a Christmas tree, we can set the chart background color to red if one of the values has reached a critical point. In this scenario, a user will be drawn to the chart right away, as it will be ringing alarm bells.
Be sure to have your chart data ready, shown as follows. In this recipe, we will have a set of sales data for each region. You may use the setup from the previous recipe, Adding alerts to a column chart, to help save you time.