fix: NET图表深紫色+预设数据让线可见
This commit is contained in:
@@ -276,7 +276,9 @@
|
||||
_chartInstances[id].cpu = new MiniChart(id+'-cpu', '#7aa2f7'); _chartInstances[id].mem = new MiniChart(id+'-mem', '#9ece6a'); _hires(_chartInstances[id].mem);
|
||||
}
|
||||
if (typeof DualLineChart !== 'undefined') {
|
||||
_chartInstances[id].net = new DualLineChart(id+'-net', '#bb9af7', '#c0a8f0');
|
||||
_chartInstances[id].net = new DualLineChart(id+'-net', '#7c3aed', '#a78bfa');
|
||||
// 默认设一些初始数据让线可见
|
||||
for (var _i=0; _i<10; _i++) _chartInstances[id].net.update(5000, 3000);
|
||||
|
||||
}
|
||||
} catch(e) {}
|
||||
|
||||
Reference in New Issue
Block a user