IPrxChart.SeriesFormatted

Syntax

SeriesFormatted: Boolean;

Description

The SeriesFormatted property determines whether formatted cell text is to be used for chart series names.

Comments

The formatted text is understood as data display format (ITabRange.FormattedText).

Available values:

Example

Executing the example requires a regular report with the Report_Chart identifier containing a set chart on the report sheet.

Add links to the Metabase, Report and Tab system assemblies.

Sub UserProc;
Var
    mb: IMetabase;
    Report: IPrxReport;
    Tab: ITabSheet;
    Chart: IPrxChart;
Begin
    mb := MetabaseClass.Active;
    Report := mb.ItemById("Report_Chart").Edit As IPrxReport;
    Tab := (Report.ActiveSheet As IPrxTable).TabSheet;
    Chart := Tab.Objects.Item(0).Extension As IPrxChart;
    Chart.SeriesFormatted := True;
    Chart.PointsFormatted := True;
    (Report As IMetabaseObject).Save;
End Sub UserProc;

After executing the example the regular report chart is available to work with the enabled option of cell text formatting for rows names and chart points names.

Below is a data area, for rows and points names of which text formatting is applied.

See below examples of a chart for a data area with this option disabled (left) and enabled (right):

See also:

IPrxChart