# Labels inside the bars (Gantt example)

> WestCoast Charts 1.1.5, release, public Core release, on npm. HTML: https://westcoast-charts.com/gallery/gantt/labels-inside/ · Index for agents: https://westcoast-charts.com/llms.txt

labels.position 'inside': names sit in the bar after the percent, with ink matched to the progress fill or the tint; bars too narrow for their name fall back outside. Right below: the default 'right' for comparison.

- Chart composition: see the embedded example (interactive charts)
- Collection: Gantt · Gantt
- Standalone example: https://westcoast-charts.com/embed/samples/wcc/gallery/premium/gantt/labels-inside.html

## Setup

```js
import WestCoastCharts from 'west-coast-charts'
import types from 'west-coast-charts/types'
import premium from 'west-coast-charts/premium'

WestCoastCharts.use(types).use(premium)
const WestCoastChartsPremium = premium
WestCoastCharts.setLicenseKey(LICENCE_KEY) // paid production licence; localhost evaluation needs no key
```

## Options

This example builds its charts with page controls and helpers, so there is no single options object. Read the standalone example for the source.

## Verify

- Text check (Library 1.1.5): load `west-coast-charts/agent/describe` and call `chart.describe({ format: "json" })` for the actual drawn state. The live reader is on this example’s HTML page.
- Command line (Public agent tools 0.2.3, tested with Library 1.1.5; available from the versioned GitHub release and npm, https://westcoast-charts.com/docs/cli/index.md): `wcc chart export gantt-labels-inside.json --out gantt-labels-inside.svg --with-table` (save the options above as JSON first)
