SpagoBI:使用SpagoBI创建动态图表 [英] SpagoBI: create a dynamic chart using SpagoBI

查看:340
本文介绍了SpagoBI:使用SpagoBI创建动态图表的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我从SpagoBI开始,我设法使用Highchart显示一个静态图表,我想做的是一个动态图表意味着如果我的数据集更新我想要更新的图表,而不需要手动刷新网络页。像这个链接下的例子[1]
我使用SpagoBi工作室部署图表,我测试了刷新秒的选项(我编辑到1秒),但部署,但它不工作。

I am starting with SpagoBI, I managed to display a static chart using Highchart, what I want to do is a dynamic chart means if my data set is updated I want my chart to be updated as well, without manually refreshing the web page. like the example under this link [1] I used SpagoBi studio to deploy the chart, I tested the option of "refresh Seconds" (I edited to 1 second) while deploying but it is not working.

我如何做?

更新:图表模板:

<HIGHCHART width="100%" height="100%">
  <CHART defaultSeriesType="spline" zoomType="xy"/>
  <TITLE text="Temperature 1"/>
  <LEGEND/>
  <SUBTITLE/>
  <X_AXIS allowDecimals="true" maxZoom="4" min="0" tickWidth="1" type="linear" alias="recvTime">
    <TITLE/>
  </X_AXIS>
  <Y_AXIS maxPadding="0.0" maxZoom="4" tickWidth="1" type="linear" alias="attrValue">
    <TITLE/>
  </Y_AXIS>
  <PLOT_OPTIONS>
    <SPLINE stacking="">
      <DATA_LABELS/>
    </SPLINE>
  </PLOT_OPTIONS>
  <DRILL>
    <PARAM_LIST/>
  </DRILL>
  <SERIES_LIST>
    <SERIES name="Temperature" alias="recvTime,attrValue" type="spline"/>
  </SERIES_LIST>
</HIGHCHART>

[1] http://www.highcharts.com/demo/dynamic-update

推荐答案

尝试设置refresh_time属性:

try setting the refresh_time property:

< HIGHCHART refresh_time ='5'width =100%height =100%>
....

<HIGHCHART refresh_time='5' width="100%" height="100%" > ....

希望有帮助!

这篇关于SpagoBI:使用SpagoBI创建动态图表的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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