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

# ILabelConfig

- 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/comparison.ts

Configuration options for labeling conditions.

**Signature:**

```typescript
export interface ILabelConfig 
```

## Properties

| Property | Modifiers | Type | Description |
| --- | --- | --- | --- |
| [equals?](https://www.gooddata.ai/docs/gooddata-ui/latest/api-reference/sdk-ui-charts/sdk-ui-charts.ilabelconfig/index.md#ilabelconfigequals) |  | string | _(Optional)_ This property specify the label of the equals comparison value <br/> Primary is equals Secondary <table border="1"> <tr><td>Calculation type | Default label |
| change | No change |
| difference | No difference |
| ratio | (Not applicable) |
| [isConditional?](https://www.gooddata.ai/docs/gooddata-ui/latest/api-reference/sdk-ui-charts/sdk-ui-charts.ilabelconfig/index.md#ilabelconfigisconditional) |  | boolean | _(Optional)_ This property specifies whether to use the unconditional value for all conditions or separate values for each condition. |
| [negative?](https://www.gooddata.ai/docs/gooddata-ui/latest/api-reference/sdk-ui-charts/sdk-ui-charts.ilabelconfig/index.md#ilabelconfignegative) |  | string | _(Optional)_ This property specify the label of the negative comparison <br/> Primary is less than Secondary |
| [positive?](https://www.gooddata.ai/docs/gooddata-ui/latest/api-reference/sdk-ui-charts/sdk-ui-charts.ilabelconfig/index.md#ilabelconfigpositive) |  | string | _(Optional)_ This property specify the label of the positive comparison value <br/> Primary is larger than Secondary |
| [unconditionalValue?](https://www.gooddata.ai/docs/gooddata-ui/latest/api-reference/sdk-ui-charts/sdk-ui-charts.ilabelconfig/index.md#ilabelconfigunconditionalvalue) |  | string | _(Optional)_ Specifies the label to be used for the comparison value. |

## Property details

### ILabelConfig.equals

This property specify the label of the equals comparison value <br/> Primary is equals Secondary

<table border="1">  <tr><td>Calculation type</td><td>Default label</td></tr>  <tr><td>change</td><td>No change</td></tr>  <tr><td>difference</td><td>No difference</td></tr>  <tr><td>ratio</td><td>(Not applicable)</td></tr> </table>

**Signature:**

```typescript
equals?: string;
```

### ILabelConfig.isConditional

This property specifies whether to use the unconditional value for all conditions or separate values for each condition.

**Signature:**

```typescript
isConditional?: boolean;
```

#### Default Value

false

### ILabelConfig.negative

This property specify the label of the negative comparison <br/> Primary is less than Secondary

**Signature:**

```typescript
negative?: string;
```

#### Default Value

based on the calculation type

<table border="1">  <tr><td>Calculation type</td><td>Default label</td></tr>  <tr><td>change</td><td>Decrease</td></tr>  <tr><td>difference</td><td>Decrease</td></tr>  <tr><td>ratio</td><td>(Not applicable)</td></tr> </table>

### ILabelConfig.positive

This property specify the label of the positive comparison value <br/> Primary is larger than Secondary

**Signature:**

```typescript
positive?: string;
```

#### Default Value

based on the calculation type

<table border="1">  <tr><td>Calculation type</td><td>Default label</td></tr>  <tr><td>change</td><td>Increase</td></tr>  <tr><td>difference</td><td>Increase</td></tr>  <tr><td>ratio</td><td>(Not applicable)</td></tr> </table>

### ILabelConfig.unconditionalValue

Specifies the label to be used for the comparison value.

**Signature:**

```typescript
unconditionalValue?: string;
```

#### Remarks

The default value is based on the calculation type: <table>  <tr><th width="150">Calculation Type</th><th width="350">Default value</th></tr>  <tr><td>change</td><td>Change</td></tr>  <tr><td>ratio</td><td>of</td></tr>  <tr><td>difference</td><td>Difference</td></tr>  <tr><td>change\_difference</td><td>Change</td></tr> </table>
