Fix always show tooltips for reporter charts
This commit is contained in:
+1
-1
@@ -465,7 +465,7 @@
|
||||
<b-row>
|
||||
<b-col>
|
||||
<b-form-checkbox
|
||||
v-model="options.showTooltipsAlways"
|
||||
v-model="options.tooltips.showAlways"
|
||||
>
|
||||
{{ $t('display-element:chart.configurator.tooltips.show.always') }}
|
||||
</b-form-checkbox>
|
||||
|
||||
@@ -52,7 +52,7 @@ export class BasicChartOptions extends ChartOptions {
|
||||
formatter: '{a}<br />{b} : {c} ({d}%)',
|
||||
},
|
||||
label: {
|
||||
show: this.showTooltipsAlways,
|
||||
show: this.tooltips.showAlways,
|
||||
position: 'inside',
|
||||
align: 'center',
|
||||
verticalAlign: 'middle',
|
||||
@@ -163,7 +163,7 @@ export class BasicChartOptions extends ChartOptions {
|
||||
areaStyle: {},
|
||||
left: 'left',
|
||||
label: {
|
||||
show: this.showTooltipsAlways,
|
||||
show: this.tooltips.showAlways,
|
||||
position: 'inside',
|
||||
align: 'center',
|
||||
verticalAlign: 'middle',
|
||||
|
||||
@@ -57,7 +57,7 @@ export class FunnelChartOptions extends ChartOptions {
|
||||
sort: 'descending',
|
||||
width: '90%',
|
||||
label: {
|
||||
show: this.showTooltipsAlways,
|
||||
show: this.tooltips.showAlways,
|
||||
position: 'inside',
|
||||
align: 'center',
|
||||
verticalAlign: 'middle',
|
||||
|
||||
Reference in New Issue
Block a user