@easyv/config 1.1.24 → 1.1.25
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 +18 -1
- package/package.json +1 -1
- package/src/series.js +20 -1
package/lib/series.js
CHANGED
|
@@ -152,7 +152,7 @@ var bandSeries = function bandSeries() {
|
|
|
152
152
|
type: 'multicolor',
|
|
153
153
|
value: fill,
|
|
154
154
|
markColorType: 'seriesGradient'
|
|
155
|
-
},
|
|
155
|
+
}, fillType !== undefined && {
|
|
156
156
|
rule: [['fillType', '$eq', 'color']],
|
|
157
157
|
name: 'border',
|
|
158
158
|
displayName: '描边',
|
|
@@ -215,6 +215,23 @@ var bandSeries = function bandSeries() {
|
|
|
215
215
|
type: 'multicolor',
|
|
216
216
|
value: fill,
|
|
217
217
|
markColorType: 'seriesGradient'
|
|
218
|
+
}, patternType !== undefined && {
|
|
219
|
+
name: 'border',
|
|
220
|
+
displayName: '描边',
|
|
221
|
+
value: [{
|
|
222
|
+
name: "borderWidth",
|
|
223
|
+
displayName: "线宽",
|
|
224
|
+
type: "number",
|
|
225
|
+
value: borderWidth,
|
|
226
|
+
config: {
|
|
227
|
+
min: 0
|
|
228
|
+
}
|
|
229
|
+
}, {
|
|
230
|
+
name: "borderColor",
|
|
231
|
+
displayName: "描边颜色",
|
|
232
|
+
type: "color",
|
|
233
|
+
value: borderColor
|
|
234
|
+
}]
|
|
218
235
|
}, patternType !== undefined && {
|
|
219
236
|
name: 'patternType',
|
|
220
237
|
displayName: '纹理类型',
|
package/package.json
CHANGED
package/src/series.js
CHANGED
|
@@ -120,7 +120,7 @@ export const bandSeries = (
|
|
|
120
120
|
value: fill,
|
|
121
121
|
markColorType: 'seriesGradient'
|
|
122
122
|
},
|
|
123
|
-
|
|
123
|
+
fillType !== undefined && {
|
|
124
124
|
rule: [['fillType', '$eq', 'color']],
|
|
125
125
|
name: 'border',
|
|
126
126
|
displayName: '描边',
|
|
@@ -182,6 +182,25 @@ export const bandSeries = (
|
|
|
182
182
|
value: fill,
|
|
183
183
|
markColorType: 'seriesGradient',
|
|
184
184
|
},
|
|
185
|
+
patternType !== undefined && {
|
|
186
|
+
name: 'border',
|
|
187
|
+
displayName: '描边',
|
|
188
|
+
value:[
|
|
189
|
+
{
|
|
190
|
+
name:"borderWidth",
|
|
191
|
+
displayName:"线宽",
|
|
192
|
+
type:"number",
|
|
193
|
+
value:borderWidth,
|
|
194
|
+
config:{ min:0 }
|
|
195
|
+
},
|
|
196
|
+
{
|
|
197
|
+
name:"borderColor",
|
|
198
|
+
displayName:"描边颜色",
|
|
199
|
+
type:"color",
|
|
200
|
+
value:borderColor
|
|
201
|
+
}
|
|
202
|
+
]
|
|
203
|
+
},
|
|
185
204
|
patternType !== undefined && {
|
|
186
205
|
name: 'patternType',
|
|
187
206
|
displayName: '纹理类型',
|