mirror of
https://github.com/lucaspalomodevelop/core.git
synced 2026-03-14 16:44:39 +00:00
dashboard: colorscheme plugin is forced by default unless explicitly disabled
This commit is contained in:
parent
45be6d3981
commit
8246433548
@ -74,7 +74,6 @@ class BaseGaugeWidget extends BaseWidget {
|
||||
hoverBackgroundColor: _options.colorMap.map((color) => this._setAlpha(color, 0.5)),
|
||||
hoverOffset: 10,
|
||||
fill: true
|
||||
|
||||
}
|
||||
]
|
||||
},
|
||||
@ -86,6 +85,7 @@ class BaseGaugeWidget extends BaseWidget {
|
||||
rotation: 270,
|
||||
circumference: 180,
|
||||
plugins: {
|
||||
colorschemes: false,
|
||||
legend: {
|
||||
display: false
|
||||
},
|
||||
|
||||
@ -130,6 +130,7 @@ export default class Disk extends BaseGaugeWidget {
|
||||
},
|
||||
indexAxis: 'y',
|
||||
plugins: {
|
||||
colorschemes: false,
|
||||
legend: {
|
||||
display: false
|
||||
},
|
||||
|
||||
@ -208,6 +208,9 @@ export default class Firewall extends BaseTableWidget {
|
||||
event.native.target.style.cursor = elements[0] ? 'pointer' : 'grab';
|
||||
},
|
||||
plugins: {
|
||||
colorschemes: {
|
||||
scheme: 'tableau.Classic10'
|
||||
},
|
||||
legend: {
|
||||
display: true,
|
||||
position: 'left',
|
||||
|
||||
@ -165,6 +165,7 @@ export default class InterfaceStatistics extends BaseTableWidget {
|
||||
normalized: true,
|
||||
parsing: false,
|
||||
plugins: {
|
||||
colorschemes: false,
|
||||
legend: {
|
||||
display: false,
|
||||
position: 'left',
|
||||
|
||||
@ -120,6 +120,7 @@ export default class ThermalSensors extends BaseWidget {
|
||||
indexAxis: 'y',
|
||||
maintainAspectRatio: false,
|
||||
plugins: {
|
||||
colorschemes: false,
|
||||
legend: {
|
||||
display: false
|
||||
},
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user