> Documentation index: https://www.gooddata.ai/docs/gooddata-ui/llms.txt lists every page of these docs as Markdown.

# v1.ComplexBucket

- Package: [@gooddata/sdk-code-schemas](https://www.gooddata.ai/docs/gooddata-ui/latest/api-reference/sdk-code-schemas/index.md)
- Kind: interface
- Source: https://github.com/gooddata/gooddata-ui-sdk/blob/rel/11.64/libs/sdk-code-schemas/src/v1/metadata.ts

**Signature:**

```typescript
export interface ComplexBucket 
```

## Properties

| Property | Modifiers | Type | Description |
| --- | --- | --- | --- |
| [axis?](https://www.gooddata.ai/docs/gooddata-ui/latest/api-reference/sdk-code-schemas/sdk-code-schemas.v1.complexbucket/index.md#v1complexbucketaxis) |  | "primary" \| "secondary" | _(Optional)_ Axis to use for this bucket. Only applicable for "combo" charts. |
| [display\_as?](https://www.gooddata.ai/docs/gooddata-ui/latest/api-reference/sdk-code-schemas/sdk-code-schemas.v1.complexbucket/index.md#v1complexbucketdisplay_as) |  | "line" \| "column" \| "metric" | _(Optional)_ Chart type to use for this bucket. Only applicable for "repeater" charts. |
| [field?](https://www.gooddata.ai/docs/gooddata-ui/latest/api-reference/sdk-code-schemas/sdk-code-schemas.v1.complexbucket/index.md#v1complexbucketfield) |  | string | _(Optional)_ A field name in the report. |
| [format?](https://www.gooddata.ai/docs/gooddata-ui/latest/api-reference/sdk-code-schemas/sdk-code-schemas.v1.complexbucket/index.md#v1complexbucketformat) |  | string | _(Optional)_ Metric value default format |
| [totals?](https://www.gooddata.ai/docs/gooddata-ui/latest/api-reference/sdk-code-schemas/sdk-code-schemas.v1.complexbucket/index.md#v1complexbuckettotals) |  | [Total](https://www.gooddata.ai/docs/gooddata-ui/latest/api-reference/sdk-code-schemas/sdk-code-schemas.v1.total/index.md)[] | _(Optional)_ A list of totals in this bucket. |

## Property details

### v1.ComplexBucket.axis

Axis to use for this bucket. Only applicable for "combo" charts.

**Signature:**

```typescript
axis?: "primary" | "secondary";
```

### v1.ComplexBucket.display_as

Chart type to use for this bucket. Only applicable for "repeater" charts.

**Signature:**

```typescript
display_as?: "line" | "column" | "metric";
```

### v1.ComplexBucket.field

A field name in the report.

**Signature:**

```typescript
field?: string;
```

### v1.ComplexBucket.format

Metric value default format

**Signature:**

```typescript
format?: string;
```

### v1.ComplexBucket.totals

A list of totals in this bucket.

**Signature:**

```typescript
totals?: Total[];
```
