title: ChartJS - Change legend to toggle buttons
body: <p>I am using chart.js (v2.9.4) in an Angular Project and out-of-the-box when you click on an item in the legend it hides / shows the specific chart, which is of course very nice functionality!</p>
  <p>But to make it more intuitive to the user that you can actually click on an item in the legend to show or hide an item, I would like to change the default color box for a toggle button.</p>
  <p>I just have no idea if this is possible to do and if possible, where or how to do that? I can't find anything related to such functionality in the chart.js documentation.</p>
  <p>Thanks for any help or advice!</p>