Chartjs-How to use chartJS to show breakdown of selected data

0👍

What you are going to need to do is store two arrays in memory.

  1. That contains the data to make the chart that is ingested by ChartJS
  2. That contains the other meta data you want to display in a table.

The most important thing is that these lists have the same order that way the index of the active point matches the one with the meta data.

Leave a comment