@@ -13,7 +13,7 @@ Component({
type: String,
value: "mychart-bar"
},
- showLegend:{
+ showLegend: {
type: Boolean,
value: true
@@ -102,13 +102,13 @@ Component({
show: this.data.showLegend,
left: 'left',
itemGap: 1,
- itemWidth:4,
- itemHeight:4,
+ itemWidth: 4,
+ itemHeight: 4,
textStyle: {
color: "#fff"
}
- color: ["#dd79ff","#58d9f9"],
+ color: ["#4992ff", "#38f385", "#f45c64", "#58e0f4", "#0da17c", "#fc7b2e", "#8339df", "#f467f9", "#fddd60"],
// color: colors,
series: this.data.list || []
};