CngxThreshold
projects/common/chart/layers/threshold.component.ts
Import#
import { CngxThreshold } from '@cngx/common/chart'
Description#
Threshold reference atom. Renders a single horizontal <line> at
yScale(value) spanning the chart's full width, plus an optional
<text> label at the right edge.
Common use: target threshold ("budget cap"), warning bands, or any "line at value" reference. Always reads scales from CNGX_CHART_CONTEXT.
Attribute-selector on <svg:g> - see CngxLine for why.