答案 0 :(得分:0)
您需要将图表的容器溢出属性设置为'visible'
chart: {
style: {
overflow: 'visible'
}
}
其余的是在工具提示中设置html样式,例如像这样:
pointFormat: `
<ul class='tt-list'>
<li class='tt-item'>Last 4-Weeks (4/17 - 5/13)</li>
<li class='tt-item'>Orders Filled: 1,183</li>
<li class='tt-item'>Orders Cancelled: 90</li>
<li class='tt-item'>Open Orders: 10</li>
</ul>`
},
css:
.tt-list {
list-style-type: none;
margin: 10px;
padding: 0;
}
.tt-item:first-child {
font-weight: bold;
}
.tt-item {
margin: 0 0 10px 0
}