Rubricator: IRubricatorInstance;
The Rubricator property determines a time series database, which data is displayed in the MetaAttributesBreadcrumb component.
Executing the example requires a form, a button on this form and the MetaAttributesBreadcrumb component named MetaAttributesBreadcrumb1. The repository contains a time series database with the OBJ_FC identifier.
Sub Button1OnClick(Sender: Object; Args: IMouseEventArgs);
Var
MB: IMetabase;
RubInst: IRubricatorInstance;
Begin
MB := MEtabaseClass.Active;
RubInst := MB.ItemById("OBJ_FC").Open(Null) As IRubricatorInstance;
MetaAttributesBreadcrumb1.Rubricator := RubInst;
MetaAttributesBreadcrumb1.MetaAttributes := RubInst.Facts.Dictionary.Attributes;
End Sub Button1OnClick;
After executing the example, on clicking the button the MetaAttributesBreadcrumb1 component is linked to the time series database. The component displays the attributes containing time series database indicators.
See also: