added getChart