cloud-web-corejs 1.0.54-dev.66 → 1.0.54-dev.67
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/package.json
CHANGED
package/src/components/xform/form-designer/form-widget/field-widget/mixins/echart-bar-mixin.js
CHANGED
@@ -242,7 +242,8 @@ modules = {
|
|
242
242
|
})
|
243
243
|
},
|
244
244
|
getColors(){
|
245
|
-
let
|
245
|
+
let chartColors = this.field.options.echarBarOption.colors || [];
|
246
|
+
let colors = [...chartColors, ...this.colors];
|
246
247
|
return colors
|
247
248
|
},
|
248
249
|
adjustColor() {
|
package/src/components/xform/form-designer/form-widget/field-widget/mixins/echart-category-mixin.js
CHANGED
@@ -111,7 +111,8 @@ modules = {
|
|
111
111
|
|
112
112
|
methods: {
|
113
113
|
getColors() {
|
114
|
-
let
|
114
|
+
let chartColors = this.field.options.echarCategoryOption.colors || [];
|
115
|
+
let colors = [...chartColors, ...this.colors];
|
115
116
|
return colors
|
116
117
|
},
|
117
118
|
adjustColor() {
|