fixes #113. We have some parsing out of the init functionality so we can separate precomputation steps in each chart type