使用 anystock 从 JSON 获取数据

Getting Data from JSON with anystock

基于anychart doc,加载数据非常直接:

var json = { "chart": { "type": "pie" }}
anychart.fromJson(json);

现在我正尝试对 anystock 做同样的事情...但不知道如何做:

var json = { "chart": { "type": "stock" }}
anychart.fromJson(json);

我有以下错误:

Unknown chart type: stock

我猜是因为 anychartanystock 是 2 种不同的产品,但我不知道什么才是正确的配置。

我刚从任何图表上得到答案:

unfortunately AnyStock 8.0.1 of October 2017 doesn't provide this feature. However in future releases this feature might be implemented.