Started to implement chart constructor. Spec is now finished as far as I
could do it.