I have a sensor that contains energy price and the state of a battery - charging, discharging, standby.
I want to visualize this in a histogram, with the height of the bar corresponding to price and the colour of the bar corresponding to the state.
Is there a widget that can do this?
I have looked at apex-chart, but that can only set colour based on value level.