问题
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