File

widgets/implementations/datapoints-table/datapoints-table-view/apply-range-class.pipe.ts

Description

Applies CSS classes based on the value's range.

Metadata

Methods

transform
transform(value: number, ranges: ColorRangeBoundaries)

Transforms the input value based on the specified ranges.

Parameters :
Name Type Optional Description
value number No
  • Initial value used to determine the CSS class.
ranges ColorRangeBoundaries No
  • An object containing the min and max range values for yellow and red colors.
Returns : string

The CSS class to be applied.

results matching ""

    No results matching ""