Charts You can add bar charts, pie charts, and line charts to the PageOUT sheet. The items presented in a chart consist of value pairs – a Label (for example, an article) and a Value (for example, the number of articles sold). A chart can be based on a fixed or a variable number of value pairs. For example, if you create a chart based on fields defined in a block, you may not know how many value pairs the chart will include. Variable number of value pairs To create a chart based on a variable number of value pairs, you use a pair of arrays, one with Labels and the other with Values. You first define variables for the Labels and the Values, and then you create the arrays. You define the variables in the Event tool. How to create the arrays depends on the type of Event used. If you use a PageIN or PreformatIN Event, you must create a script in the PageOUT Process that generates the arrays. If you use a StreamIN or XMLIN Event, you can select a block property in the Event tool to create arrays automatically. Note: You can also create charts based on value pairs other than from an Event. For example, you can create a chart based on value pairs stored in a database. You first fetch the variables from the database, and then you create a script in the PageOUT Process to generate the arrays.