Interface Area

Index

Call signatures

Properties

Call signatures

(data: Array<any>, index?: number): string

Generate a piecewise linear area, as in an area chart.

Parameters

  • data: Array<any>
  • index?: number optional

Returns

string

Properties

public defined: { (): (data: any) => any; (defined: (data: any) => any): D3.Svg.Area; }

Control whether the area is defined at a given point.

(): (data: any) => any

Get the accessor function that controls where the area is defined.

Returns

(data: any) => any

(): Area

Set the accessor function that controls where the area is defined.

Returns

Area

public interpolate: { (): string; (interpolate: string): D3.Svg.Area; }

Get or set the interpolation mode.

(): string

Get the interpolation accessor.

Returns

string

(): Area

Set the interpolation accessor.

Returns

Area

public tension: { (): number; (tension: number): D3.Svg.Area; }

Get or set the cardinal spline tension.

(): number

Get the cardinal spline accessor.

Returns

number

(): Area

Set the cardinal spline accessor.

Returns

Area

public x: { (): (data: any, index?: number) => number; (accessor: (data: any) => number): D3.Svg.Area; (accessor: (data: any, index: number) => number): D3.Svg.Area; (cnst: number): D3.Svg.Area; }

Get or set the x-coordinate accessor.

(): (data: any, index?: number) => number

Get the x-coordinate accessor.

Returns

(data: any, index?: number) => number

(): Area

Set the x-coordinate accessor.

Returns

Area

(): Area

Returns

Area

(): Area

Set the x-coordinate to a constant.

Returns

Area

public x0: { (): (data: any, index?: number) => number; (accessor: (data: any) => number): D3.Svg.Area; (accessor: (data: any, index: number) => number): D3.Svg.Area; (cnst: number): D3.Svg.Area; }

Get or set the x0-coordinate (baseline) accessor.

(): (data: any, index?: number) => number

Get the x0-coordinate (baseline) accessor.

Returns

(data: any, index?: number) => number

(): Area

Set the x0-coordinate (baseline) accessor.

Returns

Area

(): Area

Returns

Area

(): Area

Set the x0-coordinate (baseline) to a constant.

Returns

Area

public x1: { (): (data: any, index?: number) => number; (accessor: (data: any) => number): D3.Svg.Area; (accessor: (data: any, index: number) => number): D3.Svg.Area; (cnst: number): D3.Svg.Area; }

Get or set the x1-coordinate (topline) accessor.

(): (data: any, index?: number) => number

Get the x1-coordinate (topline) accessor.

Returns

(data: any, index?: number) => number

(): Area

Set the x1-coordinate (topline) accessor.

Returns

Area

(): Area

Returns

Area

(): Area

Set the x1-coordinate (topline) to a constant.

Returns

Area

public y: { (): (data: any, index?: number) => number; (accessor: (data: any) => number): D3.Svg.Area; (accessor: (data: any, index: number) => number): D3.Svg.Area; (cnst: number): D3.Svg.Area; }

Get or set the y-coordinate accessor.

(): (data: any, index?: number) => number

Get the y-coordinate accessor.

Returns

(data: any, index?: number) => number

(): Area

Set the y-coordinate accessor.

Returns

Area

(): Area

Returns

Area

(): Area

Set the y-coordinate to a constant.

Returns

Area

public y0: { (): (data: any, index?: number) => number; (accessor: (data: any) => number): D3.Svg.Area; (accessor: (data: any, index: number) => number): D3.Svg.Area; (cnst: number): D3.Svg.Area; }

Get or set the y0-coordinate (baseline) accessor.

(): (data: any, index?: number) => number

Get the y0-coordinate (baseline) accessor.

Returns

(data: any, index?: number) => number

(): Area

Set the y0-coordinate (baseline) accessor.

Returns

Area

(): Area

Returns

Area

(): Area

Set the y0-coordinate (baseline) to a constant.

Returns

Area

public y1: { (): (data: any, index?: number) => number; (accessor: (data: any) => number): D3.Svg.Area; (accessor: (data: any, index: number) => number): D3.Svg.Area; (cnst: number): D3.Svg.Area; }

Get or set the y1-coordinate (topline) accessor.

(): (data: any, index?: number) => number

Get the y1-coordinate (topline) accessor.

Returns

(data: any, index?: number) => number

(): Area

Set the y1-coordinate (topline) accessor.

Returns

Area

(): Area

Returns

Area

(): Area

Set the y1-coordinate (baseline) to a constant.

Returns

Area