added mysql charting