Chart With Split Background Color Based on Condition

There are a couple of modules that might make this easier, although I have not tried what you are attempting.

Musson Industrial’s Embr-Charts Module - 3rd Party Modules - Inductive Automation Forum

KyvisLabs ApexChart Module - Ignition - Inductive Automation Forum