|
|
@ -739,27 +739,37 @@ export default {
|
|
|
|
};
|
|
|
|
};
|
|
|
|
const warningIcon = {
|
|
|
|
const warningIcon = {
|
|
|
|
type: "group",
|
|
|
|
type: "group",
|
|
|
|
left: 60,
|
|
|
|
left: "center",
|
|
|
|
top: "85%",
|
|
|
|
top: "center",
|
|
|
|
z: 100,
|
|
|
|
|
|
|
|
children: [
|
|
|
|
children: [
|
|
|
|
{
|
|
|
|
{
|
|
|
|
type: "image",
|
|
|
|
type: "image",
|
|
|
|
z: 100,
|
|
|
|
z: 100,
|
|
|
|
style: {
|
|
|
|
style: {
|
|
|
|
width: 24,
|
|
|
|
width: 60,
|
|
|
|
height: 24,
|
|
|
|
height: 60,
|
|
|
|
x: -12,
|
|
|
|
x: -5,
|
|
|
|
y: -12,
|
|
|
|
y: -5,
|
|
|
|
|
|
|
|
image: require("@/assets/sentimeent/警告.png")
|
|
|
|
|
|
|
|
|
|
|
|
},
|
|
|
|
},
|
|
|
|
},
|
|
|
|
},
|
|
|
|
|
|
|
|
{
|
|
|
|
|
|
|
|
type: "image",
|
|
|
|
|
|
|
|
z: 99,
|
|
|
|
|
|
|
|
style: {
|
|
|
|
|
|
|
|
width: 100,
|
|
|
|
|
|
|
|
height: 100,
|
|
|
|
|
|
|
|
x: -25,
|
|
|
|
|
|
|
|
y: -25,
|
|
|
|
|
|
|
|
image: require("@/assets/sentimeent/椭圆.png")
|
|
|
|
|
|
|
|
},
|
|
|
|
|
|
|
|
}
|
|
|
|
],
|
|
|
|
],
|
|
|
|
};
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
|
|
optionSecond.graphic = [
|
|
|
|
optionSecond.graphic = [
|
|
|
|
warningIcon,
|
|
|
|
warningIcon,
|
|
|
|
// 动态生成图例
|
|
|
|
|
|
|
|
// ...this.generateLegendItems()
|
|
|
|
|
|
|
|
];
|
|
|
|
];
|
|
|
|
myChart.setOption(optionSecond, true);
|
|
|
|
myChart.setOption(optionSecond, true);
|
|
|
|
|
|
|
|
|
|
|
|