added a chart viewer