Added docstrings to the Chart class.