diff --git a/src/client/widgets/common/widget.js b/src/client/widgets/common/widget.js index fc1fff1b..2ca41ed9 100644 --- a/src/client/widgets/common/widget.js +++ b/src/client/widgets/common/widget.js @@ -49,7 +49,7 @@ class Widget extends EventEmitter { _widget:'widget', - type: {type: 'string', value: 'auto', help: ''}, + type: {type: 'string', value: 'auto', help: 'Widget type'}, id: {type: 'string', value: 'auto', help: 'Widgets sharing the same `id` will act as clones and update each other\'s value(s) without sending extra osc messages.' }, visible: {type: 'boolean', value: true, help: 'Set to `false` to hide the widget.'}, interaction: {type: 'boolean', value: true, help: 'Set to `false` to disable pointer interactions.'}, @@ -64,8 +64,8 @@ class Widget extends EventEmitter { 'When both top and left are set to auto, the widget is positioned according to the normal flow of the page (from left to right, by order of creation).', 'Otherwise, the widget will be absolutely positioned' ]}, - width: {type: 'number|percentage', value: 'auto', help: ''}, - height: {type: 'number|percentage', value: 'auto', help: ''}, + width: {type: 'number|percentage', value: 'auto', help: 'Widget width'}, + height: {type: 'number|percentage', value: 'auto', help: 'Widget height'}, expand: {type: 'boolean|number', value: 'false', help: 'If parent\'s layout is `vertical` or `horizontal`, set this to `true` to stretch the widget to use available space automatically.'}, _style:'style', diff --git a/src/client/widgets/graphs/plot.js b/src/client/widgets/graphs/plot.js index 3f1d3dec..82b66250 100644 --- a/src/client/widgets/graphs/plot.js +++ b/src/client/widgets/graphs/plot.js @@ -23,7 +23,7 @@ module.exports = class Plot extends StaticProperties(Canvas, {bypass: true, inte logScaleX: {type: 'boolean|number', value: false, help: 'Set to `true` to use logarithmic scale for the x axis (base 10). Set to a `number` to define the logarithm\'s base.'}, logScaleY: {type: 'boolean|number', value: false, help: 'Set to `true` to use logarithmic scale for the y axis (base 10). Set to a `number` to define the logarithm\'s base.'}, origin: {type: 'number', value: 'auto', help: 'Defines the y axis origin. Set to `false` to disable it.'}, - dots: {type: 'boolean', value: true, help: ''}, + dots: {type: 'boolean', value: true, help: 'Draw dots on the line'}, bars: {type: 'boolean', value: false, help: 'Set to `true` to use draw bars instead (disables `logScaleX` and forces `x axis` even spacing)'}, pips:{type: 'boolean', value: true, help: 'Set to `false` to hide the scale'},