Made a fix for the chart not parsing JSON correctly