Skip to main content
cngx-src documentation

XScaleInput

Type Aliascommon/chart

projects/common/chart/chart/chart-context.ts

Description#

Numeric input shape every concrete scale accepts. Linear scales take number, time scales take Date | number, band scales take string or arbitrary references via createBandScale's generic. The union narrows at the layer atom ([cngxLine], [cngxBar], ...); the chart context surface stays scale-agnostic.

Definition#

number | Date | string