Skip to content

Type Alias: D3PCurve ​

ts
type D3PCurve = 
  | "linear"
  | "straight"
  | "monotone"
  | "step"
  | "stepBefore"
  | "stepAfter"
  | "basis"
  | "cardinal"
  | "catmullRom"
  | "natural";

Defined in: core/util.ts:219

How points are joined. linear is straight in a cartesian system and follows the curve in a polar one; straight is a chord in both (what a radar chart needs).