Example: Data-Driven Lattice

About the Data-Driven Lattice Example

This example shows the sales for a line of retail products over a period of time. The custom graph object specifies a row-based lattice in which the rows correspond to the corporate divisions that are responsible for the sales. The corporation has two divisions, resulting in a graph with two rows.
Example Data-Driven Lattice
Data-Driven Lattice in the designer

Build the Graph Object for the Data-Driven Lattice Example

  1. In the graph builder, drag and drop a line chart from the Graph Elements pane onto the canvas.
  2. On the Role Definitions tab, click the menu down arrow next to Category, and select Edit Role. The Edit Role window is displayed.
  3. Select Datetime for Classification.
    Click OK.
    Specifying Datetime forces the report designer to assign date and time data to the Category role.
  4. Specify the role to which a class variable is assigned.
    1. In the Data-Driven Lattice section on the Role Definitions tab, click Add Lattice Role. The Add Role window is displayed.
    2. Select Row for Role Type.
    3. Select Category for Classification.
    4. Select Required. With this option selected, the report designer must assign data to this role to render the report with data assigned.
    5. Click OK.
Last updated: January 8, 2019