Available in: Logi Info | Source code name: ChartGrid | Introduced in: v10.0.189 |
The ChartGrid is a table filled with charts representing data for each cell. There are menu options that allow the user to flexibly interact with the data. The user may:
* Set a data column to make a row for each value. * Set a data column to make a crosstab column for each value. * Set data columns to specify the x and/or y axis values of each chart. * Set the chart type; bar, line, scatter or bubble. * Show a trend line.
With all these possibilities, it may be important for the user to be able to save these settings between sessions. You can create a Process Task with a Procedure.SaveChartGrid. Load a saved Chart Grid with the rdCgLoadSaved parameter:
rdCgLoadSaved=filename (filename is the name of a saved Chart Grid file.)
Users' settings are automatically maintained during the session. Clear the settings by calling the ChartGrid's report with the rdCgReset parameter:
rdCgReset=True
To get fresh data from the database while keeping the user's settings, call the report with the rdCgRefreshData parameter:
rdCgRefreshData=True
It is important that the value of the ID attribute for the ChartGrid element be unique throughout the entire application. This is because Logi Info saves the last state of the ChartGrid in a user’s session information based on the value of the ID for the ChartGrid element. Consequently, if two different report definitions each contain a ChartGrid with the same ID value, the application will display the same ChartGrid for both reports.
ChartGrid defines certain Cascading Style Sheet (CSS) classes. These help with colors, font sizes and spacing. You can over-ride these classes by adding them to your own CSS file. The grid's built-in CSS file is rdTemplate\rdChartGrid\rdCgStyle.css.
Element Group:Charts, Gauges and GIS Maps |