How to add onclick event on chart label in react-chartjs-2?

前端 未结 0 1490
孤街浪徒
孤街浪徒 2021-01-21 14:46

I want open a dialog when clicking on chart js label. This is the dataset code:-

const data = {
datasets: [
  {
    label: \'Reviews\',
    backgroundColor: theme         


        
相关标签:
回答
  • 消灭零回复
提交回复
热议问题