Rename chart-state to chart-model

This is really a 'model' rather than a container for state. It should
store things like the colours that should be used, names, axis headings.

Since the model doesn't change, it is no longer declared in an atom, but
declared as a value.