Show contents 

Express > Express Assembly Interfaces > IEaxGrid > IEaxGrid.SparklinesPosition

IEaxGrid.SparklinesPosition

Syntax

SparklinesPosition: EaxSparklinesPosition;

Description

The SparklinesPosition property determines a plot area for sparklines in the table.

Comments

Sparklines are small charts displaying data for one series only. Sparklines are built in as a separate row or column and are plotted by the data located in the row or column. If sparklines by rows or columns and row and/or column totals are displayed in the table, sparklines for totals can be displayed in the table.

Example

Executing the example requires that the repository contains an express report with the EXPR_SLP_GRID identifier with a data table, for which column totals can be displayed.

Add links to the Express, Metabase system assemblies.

Sub UserProc;
Var
    MB: IMetabase;
    Express: IEaxAnalyzer;
    Grid: IEaxGrid;
Begin
    // Get the current repository
    MB := MetabaseClass.Active;
    // Get express report
    Express := MB.ItemById("EXPR_SLP_GRID").Edit As IEaxAnalyzer;
    // Get express report table
    Grid := Express.Grid;
    // Determine displaying of sparklines by rows and for totals
    Grid.SparklinesPosition := EaxSparklinesPosition.Rows Or EaxSparklinesPosition.Totals;
    (Express As IMetabaseObject).Save;
End Sub UserProc;

After executing the example the express report table displays sparklines by rows and for totals.

See also:

IEaxGrid