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

# IAxisConfig

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

**Signature:**

```typescript
export interface IAxisConfig 
```

## Properties

| Property | Modifiers | Type | Description |
| --- | --- | --- | --- |
| [format?](https://www.gooddata.ai/docs/gooddata-ui/latest/api-reference/sdk-ui-charts/sdk-ui-charts.iaxisconfig/index.md#iaxisconfigformat) |  | string | _(Optional)_ Customize whether to use format from measure or the default one |
| [labelsEnabled?](https://www.gooddata.ai/docs/gooddata-ui/latest/api-reference/sdk-ui-charts/sdk-ui-charts.iaxisconfig/index.md#iaxisconfiglabelsenabled) |  | boolean | _(Optional)_ Toggle visibility of labels describing the different axis tics. |
| [max?](https://www.gooddata.ai/docs/gooddata-ui/latest/api-reference/sdk-ui-charts/sdk-ui-charts.iaxisconfig/index.md#iaxisconfigmax) |  | string | _(Optional)_ For axis with numeric tics, this can influence the maximum value shown on the axis and in the chart itself. The min and max can be used to zoom-in or zoom-out the chart. |
| [measures?](https://www.gooddata.ai/docs/gooddata-ui/latest/api-reference/sdk-ui-charts/sdk-ui-charts.iaxisconfig/index.md#iaxisconfigmeasures) |  | [Identifier](https://www.gooddata.ai/docs/gooddata-ui/latest/api-reference/sdk-model/sdk-model.identifier/index.md)[] | _(Optional)_ Customize measures which are bound to this axis. This setting comes into play in dual-axis charts where you must specify which measures are on the primary and which on the secondary axis. |
| [min?](https://www.gooddata.ai/docs/gooddata-ui/latest/api-reference/sdk-ui-charts/sdk-ui-charts.iaxisconfig/index.md#iaxisconfigmin) |  | string | _(Optional)_ Fox axis with numeric tics, this can influence the minimum value shown on the axis and in the chart itself. The min and max can be used to zoom-in or zoom-out the chart. |
| [name?](https://www.gooddata.ai/docs/gooddata-ui/latest/api-reference/sdk-ui-charts/sdk-ui-charts.iaxisconfig/index.md#iaxisconfigname) |  | [IAxisNameConfig](https://www.gooddata.ai/docs/gooddata-ui/latest/api-reference/sdk-ui-charts/sdk-ui-charts.iaxisnameconfig/index.md) | _(Optional)_ Customize whether and how the axis name should appear. |
| [rotation?](https://www.gooddata.ai/docs/gooddata-ui/latest/api-reference/sdk-ui-charts/sdk-ui-charts.iaxisconfig/index.md#iaxisconfigrotation) |  | string | _(Optional)_ If labels are enabled, rotation lets you customize how they should be rotated. Specify this as a number of degrees. Positive number means clockwise rotation, negative is counter-clockwise rotation. |
| [visible?](https://www.gooddata.ai/docs/gooddata-ui/latest/api-reference/sdk-ui-charts/sdk-ui-charts.iaxisconfig/index.md#iaxisconfigvisible) |  | boolean | _(Optional)_ Toggle axis visilibity. |

## Property details

### IAxisConfig.format

Customize whether to use format from measure or the default one

**Signature:**

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

### IAxisConfig.labelsEnabled

Toggle visibility of labels describing the different axis tics.

**Signature:**

```typescript
labelsEnabled?: boolean;
```

### IAxisConfig.max

For axis with numeric tics, this can influence the maximum value shown on the axis and in the chart itself.

The min and max can be used to zoom-in or zoom-out the chart.

**Signature:**

```typescript
max?: string;
```

### IAxisConfig.measures

Customize measures which are bound to this axis. This setting comes into play in dual-axis charts where you must specify which measures are on the primary and which on the secondary axis.

**Signature:**

```typescript
measures?: Identifier[];
```

### IAxisConfig.min

Fox axis with numeric tics, this can influence the minimum value shown on the axis and in the chart itself.

The min and max can be used to zoom-in or zoom-out the chart.

**Signature:**

```typescript
min?: string;
```

### IAxisConfig.name

Customize whether and how the axis name should appear.

**Signature:**

```typescript
name?: IAxisNameConfig;
```

### IAxisConfig.rotation

If labels are enabled, rotation lets you customize how they should be rotated. Specify this as a number of degrees. Positive number means clockwise rotation, negative is counter-clockwise rotation.

**Signature:**

```typescript
rotation?: string;
```

### IAxisConfig.visible

Toggle axis visilibity.

**Signature:**

```typescript
visible?: boolean;
```
