# WirePivotAxisField (@salmonui/data/json)

> The WirePivotAxisField interface of @salmonui/data/json: An axis field of a wire pivot model.

Canonical: https://salmonui.dev/docs/reference/data/json/WirePivotAxisField

```ts
import type { WirePivotAxisField } from '@salmonui/data/json';
```

Also exported from `@salmonui/data`.

Entry index: https://salmonui.dev/docs/reference/data/json (Markdown with every symbol of the entry: https://salmonui.dev/docs/reference/data/json.md).

## Reference

Kind: interface

```ts
interface WirePivotAxisField {
    readonly field: string;
    readonly caption?: string;
    readonly showSubTotals?: boolean;
}
```

An axis field of a wire pivot model.

Members (3):

| Name | Signature | Flags | Description |
| --- | --- | --- | --- |
| `field` | `readonly field: string;` |  |  |
| `caption` | `readonly caption?: string;` | optional |  |
| `showSubTotals` | `readonly showSubTotals?: boolean;` | optional |  |
