added charting example