Skip to content

Commit 611c421

Browse files
committed
added option to display legend for pie charts
By default pie charts legend are disabled and it was not possible to activate them (only via datalabels but not with "normal" legends. Now the data-graph-pie-show-in-legend allows to enable legend for pie charts.
1 parent 42c808b commit 611c421

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

jquery.highchartTable.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -413,7 +413,7 @@
413413
dataLabels: {
414414
enabled: true
415415
},
416-
showInLegend: 0,
416+
showInLegend: $table.data('graph-pie-show-in-legend') == '1',
417417
size: '80%'
418418
},
419419
series: {

0 commit comments

Comments
 (0)