我们可以在立体主义上使用自定义JSON数据吗?

时间:2021-09-19 00:46:52

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...

我看到了立体主义图,它们简直令人惊叹。我有一个大的JSON文件,其中包含1000个具有时间戳和值(整数)的条目。立体主义可以图那些与否吗?!我似乎无法找到关于此的文档......

1 个解决方案

#1


14  

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.

Cubism通常用于实时数据,但您可以实现一个仅从JSON文件返回静态值的度量。通常,您可以使用context.metric执行此操作。有关示例,请参阅立体主义介绍中的股票演示。

#1


14  

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.

Cubism通常用于实时数据,但您可以实现一个仅从JSON文件返回静态值的度量。通常,您可以使用context.metric执行此操作。有关示例,请参阅立体主义介绍中的股票演示。