在 HighChart 中,如何在标题和副标题之间显示一条绿线?
title: {
useHTML: true,
text: 'Header Text in Line1 </br> Line 2 Text',
style: {
"text-align": "center"
}
},
subtitle: {
// useHTML: true,
text: 'SubTitle',
style: {
"color": "red",
}
}
最佳答案
您需要做的是像这样修改 style
属性:
title: {
useHTML: true,
text: 'Header Text in Line1 </br> Line 2 Text',
style: {
"text-align": "center",
"border-bottom": "1px solid green"
}
},
关于javascript - HighChart - 可以在标题和副标题之间画线,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/52106371/