fixing date chart + css work to allow for large number of variables