updated client lib (added getChart)