Is there a way to pass external data to the chart.plugins.register function? I'm struggling because I can't access the necessary context:
Chart.plugins.register( {
beforeDraw: function (chart) {
//implementation
}
});
I attempted using .bind(data)
, but encountered errors.