documentation for the are and bar charts