Skip to main content

SeriesScales

@elastic/chartsExports


@elastic/charts / SeriesScales

Interface: SeriesScales

Contents

Properties

timeZone?

timeZone?: string

If using a ScaleType.Time this timezone identifier is required to compute a nice set of xScale ticks. Can be any IANA zone supported by the host environment, or a fixed-offset name of the form 'utc+3', or the strings 'local' or 'utc'.

Default Value

local

Source

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


xNice?

xNice?: boolean

Extends the x domain so that it starts and ends on nice round values.

Default Value

false

Source

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


xScaleType

xScaleType: XScaleType

The x axis scale type

Default Value

ordinal (ScaleType:type) | ScaleType.Ordinal

Source

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


yNice?

yNice?: boolean

Extends the y domain so that it starts and ends on nice round values.

Default Value

false

Source

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


yScaleType

yScaleType: ScaleContinuousType

The y axis scale type

Default Value

linear (ScaleType:type) | ScaleType.Linear

Source

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


Generated using typedoc-plugin-markdown and TypeDoc