Interface Axis

Index

Call signatures

Properties

Methods

Call signatures

(selection: Selection)

Parameters

Properties

public orient: { (): string; (orientation: string): D3.Svg.Axis; }

(): string

Returns

string

(): Axis

Returns

Axis

public scale: { (): any; (scale: any): D3.Svg.Axis; }

(): any

Returns

any

(): Axis

Returns

Axis

public tickPadding: { (): number; (padding: number): D3.Svg.Axis; }

(): number

Returns

number

(): Axis

Returns

Axis

public tickValues: { (): any[]; (values: any[]): D3.Svg.Axis; }

(): Array<any>

Returns

Array<any>

(): Axis

Returns

Axis

public ticks: { (): any[]; (...arguments: any[]): D3.Svg.Axis; }

(): Array<any>

Returns

Array<any>

(): Axis

Returns

Axis

Methods

public tickFormat(formatter: (value: any) => string): Axis

Parameters

  • formatter: (value: any) => string

Returns

Axis

public tickSize(major?: number, minor?: number, end?: number): Axis

Parameters

  • major?: number optional
  • minor?: number optional
  • end?: number optional

Returns

Axis

public tickSubdivide(count: number): Axis

Parameters

  • count: number

Returns

Axis