@easyv/config 1.0.48 → 1.0.49
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/lib/series.js +6 -6
- package/package.json +1 -1
- package/src/series.js +6 -6
package/lib/series.js
CHANGED
|
@@ -18,7 +18,7 @@ var _mapping = {
|
|
|
18
18
|
var defaultBandSeries = {
|
|
19
19
|
mapping: _mapping,
|
|
20
20
|
yOrZ: 'y',
|
|
21
|
-
|
|
21
|
+
fillType: 'color',
|
|
22
22
|
fillImage: 'components/static-image/superChart/pattern.png',
|
|
23
23
|
fill: {
|
|
24
24
|
type: 'linear',
|
|
@@ -131,7 +131,7 @@ var bandSeries = function bandSeries() {
|
|
|
131
131
|
displayName: '堆叠',
|
|
132
132
|
value: stack,
|
|
133
133
|
type: 'input'
|
|
134
|
-
},
|
|
134
|
+
}, patternType === undefined && {
|
|
135
135
|
name: 'fillType',
|
|
136
136
|
displayName: '填充样式',
|
|
137
137
|
value: fillType,
|
|
@@ -145,19 +145,19 @@ var bandSeries = function bandSeries() {
|
|
|
145
145
|
value: 'pattern'
|
|
146
146
|
}]
|
|
147
147
|
}
|
|
148
|
-
},
|
|
148
|
+
}, patternType === undefined && {
|
|
149
149
|
rule: [['fillType', '$eq', 'color']],
|
|
150
150
|
name: 'fill',
|
|
151
151
|
displayName: '颜色',
|
|
152
152
|
type: 'multicolor',
|
|
153
153
|
value: fill
|
|
154
|
-
},
|
|
154
|
+
}, patternType === undefined && {
|
|
155
155
|
rule: [['fillType', '$eq', 'pattern']],
|
|
156
156
|
name: 'url',
|
|
157
157
|
displayName: '纹理图片',
|
|
158
158
|
type: 'uploadImage',
|
|
159
159
|
value: fillImage
|
|
160
|
-
},
|
|
160
|
+
}, patternType === undefined && {
|
|
161
161
|
rule: [['fillType', '$eq', 'pattern']],
|
|
162
162
|
name: 'size',
|
|
163
163
|
displayName: '尺寸',
|
|
@@ -179,7 +179,7 @@ var bandSeries = function bandSeries() {
|
|
|
179
179
|
}
|
|
180
180
|
}],
|
|
181
181
|
type: 'group'
|
|
182
|
-
},
|
|
182
|
+
}, patternType === undefined && {
|
|
183
183
|
rule: [['fillType', '$eq', 'pattern']],
|
|
184
184
|
type: "range",
|
|
185
185
|
name: "opacity",
|
package/package.json
CHANGED
package/src/series.js
CHANGED
|
@@ -5,7 +5,7 @@ const _mapping = { fieldName: '', displayName: '' };
|
|
|
5
5
|
const defaultBandSeries = {
|
|
6
6
|
mapping: _mapping,
|
|
7
7
|
yOrZ: 'y',
|
|
8
|
-
|
|
8
|
+
fillType: 'color',
|
|
9
9
|
fillImage: 'components/static-image/superChart/pattern.png',
|
|
10
10
|
fill: {
|
|
11
11
|
type: 'linear',
|
|
@@ -95,7 +95,7 @@ export const bandSeries = (
|
|
|
95
95
|
value: stack,
|
|
96
96
|
type: 'input',
|
|
97
97
|
},
|
|
98
|
-
|
|
98
|
+
patternType === undefined && {
|
|
99
99
|
name: 'fillType',
|
|
100
100
|
displayName: '填充样式',
|
|
101
101
|
value: fillType,
|
|
@@ -107,21 +107,21 @@ export const bandSeries = (
|
|
|
107
107
|
],
|
|
108
108
|
},
|
|
109
109
|
},
|
|
110
|
-
|
|
110
|
+
patternType === undefined && {
|
|
111
111
|
rule: [['fillType', '$eq', 'color']],
|
|
112
112
|
name: 'fill',
|
|
113
113
|
displayName: '颜色',
|
|
114
114
|
type: 'multicolor',
|
|
115
115
|
value: fill,
|
|
116
116
|
},
|
|
117
|
-
|
|
117
|
+
patternType === undefined && {
|
|
118
118
|
rule: [['fillType', '$eq', 'pattern']],
|
|
119
119
|
name: 'url',
|
|
120
120
|
displayName: '纹理图片',
|
|
121
121
|
type: 'uploadImage',
|
|
122
122
|
value: fillImage,
|
|
123
123
|
},
|
|
124
|
-
|
|
124
|
+
patternType === undefined && {
|
|
125
125
|
rule: [['fillType', '$eq', 'pattern']],
|
|
126
126
|
name: 'size',
|
|
127
127
|
displayName: '尺寸',
|
|
@@ -141,7 +141,7 @@ export const bandSeries = (
|
|
|
141
141
|
],
|
|
142
142
|
type: 'group',
|
|
143
143
|
},
|
|
144
|
-
|
|
144
|
+
patternType === undefined && {
|
|
145
145
|
rule: [['fillType', '$eq', 'pattern']],
|
|
146
146
|
type: "range",
|
|
147
147
|
name: "opacity",
|