Big charts refactor

WIP, mostly to avoid working in the solitude :stuck_out_tongue:... but NOT for review yet.
> This ought to work (untested) but it also looks very odd and unusual:

It's not that well known that parentheses disable indentation-based parsing for good.