add help texts to the charts, properly show used and free memory, fix a bug where the chart type is set wrongly