Highcharts 如何在海图上画垂直线?
我想追踪当天的垂直时间线,但在HighCharts文档中找不到解决方案 像这样:Highcharts 如何在海图上画垂直线?,highcharts,Highcharts,我想追踪当天的垂直时间线,但在HighCharts文档中找不到解决方案 像这样: 您正在寻找打印线。请参阅此处的文档: 基本格式为: xAxis: { plotLines: [{ color: '#FF0000', // Red width: 2, value: 5.5 // Position, you'll have to translate this to the values on your x axis }] }, 有没有
您正在寻找打印线。请参阅此处的文档: 基本格式为:
xAxis: {
plotLines: [{
color: '#FF0000', // Red
width: 2,
value: 5.5 // Position, you'll have to translate this to the values on your x axis
}]
},
有没有办法动态添加/删除打印线?xAxis[0].addPlotLine({color:'red',width:1,value:})添加绘图线,但它会累积