主要关注时间轴位置,星号标记
timeline: {
show: true,
enable: true,
bottom: "50%",*
pTopPercent: 80,*
widthPercent: 50,*
heightPercent: 40,*
label: {
normal: {
position: -20,*
rotate: 90,
interval: 0,
textStyle: {
color: "#000"
}
},
align: "center",
fontSize: 10,
height: 40
},
lineStyle: {
color: "rgb(37,155,255)"
},
itemStyle: {
normal: {
color: "rgb(37,155,255)"
}
},
checkpointStyle: {
symbol: "emptyCircle",
color: "rgb(37,155,255)",
borderColor: "rgb(37,155,255)",
borderWidth: 1,
symbolSize: 8
},
axisType: "category",
autoPlay: true,
rewind: false,
rewindSort: false,
orient: "horizontal",
loop: true,
symbol: "circle",
symbolSize: 6,
playInterval: 2000,
left: 0,
pLeftPercent: 0,
right: "6%",
top: 0,
padding: [
1,
0,
0,
1
],
controlStyle: {
normal: {
color: "#000"
},
showPrevBtn: false,
showNextBtn: false
}
},