see on the official website that components can be defined. I use
chart.on("click", "series.label", function () {...});
tried and it didn"t work. What is it caused by?
-- add rich
label: {
show: true,
rich: {
til: {
color: "-sharp000",
fontSize: 14,
align: "center",
lineHeight: 21
},
desc: {
color: "-sharp000",
fontSize: 9,
align: "center",
lineHeight: 21
},
high: {
color: "-sharpf8473d",
fontSize: 9,
align: "center",
lineHeight: 21
},
middle: {
color: "-sharpf9d03c",
fontSize: 9,
align: "center",
lineHeight: 21
},
low: {
color: "-sharp44d2ca",
fontSize: 9,
align: "center",
lineHeight: 21
}
}
},