Skip to main content

Axis

@elastic/chartsExports


@elastic/charts / Axis

Function: Axis()

Axis(props, context?): null | ReactElement<any, any>

Add axis spec to chart

Parameters

props: PropsWithChildren<SFProps<AxisSpec, "chartType" | "specType", "position" | "groupId" | "hide" | "showOverlappingTicks" | "showOverlappingLabels" | "timeAxisLayerCount", SFOptionalKeys<AxisSpec, "chartType" | "specType", "position" | "groupId" | "hide" | "showOverlappingTicks" | "showOverlappingLabels" | "timeAxisLayerCount">, "id">>

context?: any

Returns

null | ReactElement<any, any>

Source

node_modules/@types/react/index.d.ts:544


Generated using typedoc-plugin-markdown and TypeDoc