Using conditional colors are a great way to highlight key information for best data visualization. In this article we will outline how to add conditional colors on a Vertical Bar Chart.
Let's start by building a Vertical Bar Chart then we will cover Conditional Colors.
Step 1: While in the View Editor, click on the 'Charts' icon on the left hand navigator bar.
Step 2: Search for and select the Vertical Bar.
Step 3: In the Data tab, select Table as your data source. For this example, we are using the Incident table as our data source.
Step 4: In the Chart Options, complete the required chart options and click save.
Use the below as an example:
Step 5: Once the chart has been created, click on the STYLE menu to adjust the style options.
Example styled:
In this example, the below elements have been adjusted:
Title
Title - Requested Resources
Chart Colors
A palette with a single color was used to show only a single color. We will cover the single green color later in conditional colors.
Chart Borders
Border Width - 0
Step 5: Conditional Colors
In this example, we gave the conditional color a title so that we can identify it later. We chose the Operator, Comparison Type, and input a Comparison Value. The final steps included choosing a conditional color and clicking save.
Once the conditional color is saved, you will see the condition you just created with the option to edit (pencil icon) or delete (trash can icon). To add additional conditional colors, simply fill out all the required fields and click save.