# Line, column and area (Mixed example)

> WestCoast Charts 1.1.5, release, public Core release, on npm. HTML: https://westcoast-charts.com/gallery/mixed/line-column-area/ · Index for agents: https://westcoast-charts.com/llms.txt

Three series types combined.

- Chart type: `line` (Line)
- Collection: Mixed · Mixed / combo
- Raw configuration: https://westcoast-charts.com/gallery-src/mixed/line-column-area.js
- Standalone example: https://westcoast-charts.com/embed/samples/wcc/gallery/mixed/line-column-area.html

## Setup

```js
import WestCoastCharts from 'west-coast-charts'
```

## Options

```js
const options = {
  chart: {
    height: 380,
    fontFamily: "Inter, Geist, \"IBM Plex Sans\", system-ui, sans-serif",
    type: "line",
    stacked: false,
    toolbar: {
      show: false
    }
  },
  series: [
    {
      name: "Visitors",
      type: "area",
      data: [427, 467, 437, 429, 584, 519, 371, 428, 415, 573, 538]
    },
    {
      name: "Sign-ups",
      type: "column",
      data: [53, 107, 112, 104, 112, 74, 41, 77, 41, 81, 106]
    },
    {
      name: "Trend",
      type: "line",
      data: [86, 82, 86, 85, 82, 80, 82, 83, 86, 87, 85]
    }
  ],
  stroke: {
    width: [0, 0, 3],
    curve: "smooth"
  },
  fill: {
    opacity: [0.25, 0.9, 1]
  },
  plotOptions: {
    bar: {
      columnWidth: "45%"
    }
  },
  xaxis: {
    categories: ["Jan 1", "Jan 8", "Jan 15", "Jan 22", "Jan 29", "Feb 5", "Feb 12", "Feb 19", "Feb 26", "Mar 5", "Mar 12"]
  },
  title: {
    text: "Funnel top, middle and trend"
  },
  theme: {
    mode: "light",
    preset: "coastal"
  }
}

const chart = new WestCoastCharts(document.querySelector('#chart'), options)
await chart.render()
```

## 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 mixed-line-column-area.json --out mixed-line-column-area.svg --with-table` (save the options above as JSON first)
