ChartJS create chart Ajax

👍:0

Why don’t you create the graph with dummy data (hidden on load) and then use chart js’s update method to insert that data into the ‘barChartData’ ?

  1. create graph, hide it
  2. chart.update() with the new data
  3. show the graph

Leave a comment