Skip to content

Commit e887a64

Browse files
Merge pull request dataease#809 from dataease/pr@dev@feat_chart_mix
feat: 视图增加组合图
2 parents d138122 + 97c5131 commit e887a64

File tree

1 file changed

+9
-2
lines changed

1 file changed

+9
-2
lines changed

frontend/src/views/chart/components/shape-attr/SizeSelector.vue

Lines changed: 9 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -165,6 +165,7 @@
165165
</el-form>
166166

167167
<el-form v-show="chart.type && chart.type === 'chart-mix'" ref="sizeFormBar" :disabled="param && !hasDataPermission('manage',param.privileges)" :model="sizeForm" label-width="80px" size="mini">
168+
<el-divider content-position="center" class="divider-style">{{ $t('chart.chart_bar') }}</el-divider>
168169
<el-form-item :label="$t('chart.adapt')" class="form-item">
169170
<el-checkbox v-model="sizeForm.barDefault" @change="changeBarSizeCase">{{ $t('chart.adapt') }}</el-checkbox>
170171
</el-form-item>
@@ -174,7 +175,7 @@
174175
<el-form-item :label="$t('chart.bar_gap')" class="form-item form-item-slider">
175176
<el-slider v-model="sizeForm.barGap" :disabled="sizeForm.barDefault" show-input :show-input-controls="false" input-size="mini" :min="0" :max="5" :step="0.1" @change="changeBarSizeCase" />
176177
</el-form-item>
177-
<el-divider />
178+
<el-divider content-position="center" class="divider-style">{{ $t('chart.chart_line') }}</el-divider>
178179
<el-form-item :label="$t('chart.line_width')" class="form-item form-item-slider">
179180
<el-slider v-model="sizeForm.lineWidth" show-input :show-input-controls="false" input-size="mini" :min="0" :max="10" @change="changeBarSizeCase" />
180181
</el-form-item>
@@ -203,7 +204,7 @@
203204
<el-form-item :label="$t('chart.line_area')" class="form-item">
204205
<el-checkbox v-model="sizeForm.lineArea" @change="changeBarSizeCase">{{ $t('chart.show') }}</el-checkbox>
205206
</el-form-item>
206-
<el-divider />
207+
<el-divider content-position="center" class="divider-style">{{ $t('chart.chart_scatter') }}</el-divider>
207208
<el-form-item :label="$t('chart.bubble_symbol')" class="form-item">
208209
<el-select v-model="sizeForm.scatterSymbol" :placeholder="$t('chart.line_symbol')" @change="changeBarSizeCase">
209210
<el-option
@@ -372,4 +373,10 @@ export default {
372373
.el-divider--horizontal {
373374
margin: 10px 0
374375
}
376+
.divider-style>>>.el-divider__text{
377+
color: #606266;
378+
font-size: 12px;
379+
font-weight: 400;
380+
padding: 0 10px;
381+
}
375382
</style>

0 commit comments

Comments
 (0)