Commit e364d8bdfffb4f5f08d5db3e5493de6ce1396df9

Authored by xp.Huang
2 parents 4499f9e4 c0b95e5b

Merge branch 'perf/chart' into 'main_dev'

perf(src/packages/components): 优化图表,默认数值隐藏

See merge request yunteng/thingskit-view!237
... ... @@ -9,7 +9,7 @@ export const seriesItem = {
9 9 type: 'bar',
10 10 barWidth: null,
11 11 label: {
12   - show: true,
  12 + show: false,
13 13 position: 'right',
14 14 color: '#fff',
15 15 fontSize: 12
... ...
... ... @@ -11,7 +11,7 @@ export const barSeriesItem = {
11 11 type: 'bar',
12 12 barWidth: 15,
13 13 label: {
14   - show: true,
  14 + show: false,
15 15 position: 'top',
16 16 color: '#fff',
17 17 fontSize: 12
... ... @@ -26,7 +26,7 @@ export const lineSeriesItem = {
26 26 type: 'line',
27 27 symbol: 'circle',
28 28 label: {
29   - show: true,
  29 + show: false,
30 30 position: 'top',
31 31 color: '#fff',
32 32 fontSize: 12
... ...
... ... @@ -31,7 +31,7 @@ const options = {
31 31 smooth: false,
32 32 symbolSize: 5, //设定实心点的大小
33 33 label: {
34   - show: true,
  34 + show: false,
35 35 position: 'top',
36 36 color: '#fff',
37 37 fontSize: 12
... ...
... ... @@ -14,7 +14,7 @@ export const seriesItem = {
14 14 type: 'bar',
15 15 barWidth: 15,
16 16 label: {
17   - show: true,
  17 + show: false,
18 18 position: 'top',
19 19 color: '#fff',
20 20 fontSize: 12
... ...
... ... @@ -8,7 +8,7 @@ export const includes = ['legend', 'xAxis', 'yAxis', 'grid']
8 8 export const seriesItem = {
9 9 type: 'line',
10 10 label: {
11   - show: true,
  11 + show: false,
12 12 position: 'top',
13 13 color: '#fff',
14 14 fontSize: 12
... ...
... ... @@ -12,7 +12,7 @@ export const seriesItem = {
12 12 smooth: false,
13 13 symbolSize: 5, //设定实心点的大小
14 14 label: {
15   - show: true,
  15 + show: false,
16 16 position: 'top',
17 17 color: '#fff',
18 18 fontSize: 12
... ...