Fix ajax stats linechart