DomainRange
@elastic/charts • Exports
@elastic/charts / DomainRange
Interface: DomainRange
Contents
Properties
max
max:
number
Source
packages/charts/src/chart_types/xy_chart/utils/specs.ts:277
min
min:
number
Custom minInterval for the domain which will affect data bin size.
min: NaN
or max: NaN
can be used for either or both extrema, when unbounded.
The minInterval cannot be greater than the computed minimum interval between any two adjacent data points.
Further, if you specify a custom numeric minInterval for a time-series, please note that due to the restriction
above, the specified numeric minInterval will be interpreted as a fixed interval.
This means that, for example, if you have yearly time-series data that ranges from 2016 to 2019 and you manually
compute the interval between 2016 and 2017, you'll have 366 days due to 2016 being a leap year. This will not
be a valid interval because it is greater than the computed minInterval of 365 days between the other years.
Source
packages/charts/src/chart_types/xy_chart/utils/specs.ts:276
minInterval?
minInterval?:
number
Source
packages/charts/src/chart_types/xy_chart/utils/specs.ts:278
Generated using typedoc-plugin-markdown and TypeDoc