for example,
{view: “chart”, type:“bar”, data: data, value: “#variableName#”}
as a result, variableName could be assigned in js like: variableName = “result”;
for example,
{view: “chart”, type:“bar”, data: data, value: “#variableName#”}
as a result, variableName could be assigned in js like: variableName = “result”;
ok, I just did a test, a concatenate String will do the trick
Hello,
value can be defined as a function:
...
value: function(obj){
return obj[variableName];
}
...