Highcharts:如何删除 xAxis 上的工具提示?
Higcharts: How to remove the tooltip on the xAxis?
我有 this jsfiddle example,我需要隐藏显示在 xAxis 上的工具提示。我想保留显示在中间的那个。
部分相关设置如下:
series: [{
name: 'AAPL Stock Price',
data: data.slice(80, 110),
type: 'area',
threshold: null,
tooltip: {
valueDecimals: 2
},
}],
yAxis: {
labels: {
align: 'right',
x: 0,
y: -5
},
opposite: false,
},
这是我要删除的:
将 tooltip.split
设置为 false 应该可以解决问题。
我有 this jsfiddle example,我需要隐藏显示在 xAxis 上的工具提示。我想保留显示在中间的那个。
部分相关设置如下:
series: [{
name: 'AAPL Stock Price',
data: data.slice(80, 110),
type: 'area',
threshold: null,
tooltip: {
valueDecimals: 2
},
}],
yAxis: {
labels: {
align: 'right',
x: 0,
y: -5
},
opposite: false,
},
这是我要删除的:
将 tooltip.split
设置为 false 应该可以解决问题。