Remove selectable legend override
Update handling of legend
Update chart legend
Update blockly editor
Update rule editor