if (item.substract != null) {
state.volumeStockData.push({
value: Number((item.indRate * 100).toFixed(2)),
symbol: "circle",
symbolSize: 6,
itemStyle: {
color: "#6BF95B",
},
});
} else if (item.add != null) {
state.volumeStockData.push({
value: Number((item.indRate * 100).toFixed(2)),
symbol: "circle",
symbolSize: 6,
itemStyle: {
color: "#F75A59",
},
});
}
series: [
{
name: name2,
type: "line",
yAxisIndex: isRate ? 0 : 1,
data: state.volumeStockData,
showAllSymbol: true,
symbol: () => {
return "none";
},
},
],