我希望显示第二个日期时间x轴,但是我不希望看到该系列中的所有点。我只想要x轴线。我怎样才能做到这一点?
Highcharts.chart("container", {
chart: {
type: "line",
},
xAxis: [
{
type: "category"
},
{
type: "datetime",
}
]
});
查看此JS小提琴:https://jsfiddle.net/prak_mtl/fd4buz19/4/
plotOptions: {
series: {
marker: {
enabled: false, //this line will make them disappear.
symbol: 'circle', //states what kind of marker shape you want Eg: circle, square, etc,.
states: {
hover: {
enabled: true //this says whether to show them or not when hovered.
}
}
}
}
}
希望对您有帮助!