Skip to content

Type Alias: MaxPoints ​

ts
type MaxPoints =
  | number
  | Readonly<Record<string, readonly number[]>>
  | {
      maxPoints: number;
    };

maxPoints of extendTraces / prependTraces (Plotly semantics): one number for every key and trace, or per attribute string an array with one number per listed trace. The options form { maxPoints: n } (plan §7.2) is accepted too. Negative or non-numeric: no limit.

Released under the MIT License.