mirror of
https://github.com/clusterio/clusterio.git
synced 2026-11-20 15:43:13 +09:00
Fixed graph on /nodeDetails
This commit is contained in:
1 parent
7046ba58d3
commit
b016f36667
1 file changed
+1
-1
@@ -277,7 +277,7 @@ function generateLineChartArray(data, nameKey) {
|
|||||||
}
|
}
|
||||||
|
|
||||||
var chartsByID = {};
|
var chartsByID = {};
|
||||||
function drawChart(selector, chartData) {
|
function drawChart(selector, chartData, title) {
|
||||||
// selector is ID of element, ex "chartContainer" or "-123199123"
|
// selector is ID of element, ex "chartContainer" or "-123199123"
|
||||||
console.log(chartData)
|
console.log(chartData)
|
||||||
chartsByID[selector] = new CanvasJS.Chart(selector, {
|
chartsByID[selector] = new CanvasJS.Chart(selector, {
|
||||||
|
|||||||
Reference in new issue
Block a user