docs: plot value formats examples
This commit is contained in:
parent
e8bfeb73b5
commit
755f72d844
1 changed files with 4 additions and 4 deletions
|
|
@ -31,10 +31,10 @@ module.exports = class Plot extends StaticProperties(Canvas, {bypass: true, inte
|
|||
},
|
||||
value: {
|
||||
value: {type: 'array|string', value: '', help: [
|
||||
'- `Array` of `y` values',
|
||||
'- `Array` of `[x, y]` `array` values',
|
||||
'- `String` `array`',
|
||||
'- `String` `object` to update specific coordinates only: `{0:1, 4:0}` will change the 1st and 5th points\' coordinates',
|
||||
'- `Array` of `y` values: `[y1, y2, ...]`',
|
||||
'- `Array` of `[x, y]` `array` values: `[[x1 , y1], [x2, y2], ...]`',
|
||||
'- `String` `array`: `"[y1, y2, ...]"` or `"[[x1 , y1], [x2, y2], ...]"`',
|
||||
'- `String` `object` to update specific coordinates only: `"{0: y1, 1: y2}"` or `"{0: [x1, y1], 1: [x2, y2]}"`',
|
||||
]}
|
||||
},
|
||||
osc: {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue