从下面的 JSON 字符串
{cols:[{"id":"t","label":"Title","type":"string"},{"id":"l","label":"Avg ","type":"string"},{"id":"lb","label":"High","type":"string"},{"id":"lo","label":"Low","type":"string"}],rows:[{"c":[{"v":"Change navigation"},{"v":5.6666666666667},{"v":"10"},{"v":"1"}]},{"c":[{"v":"Executive leadership"},{"v":6.0666666666667},{"v":"7"},{"v":"3"}]},{"c":[{"v":"Business ownership"},{"v":5.8095238095238},{"v":"10"},{"v":"2"}]},{"c":[{"v":"Change enablement"},{"v":6.4285714285714},{"v":"9"},{"v":"5"}]}]}
我怎么得到类似的东西,
['Change navigation=6.5333333333333','Executive leadership=6.0666666666667',
'Business ownership=5.8095238095238','Change enablement=6.4285714285714']
使用 Javascript
我得到了一个 JSON 对象作为 AJAX 的响应。现在尝试用它绘制图像图表。我应用 JSON.stringify 来转换对象。但不知道如何转换为图表可以理解的格式