Documentation fixes in chart.py