Does anyone have sample code for this to functon? The Garage Temperature track the item state which is a number, but i want it to colorise based on if a switch state is ON or OFF (GarageAir_MasterSwitch). I can’t see to get it working because the main item is for the Temperature. Any thoughts?
If you are using the built-in cell trendline, then there is no way to do this. The trendline does not use a fully featured chart, it uses a smaller more limited library which only allows an evenly spaced gradient of colors for the line.
To do this you would have to create you own oh-chart in the background of the cell.