Click or drag to resize
Grid Solutions Framework

MeasurementValueTransposeCompute Method

Executes provided function for data source fields, applying the results to a copy of the data source value type and returns the new result.

Namespace: GrafanaAdapters.DataSourceValueTypes.BuiltIn
Assembly: GrafanaAdapters (in GrafanaAdapters.dll) Version: 2.4.182-beta
Syntax
public MeasurementValue TransposeCompute(
	Func<double, double> function
)
View Source

Parameters

function  FuncDouble, Double
Function to compute.

Return Value

MeasurementValue
Computed result.

Implements

IDataSourceValueTypeTTransposeCompute(FuncDouble, Double)
Remarks
This function is used to compute a new data source value type, applying the specified function operation to all value fields in the data source.
See Also