How to create Line chart from birt chat plugin in eclipse

只愿长相守 提交于 2019-12-02 15:07:29

问题


I am using eclipse brit plugin to generate a line chart. Basically i want to create a report to present a mobile battery usage in given time range. Here is sample data where observationtime is dynamic based on user selected range:

I want to draw a line chart of per device but unable to find any configuration to draw different charts per device on same report page. Can someone help me on this ?

------------------------Update configuration and result-----------------

------------ after using list -----------


回答1:


I the "Select Data" tab of your chart, select the time for the Category (X) Axis, The battery usage for the Value (Y) Axis an the device name for "Optional Y Series Grouping" (on the right side of the chart).




回答2:


I found a solution basically we need to add a table and then add grouping inside tablet on desired field and then in footer need to add a chart and it should get the values from container rather than directly from Data set.



来源:https://stackoverflow.com/questions/39329664/how-to-create-line-chart-from-birt-chat-plugin-in-eclipse

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!