Skip to content

Latest commit

 

History

History
56 lines (38 loc) · 1.54 KB

README.md

File metadata and controls

56 lines (38 loc) · 1.54 KB

d3-axis-for-react

d3-axis-for-react

Table of contents

Enumerations

Functions

Functions

Axis

Axis<Domain>(«destructured»): Element

The axis component. This renders an axis, within a g element, for use in a chart.

Type parameters

Name Type
Domain extends AxisDomain

Parameters

Name Type Description
«destructured» Object -
› domainPathProps? null | SVGProps<SVGPathElement> Additional attributes to the domain path, or null to omit
› offset? number -
› orient? Orient -
› scale AxisScale<Domain> An initialized d3 scale object, like a d3.linearScale
› tickArguments? any[] -
› tickFormat? any -
› tickLineProps? null | SVGProps<SVGLineElement> Additional attributes to add to tick line elements, or null to omit
› tickPadding? number -
› tickSize? number -
› tickSizeInner? number -
› tickSizeOuter? number -
› tickTextProps? null | SVGProps<SVGTextElement> Additional attributes to add to tick text elements, or null to omit
› tickValues? null | any[] -
› ticks? any[] -

Returns

Element

Defined in

index.tsx:33