IPrxReportOptions.CorrectChartRanges

Syntax

CorrectChartRanges: Boolean;

Description

The CorrectChartRanges property determines whether chart range is corrected after changing of data area sidehead and heading.

Comments

A chart range is corrected only in case if the entire data area range is used as a chart data source .

Available values:

Example

Executing the example requires a regular report with the REPORT identifier.

Add links to the Metabase, Report system assemblies.

Sub UserProc;
Var
    MB: IMetabase;
    MOBj: IMetabaseObject;
    Report: IPrxReport;
    Options: IPrxReportOptions;
Begin
    MB := MetabaseClass.Active;
    MOBj := MB.ItemById("REPORT").Edit;
    Report := MOBj As IPrxReport;
    Options := Report.Options;
    Options.CorrectChartRanges := True;
    MOBj.Save;  
End Sub UserProc;

After executing the example on deselecting the data area sidehead and heading and the further adding a selection, chart range is correctly restored.

See also:

IPrxReportOptions