Commit c0b95e5b57d08fd2495b19e7c790046f61742431
1 parent
bc97472f
perf(src/packages/components): 优化图表,默认线上数字关闭
Showing
6 changed files
with
7 additions
and
7 deletions
@@ -9,7 +9,7 @@ export const seriesItem = { | @@ -9,7 +9,7 @@ export const seriesItem = { | ||
9 | type: 'bar', | 9 | type: 'bar', |
10 | barWidth: null, | 10 | barWidth: null, |
11 | label: { | 11 | label: { |
12 | - show: true, | 12 | + show: false, |
13 | position: 'right', | 13 | position: 'right', |
14 | color: '#fff', | 14 | color: '#fff', |
15 | fontSize: 12 | 15 | fontSize: 12 |
@@ -11,7 +11,7 @@ export const barSeriesItem = { | @@ -11,7 +11,7 @@ export const barSeriesItem = { | ||
11 | type: 'bar', | 11 | type: 'bar', |
12 | barWidth: 15, | 12 | barWidth: 15, |
13 | label: { | 13 | label: { |
14 | - show: true, | 14 | + show: false, |
15 | position: 'top', | 15 | position: 'top', |
16 | color: '#fff', | 16 | color: '#fff', |
17 | fontSize: 12 | 17 | fontSize: 12 |
@@ -26,7 +26,7 @@ export const lineSeriesItem = { | @@ -26,7 +26,7 @@ export const lineSeriesItem = { | ||
26 | type: 'line', | 26 | type: 'line', |
27 | symbol: 'circle', | 27 | symbol: 'circle', |
28 | label: { | 28 | label: { |
29 | - show: true, | 29 | + show: false, |
30 | position: 'top', | 30 | position: 'top', |
31 | color: '#fff', | 31 | color: '#fff', |
32 | fontSize: 12 | 32 | fontSize: 12 |
@@ -31,7 +31,7 @@ const options = { | @@ -31,7 +31,7 @@ const options = { | ||
31 | smooth: false, | 31 | smooth: false, |
32 | symbolSize: 5, //设定实心点的大小 | 32 | symbolSize: 5, //设定实心点的大小 |
33 | label: { | 33 | label: { |
34 | - show: true, | 34 | + show: false, |
35 | position: 'top', | 35 | position: 'top', |
36 | color: '#fff', | 36 | color: '#fff', |
37 | fontSize: 12 | 37 | fontSize: 12 |
@@ -14,7 +14,7 @@ export const seriesItem = { | @@ -14,7 +14,7 @@ export const seriesItem = { | ||
14 | type: 'bar', | 14 | type: 'bar', |
15 | barWidth: 15, | 15 | barWidth: 15, |
16 | label: { | 16 | label: { |
17 | - show: true, | 17 | + show: false, |
18 | position: 'top', | 18 | position: 'top', |
19 | color: '#fff', | 19 | color: '#fff', |
20 | fontSize: 12 | 20 | fontSize: 12 |
@@ -8,7 +8,7 @@ export const includes = ['legend', 'xAxis', 'yAxis', 'grid'] | @@ -8,7 +8,7 @@ export const includes = ['legend', 'xAxis', 'yAxis', 'grid'] | ||
8 | export const seriesItem = { | 8 | export const seriesItem = { |
9 | type: 'line', | 9 | type: 'line', |
10 | label: { | 10 | label: { |
11 | - show: true, | 11 | + show: false, |
12 | position: 'top', | 12 | position: 'top', |
13 | color: '#fff', | 13 | color: '#fff', |
14 | fontSize: 12 | 14 | fontSize: 12 |
@@ -12,7 +12,7 @@ export const seriesItem = { | @@ -12,7 +12,7 @@ export const seriesItem = { | ||
12 | smooth: false, | 12 | smooth: false, |
13 | symbolSize: 5, //设定实心点的大小 | 13 | symbolSize: 5, //设定实心点的大小 |
14 | label: { | 14 | label: { |
15 | - show: true, | 15 | + show: false, |
16 | position: 'top', | 16 | position: 'top', |
17 | color: '#fff', | 17 | color: '#fff', |
18 | fontSize: 12 | 18 | fontSize: 12 |