Merge pull request #10003 from dataease/pr@dev@refactor_chart

Pr@dev@refactor chart
This commit is contained in:
wisonic-s 2024-05-31 15:51:07 +08:00 committed by GitHub
commit c1999a1e6c
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
3 changed files with 5 additions and 4 deletions

View File

@ -541,10 +541,8 @@ export default {
const customAttr = JSON.parse(this.chart.customAttr)
const senior = JSON.parse(this.chart.senior)
if (senior?.scrollCfg?.open) {
if (this.chart.type !== 'table-normal') {
if (this.chart.type === 'table-info' && !this.showPage) {
return
}
if (this.chart.type === 'table-info' && this.showPage) {
return
}
//
this.myChart.facet.timer?.stop()

View File

@ -80,6 +80,7 @@
/>
</el-form-item>
<el-form-item
v-show="false"
class="form-item"
:label="$t('chart.forecast_confidence_interval')"
>
@ -97,6 +98,7 @@
</el-select>
</el-form-item>
<el-form-item
v-show="false"
v-if="forecastCfg.ciType === 'custom'"
class="form-item"
:label="$t('chart.custom_case')"

View File

@ -16,6 +16,7 @@
@change="changeScrollCfg"
>{{ $t('chart.open') }}</el-checkbox>
<el-tooltip
v-show="chart.type === 'table-info'"
class="item"
effect="dark"
placement="bottom"