HowTo use an Item.state as the label of another item?

BTW:
Reading your code, I figured (or beter learned) that “visibility” can not be used on charts only. That solves my other question