Factored out the basic canvas chart and derived the time series chart.