实现节点看板(仅对企业版开放)

This commit is contained in:
刘祥超
2021-07-06 20:06:20 +08:00
parent 3cf43b2cc1
commit e93aecabb4
34 changed files with 1313 additions and 296 deletions

View File

@@ -362,6 +362,7 @@ window.teaweb = {
let tooltipFunc = options.tooltip
let axis = options.axis
let valueFunc = options.value
let click = options.click
let chartBox = document.getElementById(chartId)
if (chartBox == null) {
@@ -406,9 +407,14 @@ window.teaweb = {
barWidth: "20em"
}
],
animation: true
animation: true,
}
chart.setOption(option)
if (click != null) {
chart.on("click", function (args) {
click.call(this, args, values)
})
}
chart.resize()
},
renderLineChart: function (options) {