Got the chart working with the hash data from the controller