better comment documentation in charts js