Skip to content

Commit

Permalink
[KNOWAGE-8700]
Browse files Browse the repository at this point in the history
  • Loading branch information
Redjaw authored Dec 6, 2024
2 parents f5d5066 + e9e598d commit b0f65ce
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -52,6 +52,7 @@ export class KnowageHighchartsPieChart extends KnowageHighcharts {

setPiePlotOptions() {
this.model.plotOptions.pie = highchartsDefaultValues.getDafaultPieChartPlotOptions()
this.model.plotOptions.series.showCheckbox = this.model.plotOptions.series.showCheckbox ?? true
}

updateSeriesLabelSettings(widgetModel: IWidget) {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@
<i v-tooltip.top="$t('dashboard.widgetEditor.highcharts.legend.layoutHint')" class="pi pi-question-circle kn-cursor-pointer p-ml-2"></i>
</div>
</div>
<div v-if="['area', 'bar', 'column'].includes(chartType) && model.plotOptions.series" class="p-col-12 p-md-6 p-lg-3 p-p-4">
<div v-if="['area', 'bar', 'column', 'pie'].includes(chartType) && model.plotOptions.series" class="p-col-12 p-md-6 p-lg-3 p-p-4">
<label class="kn-material-input-label p-mr-2">{{ $t('dashboard.widgetEditor.highcharts.showChekboxes') }}</label>
<InputSwitch v-model="model.plotOptions.series.showCheckbox"></InputSwitch>
</div>
Expand Down

0 comments on commit b0f65ce

Please sign in to comment.