Skip to content

Commit

Permalink
add legend to the default onclick to make sample work (#9126)
Browse files Browse the repository at this point in the history
  • Loading branch information
LeeLenaleee committed May 19, 2021
1 parent cffce1b commit 6f7d5fb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/configuration/legend.md
Expand Up @@ -176,7 +176,7 @@ var newLegendClickHandler = function (e, legendItem, legend) {

if (index > 1) {
// Do the original logic
defaultLegendClickHandler(e, legendItem);
defaultLegendClickHandler(e, legendItem, legend);
} else {
let ci = legend.chart;
[
Expand Down

0 comments on commit 6f7d5fb

Please sign in to comment.