我使用Apexcharts批注,突然间我需要更改标签样式。
我需要添加类似伪元素的内容:
annotations: {
points: [{
x: new Date("18 Nov 2019").getTime(),
y: 100,
marker: {
size: 8,
fillColor: '#ffffff',
strokeColor: '#ffffff',
radius: 2,
cssClass: 'apexcharts-custom-class'
},
label: {
borderColor: "#FF4560",
offsetY: 0,
style: {
color: "#fff",
background: "#FF4560"
},
text: "Point Annotation (XY)"
}
}]
},
脚本有可能吗?