Skip to main content

FitConfig

@elastic/chartsExports


@elastic/charts / FitConfig

Type alias: FitConfig

FitConfig: Object

Type declaration

endValue?

endValue?: number | "nearest"

Value used for first and last point if fitting is not possible

'nearest' will set indeterminate end values to the closes visible point.

Note: Computed fit values will always take precedence over endValues

type

type: Fit

Fit type for data with null values

value?

value?: number

Fit value used when type is set to Fit.Explicit

Source

packages/charts/src/chart_types/xy_chart/utils/specs.ts:608


Generated using typedoc-plugin-markdown and TypeDoc