Working with Charts
Chart organizes and graphically presents data in a way that makes it easy for users to see comparisons, trends, and patterns in data. It represents the report data in a visually straightforward form. This topic introduces the elements and types of the Report charts, how you can create and modify charts, format the chart elements, and other chart features.
A chart is based on a chart platform. On the platform, chart paper, legend, and labels make up the normal chart. You can create a chart that contains only simple DBFields or summaries, or a complicated chart that contains DBFields, groups, summaries, and even formulas. Normally, you can represent the DBFields, summaries, and formulas in a chart using chart data markers, and use groups to produce category names and data series names. You can also use DBFields as category names.
A chart usually displays values in a static way and you cannot change the values on it once you create it. However, Report provides you with options to make the chart interactive and dynamic. For example, if your data source uses data that changes quickly over time such as stock market values, you can create a real time chart, so that the chart updates itself based on a defined interval by using the real time data from the data source. You can make a chart move at runtime based on the value changes of a motion field by creating a motion chart. In a motion chart, the chart is playable. You can start or stop the chart to play the dynamic trend of the motion field, control the moving speed of the chart, and if you create a bubble motion chart, you can even use a trail control to make the chart move showing a bubble or line trail. Report also supports dynamic charts in Excel, that is, you can make data in a chart map to a single cell in Excel, then when you change the data in a cell, the corresponding change also displays in the chart. In addition, you can make your chart scrollable by adding a scroll bar to the chart, which enables you to control the visible value range on the X axis of the chart. You can also select the values you are interested in to zoom them in.
The following topics discuss charts in further detail:
- Chart Elements
- Chart Types
- How Data Is Represented in a Chart
- Inserting Charts in a Report
- Modifying Charts
- Formatting Chart Elements
- Applying Conditional Color Fills to Charts
- Labeling Time Series Data by Constant Interval
- Editing Range Groups on Chart Categories
- Creating Scrollable Charts
- Creating Real Time Charts
- Creating Motion Charts
- Creating Dynamic Charts in Excel
See an example: The SampleComponents catalog, included with Designer, contains reports that have examples of how each component type could be used in a report. For the chart component example, open <install_root>\Demo\Reports\SampleComponents\Chart.cls
.