Click or drag to resize
Grid Solutions Framework

DifferenceTComputeDataSourceValueTransposeCompute Method

Computes the difference between the current value and the last value.

Namespace: GrafanaAdapters.Functions.BuiltIn
Assembly: GrafanaAdapters (in GrafanaAdapters.dll) Version: 2.4.171-beta
Syntax
protected override DataSourceValue TransposeCompute(
	DataSourceValue currentValue,
	DataSourceValue lastValue
)
View Source

Parameters

currentValue  DataSourceValue
Source value.
lastValue  DataSourceValue
Last result.

Return Value

DataSourceValue
Calculated difference.
See Also