mirror of
https://github.com/TeaOSLab/EdgeAdmin.git
synced 2025-11-05 22:30:28 +08:00
实现节点看板(仅对企业版开放)
This commit is contained in:
@@ -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) {
|
||||
|
||||
Reference in New Issue
Block a user