feat: chart-right-box 调整

This commit is contained in:
zhangyu
2021-12-07 14:19:16 +08:00
parent d720198c2c
commit 8025528df8
8 changed files with 212 additions and 117 deletions

View File

@@ -154,6 +154,7 @@ import chartTempBox from '@/components/common/rightBox/chartTempBox'
import topToolMoreOptions from '@/components/common/popBox/topToolMoreOptions'
import { fromRoute } from '@/components/common/js/constants'
import chartData from '@/components/chart/testData'
import { randomcolor } from '@/components/common/js/radomcolor/randomcolor'
export default {
name: 'panel',
@@ -199,7 +200,7 @@ export default {
nullType: 'null',
legend: { placement: 'bottom', values: [], show: true },
thresholdShow: true,
thresholds: [{ value: undefined, color: '#eeeeeeff' }]
thresholds: [{ value: undefined, color: randomcolor() }]
},
elements: [{ expression: '', legend: '', type: 'expert', id: '', name: 'A' }],
panel: '',