examples: write valid json in plots

This commit is contained in:
jean-emmanuel 2018-02-13 13:26:25 +01:00
parent 15d9837880
commit f33248c872

View file

@ -1064,7 +1064,20 @@
"linkId": "",
"dots": true,
"bars": false,
"value": "[\n [ @{x1}, @{y1} ],\n [ @{x2}, @{y2} ],\n [ @{x3}, @{y3} ]\n]"
"value": [
[
"@{x1}",
"@{y1}"
],
[
"@{x2}",
"@{y2}"
],
[
"@{x3}",
"@{y3}"
]
]
},
{
"type": "eq",
@ -1088,7 +1101,15 @@
"preArgs": [],
"resolution": 128,
"linkId": "",
"value": "[\n { \"type\": \"peak\", \"freq\": @{freq1}, \"q\": @{q1}, \"gain\": @{gain1}, \"on\": 1 }\n]"
"value": [
{
"type": "peak",
"freq": "@{freq1}",
"q": "@{q1}",
"gain": "@{gain1}",
"on": 1
}
]
},
{
"type": "visualizer",