Two colours on one labelled row, with an optional switch in front of them:
[x] Borders [up] [down]
key identifies the row and is not itself a value. The value keys are
up.key, down.key and enabled.key, each an ordinary flat key of
ChartSettingsValues, so a host patches this row exactly the way it patches
a plain colour and nothing about read/apply has to know the widget exists.
enabled is absent when the pair has no visibility flag behind it (a candle
body is always drawn), which is the difference between a row whose checkbox
does something and one whose checkbox would be a lie.
Two colours on one labelled row, with an optional switch in front of them:
keyidentifies the row and is not itself a value. The value keys areup.key,down.keyandenabled.key, each an ordinary flat key ofChartSettingsValues, so a host patches this row exactly the way it patches a plain colour and nothing about read/apply has to know the widget exists.enabledis absent when the pair has no visibility flag behind it (a candle body is always drawn), which is the difference between a row whose checkbox does something and one whose checkbox would be a lie.