Click or drag to resize
Grid Solutions Framework

DataSourceValueTransposeCompute Method

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

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

Parameters

function  FuncDouble, Double
Function to compute.

Return Value

DataSourceValue
Computed result.

Implements

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