---
id: "packages/active-charts/all-exports/waterfall-series-options"
title: "Waterfall series options"
description: "WaterfallSeriesOptions, WaterfallStepKind: generated from the source of active-charts."
url: "/packages/active-charts/all-exports/waterfall-series-options"
locale: "en"
revision: "g0mvjxwj5c-88bdbe1c:waterfall-series-options"
---

# Waterfall series options

Exported by `@workspace/active-charts`. Generated from the package source; part of [the index of every export](/packages/active-charts/all-exports).

## Types

**WaterfallSeriesOptions**

```ts
interface WaterfallSeriesOptions extends BarSizingOptions {
  type: 'waterfall';
  xKey: string;
  yKey: string;
  id?: string;
  name?: string;
  visible?: boolean;
  showInLegend?: boolean;
  yAxisId?: string;
  highlightStyle?: HighlightStyleOptions;
  kindKey?: string;
  positive?: {fill?: string; stroke?: string};
  negative?: {fill?: string; stroke?: string};
  total?: {fill?: string; stroke?: string};
  connectorLine?: boolean;
  connectorStroke?: string;
  cornerRadius?: number;
  label?: LabelOptions;
  animation?: boolean | SeriesAnimationOptions;
}
```

**WaterfallStepKind**

```ts
type WaterfallStepKind = 'change' | 'subtotal' | 'total';
```

The kind of a waterfall row (T9), read from the field `kindKey` names.

- `'change'`: a step; it moves the balance by the row's value.
- `'subtotal'`: the net movement since the previous subtotal or total (or
since the start); it floats from that balance to the current one.
- `'total'`: the current balance, standing on zero.

A subtotal and a total never move the balance; both become the point the
next subtotal floats from. Row position never decides a kind.
