added code snippet in docs showing setters for chart functions