![]() ![]() |
You use the same sorts of data sources for a chart as you do for other report elements. How you return and arrange chart data, however, is often different from the way you use data elsewhere in BIRT.
First, you must set up a query that returns data the chart can use. Charts do not aggregate data. To use totals in a chart, you must create a data set that returns total information, as you did in the tutorial, Creating a chart.
Then, you supply expressions that organize the data into visual elements, such as bars or lines. When you finish setting up the chart, you can manipulate the data to make the chart more effective or visually appealing. For example, you can group data values or use chart axis settings to modify the range, scale, or formatting of the data the chart displays. You can also change the data preview settings that determine how the chart builder shows sample data.
This section describes how to set up and modify data in a chart.
![]() ![]() |