score:0
i've got this answer from one of the developers. currently it's not possible to add custom events to the canvas legend. you must create you own html legend using mychartinstance.generatelegend().
i've opened a request. i will update if they add this event natively.
Source: stackoverflow.com
Related Query
- How can I add functionality to Chartjs Doughnut chart custom legend
- How to add an on click event to my Line chart using Chart.js
- Chart js: how can I align the legend and the title
- How can I add some text in the middle of a half doughnut chart in Chart.JS?
- How can I add an event to chart.js legend?
- how to add percentage value to legend field in pie chart using chart.js
- how to add legend in pie chart
- How can I add a euro sign (€) to all tooltips in my chart js line chart
- How can I re-distribute values within a charts.js pie chart when a legend item is turned off/on?
- How can i give the full Legend a background color in chart js?
- How can I add background color of length bars in chart (chartJS)?
- How can I reduce the spacing between my legend and chart proper in my Chart.JS bar chart, and increase it in the graph area?
- ChartJS - How to add Text between Pie Chart and Legend
- How to add on click event to chart js
- How can I add new data points to an existing chart with chart.js?
- How to add a custom event on legend click
- How to add legend on chart js annotation
- How to add a coloured legend box to a pie chart with Chart.js v1?
- How to add text inside the doughnut chart using Chart.js?
- How can labels/legends be added for all chart types in chart.js (chartjs.org)?
- How can I create a horizontal scrolling Chart.js line chart with a locked y axis?
- How can I make two of my lines in Chart JS thicker
- How to modify chartjs tooltip so i can add customized strings in tooltips
- How can I make a stepline or stepped chart in chart.js or D3?
- chart js how to fill legend box with colour
- How to add an offset to a dataset in Chart js
- How to add second Y-axis for Bar and Line chart in Chart.js?
- How to add text in centre of the doughnut chart using Chart.js?
- How to add OnClick Event on labels in Chart.js v2.0?
- How to add label for ChartJs Legend
More Query from same tag
- Chart.js line graph data not displaying
- Custom y axle using Chart.js
- min and max tag is not showing in chart chart.js
- How to display value after the bar using chart.js
- How to add background color between two specific lines in Chartjs 3.1
- Automatic resize of chart - AngularChartJS
- How to add arrays to the barChart with chart.js?
- angular-chart add horizontal line
- Y-Axis with different colors
- Attach onAnimationComplete for Chart.js after creation
- Chartjs v2.7 - combo chart with time-series (financial) data; bar width's are irregular
- ChartJS chart not scaling after adding values
- how to remove odd number from yaxes in chartjs using angular?
- Chart.js Increase font size for higher resolution (i.e. monitor-agnostic chart configuration )
- Chart.js - In Graph Data for Pie & Doughnut Charts
- Chart.js 3.7 version. How to modify legend label?
- How to export/import modules between component files in Javascript
- change axis scale to be round numbers instead of decimal - chart.js
- Creating a diagonal shaded area in chart.js
- Example: Doughnut | Error: Uncaught ReferenceError: Utils is not defined
- Is it Possible to get the base 64 of graph without showing it on page / canvas (Graph.Js)
- How do i make a new chart by pressing a button (chart.js)?
- Return 0 when some information DOESN'T EXIST (not when exists and return null)
- Chart in other module
- Dynamic colours in chartJS based on entries in the array
- Using Chart.js with angular and systemjs: "Chart is not defined"
- How to open a new Tab with javascript and display some chart
- How do you set up a chart.js scatter line chart through angular-chart.js?
- Save data from REST API Get method and use it one more time
- Update Chart js chart dynamically in angular 2 from data getting from nodejs service