tweak padding and labels
This commit is contained in:
parent
6c5e27efba
commit
b4f603685c
1 changed files with 2 additions and 2 deletions
|
@ -59,7 +59,7 @@ class UIGauge extends AbstractUIItem {
|
|||
color: "white"
|
||||
},
|
||||
margin: {
|
||||
b: 40, l: 40, r: 40, t: 40
|
||||
b: 80, l: 40, r: 40, t: 40
|
||||
}
|
||||
}
|
||||
|
||||
|
@ -112,7 +112,7 @@ class UIGauge extends AbstractUIItem {
|
|||
append(peer, table) {
|
||||
super.append(peer, table);
|
||||
|
||||
let label = peer.name;
|
||||
let label = peer.name; //`${peer.name}\n${peer.id.slice(0, 7)}`; // Plotly doesn't support multiline labels :-/
|
||||
let data_item = null;
|
||||
switch(typeof this.def.content) {
|
||||
case "function":
|
||||
|
|
Loading…
Reference in a new issue