Click or drag to resize
Grid Solutions Framework

IDataSourceValueTTransposeCompute 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
Assembly: GrafanaAdapters (in GrafanaAdapters.dll) Version: 2.4.171-beta
Syntax
T TransposeCompute(
	Func<double, double> function
)
View Source

Parameters

function  FuncDouble, Double
Function to compute.

Return Value

T
Computed result.
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