'chart.js Second hidden value for Bar Chart

I want to get specific hidden data like custId2345 when a bar is clicked, and then run a function.

How should I assign this data to its bar without showing on chart?



Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source