Update order and description settings-schema.json

This commit is contained in:
Raymundo Cassani 2020-05-27 18:56:12 -04:00
parent 9cdf0275a6
commit cb197e51cb

View File

@ -18,25 +18,11 @@
"RAM": "ram" "RAM": "ram"
} }
}, },
"refresh-interval": {
"type": "combobox",
"default": 1,
"description": "Refresh interval 2",
"tooltip": "Increase or decrease refresh interval in seconds.",
"options" : {
" 1 s": 1,
" 2 s": 2,
" 5 s": 5,
"10 s": 10,
"30 s": 30,
"60 s": 60
}
},
"duration": { "duration": {
"type": "combobox", "type": "combobox",
"default": 60, "default": 60,
"description": "Plot duration", "description": "Duration of the graph",
"tooltip": "Increase or decrease refresh interval in seconds.", "tooltip": "Maximum among of time shown in the graph.",
"options" : { "options" : {
"30 s": 30, "30 s": 30,
" 1 min": 60, " 1 min": 60,
@ -47,6 +33,21 @@
"60 min": 3600 "60 min": 3600
} }
}, },
"refresh-interval": {
"type": "combobox",
"default": 1,
"description": "Refresh interval",
"tooltip": "Refresh interval in seconds.",
"options" : {
" 1 s": 1,
" 2 s": 2,
" 5 s": 5,
"10 s": 10,
"30 s": 30,
"60 s": 60
}
},
"head2": { "head2": {
"type": "header", "type": "header",
@ -57,47 +58,43 @@
"default": "rgba(50,50,50,1)", "default": "rgba(50,50,50,1)",
"description": "Background color" "description": "Background color"
}, },
"text-color": {
"type": "colorchooser",
"default": "rgba(255,255,255,1)",
"description": "Text color"
},
"custom-line-color": { "custom-line-color": {
"type": "checkbox", "type": "checkbox",
"default": false, "default": false,
"description": "Use a custom circle color", "description": "Use a custom line color",
"value": false "value": false
}, },
"line-color": { "line-color": {
"type": "colorchooser", "type": "colorchooser",
"default": "rgba(50,168,82,1.0)", "default": "rgba(137,190,67,1.0)",
"description": "Line color", "description": "Line color",
"dependency": "custom-line-color" "dependency": "custom-line-color"
}, },
"midline-color": { "midline-color": {
"type": "colorchooser", "type": "colorchooser",
"default": "rgba(127,127,127,1)", "default": "rgba(127,127,127,1)",
"description": "Midline color" "description": "Grid color"
},
"text-color": {
"type": "colorchooser",
"default": "rgba(255,255,255,1)",
"description": "Text color"
}, },
"h-midlines": { "h-midlines": {
"type": "spinbutton", "type": "spinbutton",
"default": 4, "default": 4,
"min": 0, "min": 0,
"max": 20, "max": 50,
"step": 1, "step": 1,
"units": "scale factor", "description": "Number of horizontal lines in the grid"
"description": "H midlines",
"tooltip": "Increase or decrease the size of this desklet using this scale factor."
}, },
"v-midlines": { "v-midlines": {
"type": "spinbutton", "type": "spinbutton",
"default": 4, "default": 4,
"min": 0, "min": 0,
"max": 20, "max": 30,
"step": 1, "step": 1,
"units": "scale factor", "description": "Number of vertical lines in the grid"
"description": "V midlines",
"tooltip": "Increase or decrease the size of this desklet using this scale factor."
}, },
"scale-size": { "scale-size": {
"type": "spinbutton", "type": "spinbutton",
@ -105,8 +102,6 @@
"min": 0.5, "min": 0.5,
"max": 3, "max": 3,
"step": 0.1, "step": 0.1,
"units": "scale factor", "description": "Scale factor for desklet size (1 = 330x120 px)"
"description": "Desklet size",
"tooltip": "Increase or decrease the size of this desklet using this scale factor."
} }
} }