我想删除在图表上显示鼠标时出现在Highchart上的标题。我已经尝试删除标题了,它仍然出现。
我尝试在图表的内部和外部使用Title,但没有任何反应。将文本=放入,它也不起作用。
示例:
{
chart: {
type: 'column',
marginBottom: 40,
title: {enabled: false},
},
xAxis:{
labels:{
style:{
color: 'black',
fontSize:'11px'
}
}
}
谢谢
标题选项对象不应在图表选项内定义。
参见:https://jsfiddle.net/BlackLabel/ayjw6pom/
Highcharts.chart('container', {
title: {
text: ''
},
series: [{
data: [29.9, 71.5, ...]
}]
});
API:https://api.highcharts.com/highcharts/title.text
如果这无济于事,请在我可以使用的某些在线编辑器上重现您的问题。