SerieFootnoteAttributes: ILanerCellAttributes;
The SerieFootnoteAttributes property returns collection of attributes used to create footnotes of series headers.
The attributes of the LnAttributeType.Fact type can only be added to the collection.
Executing the example requires that the repository contains a workbook with the WORKBOOK identifier containing several series. The workbook must use the time series database that contains mandatory attribute of series with the INDICATOR identifier as a data source.
Sub UserProc;
Var
MB: IMetabase;
WbkObj: IMetabaseObject;
Laner: ILaner;
FootnoteAttributes: ILanerCellAttributes;
Begin
// Get workbook
MB := MetabaseClass.Active;
WbkObj := MB.ItemById("WORKBOOK").Edit;
Laner := (WbkObj As IEaxAnalyzer).Laner;
// Get collection of footnote attributes for series headers
FootnoteAttributes := Laner.SerieFootnoteAttributes;
// Clear collection
FootnoteAttributes.Clear;
// Add the "COUNTRY" attribute into collection of prefix attributes
FootnoteAttributes.Add("COUNTRY", LnAttributeType.Fact);
// Save changes
WbkObj.Save;
End Sub UserProc;
After executing the example footnotes are added for workbook series headers. Footnote text is created by values of the COUNTRY series attribute.
See also: