added basic charting.