YDomainBase
@elastic/charts • Exports
@elastic/charts / YDomainBase
Interface: YDomainBase
Domain option that only apply to yDomains.
Contents
Properties
constrainPadding?
constrainPadding?:
boolean
Constrains padded domain to the zero baseline.
e.g. If your domain is [10, 100] and [-10, 120] with padding.
The domain would be [0, 120] if constrained or [-10, 120] if unconstrained.
Default Value
true
Source
packages/charts/src/chart_types/xy_chart/utils/specs.ts:358