added an example on charts