Skip to main content

ComposedCurve and ComposedTimeSeries

A ComposedCurve or ComposedTimeSeries is a curve or timeseries that takes its values from one element (column) of a Composer composition. Add one to an object to make a composition column available as ordinary data.

Construction​

FunctionDescription
ComposedCurve(composition, element)Creates a new Composed Curve using a composition and element
ComposedTimeSeries(composition, element)Creates a new Composed TimeSeries using a timeseries composition and element

Properties​

NameDescriptionType
compositionThe composition that contains this curveString
descriptionA description of the curveString
elementThe element in the compositionString
identityThe configured identity for this curveObject
nameThe name of the curveString

Example​

obj = ${object:"NGE.SPREADS"}
obj.CSS_DE = ComposedCurve("NGE_CLEAN_SPARK_SPREAD", "spread")
save obj

To create the composition itself, use Composition(), which creates a report configuration of type Composition.