added the plotting codes using highchart