# PercentBarStyle

Canonical page: https://www.adaptabletools.com/docs/reference/percentbarstyle

Style used to display Percent Bars in Special Column Style

```ts title="TypeScript"
export interface PercentBarStyle extends NumericStyledColumn 
```

###### Extends

[`NumericStyledColumn`](https://www.adaptabletools.com/docs/reference/numericstyledcolumn.md)

## Properties

| Property | Type | Description | Default |
| --- | --- | --- | --- |
| [BackColor](https://www.adaptabletools.com/docs/reference/percentbarstyle.md#backcolor) | `string` | Background colour for &#39;Percent Bar&#39;; leave unset if none required | undefined |
| [CellTextProperties](https://www.adaptabletools.com/docs/reference/percentbarstyle.md#celltextproperties) | [`BarStyleCellTextProperties`](https://www.adaptabletools.com/docs/reference/barstylecelltextproperties.md) | Optional cell-text overlay configuration (display tokens, position, layout, alignment). |   |
| [Font](https://www.adaptabletools.com/docs/reference/percentbarstyle.md#font) | [`CellFontStyle`](https://www.adaptabletools.com/docs/reference/cellfontstyle.md) | Optional cell-text styling applied to `CellText` overlay |   |
| [Origin](https://www.adaptabletools.com/docs/reference/percentbarstyle.md#origin) | `'Auto' \| 'Zero' \| 'Min' \| number` | Origin of the bar - i.e. the value the bar grows from Auto, Zero, Min or fixed number | &#39;Auto&#39; |
| [ToolTipText](https://www.adaptabletools.com/docs/reference/percentbarstyle.md#tooltiptext) | [`CellTextOptions`](https://www.adaptabletools.com/docs/reference/celltextoptions.md) | Whether Tooltip shows Cell Value, Percent Value, both or none |   |

## Property Details

### BackColor

Background colour for &#39;Percent Bar&#39;; leave unset if none required

```ts title="TypeScript"
BackColor?: string;
```

###### Default Value

undefined

###### Property Value

`string`

### CellTextProperties

Optional cell-text overlay configuration (display tokens, position, layout, alignment).

```ts title="TypeScript"
CellTextProperties?: BarStyleCellTextProperties;
```

###### Property Value

[`BarStyleCellTextProperties`](https://www.adaptabletools.com/docs/reference/barstylecelltextproperties.md)

### Font

Optional cell-text styling applied to `CellText` overlay

```ts title="TypeScript"
Font?: CellFontStyle;
```

###### Property Value

[`CellFontStyle`](https://www.adaptabletools.com/docs/reference/cellfontstyle.md)

### Origin

Origin of the bar - i.e. the value the bar grows from Auto, Zero, Min or fixed number

```ts title="TypeScript"
Origin?: 'Auto' | 'Zero' | 'Min' | number;
```

###### Default Value

&#39;Auto&#39;

###### Property Value

`'Auto' | 'Zero' | 'Min' | number`

### ToolTipText

Whether Tooltip shows Cell Value, Percent Value, both or none

```ts title="TypeScript"
ToolTipText?: CellTextOptions;
```

###### Property Value

[`CellTextOptions`](https://www.adaptabletools.com/docs/reference/celltextoptions.md)
