cleaning up chart code
more chart api cleanup
more chart fixes