IFactorObservationValues.Explanation

Syntax

Explanation: String;

Description

The Explanation property determines an explanation of time series value.

Example

Executing the example requires that the repository contains a time series database with the OBJ_RUBRICATOR identifier. The time series database must contain a time series with the 1 key.

Sub Main;

Var

MB: IMetabase;

RubDesc: IMetabaseObjectDescriptor;

RubrIn: IRubricatorInstance;

FactD: IRubricatorFactData;

FactorObVal: IFactorObservationValues;

Begin

MB := MetabaseClass.Active;

RubDesc := MB.ItemById("OBJ_FC3");

RubrIn := RubDesc.Open(Null) As IRubricatorInstance;

FactD := RubrIn.GetFactData(1);

FactorObVal := RubrIn.GetObservationValues(FactD, DateTime.Parse("01.01.2002 00:00:00"), DictionaryGetDataOptions.Edit);

FactorObVal.Explanation := Explanation;

FactorObVal.Save;

End Sub Main;

After executing the example time series data with 1 key for January 1st 2002 is explained.

See also:

IFactorObservationValues