我们可以在立体主义上使用自定义JSON数据吗? [英] Can we use custom JSON Data on Cubism?

查看:102
本文介绍了我们可以在立体主义上使用自定义JSON数据吗?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我看到立体图,他们是惊人的。我有一个大的JSON文件,有1000个条目,有时间戳和值(整数)。可以立体主义图表那些或不?我似乎找不到这个文档...

I saw the cubism graphs and they are simply amazing. I have a big JSON file with 1000 entries that have a timestamp and a value (integer). Can Cubism graph those or not?! I can't seem to find documentation on this...

推荐答案

Cubism通常用于实时数据,一个简单地从JSON文件返回静态值的度量。通常,您可以使用 context.metric 来执行此操作。请参阅股票演示 .org / mike / cubism / intro />立体主义介绍讲话为例。

Cubism is generally intended for realtime data, but you can implement a metric that simply returns static values from a JSON file. Typically you do this by using context.metric. See the stocks demo in the Cubism intro talk for an example.

这篇关于我们可以在立体主义上使用自定义JSON数据吗?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
相关文章
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆