Added charting code and returning some chart values from MLT.