【发布时间】:2021-08-26 17:43:02
【问题描述】:
【问题讨论】:
标签: angular highcharts html-table
【问题讨论】:
标签: angular highcharts html-table
我认为对您来说最好的解决方案是使用网格轴,它允许我们在图表的左侧创建一堆列。
API 参考:
https://www.highcharts.com/docs/gantt/gantt-axis-grid#vertical-axis https://api.highcharts.com/gantt/yAxis.grid
演示:
https://jsfiddle.net/BlackLabel/1twLy4ba/
yAxis: {
type: 'category',
grid: {
borderColor: '#3a5d96',
columns: [{
title: {
text: 'Tasks'
}
}, {
title: {
text: 'Assignee'
}
}, {
title: {
text: 'Duration'
}
}]
}}
【讨论】: