GRAFANA timeseries chart colors

Hey all,
I am trying to create a chart in GRAFANA where the color of the item changes based on its value.

Here is my query:

SELECT
time_index AS “time”,
stitching_status “Status”
FROM etnew_controller_0
order by time_index

How can I get the chart to look like this? The color should change based on “stitching_status” value Screenshot 2021-03-09 141222