> ## Documentation Index
> Fetch the complete documentation index at: https://anvil.servicetitan.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Combo Bar and Line Charts

> Use combo charts only when bar and line series share the same x-axis and their relationship adds meaning.

## Rules on the usage of Combo chart/Bar and Line chart

> [!NOTE]
>
> Use combo charts only when bar and line series share the same x-axis and their
> relationship adds meaning.

## Line usage

* Solid line: real data
* Dashed line: target or goal
* Dashed line: threshold or floor
* Dashed line: benchmark or percentile

Target, threshold, and benchmark lines share the same dashed style. Label each dashed line directly, for example "Target" or "Benchmark", so readers can tell them apart.

![Solid line for real data; dashed lines for target, threshold, and benchmark](https://mintcdn.com/servicetitan/nFmj-_kXjJSxwFLE/images/docs/web/data-visualization/combo-charts/line-usage-light.svg?fit=max\&auto=format\&n=nFmj-_kXjJSxwFLE\&q=85\&s=4e053327c668d4609ff8ce1d91778cbd)

## Real life example

Dashboard combo chart: stacked bars by month plus a line.

![Stacked bars by month with a line series for new customers](https://mintcdn.com/servicetitan/nFmj-_kXjJSxwFLE/images/docs/web/data-visualization/combo-charts/real-example-light.svg?fit=max\&auto=format\&n=nFmj-_kXjJSxwFLE\&q=85\&s=feaeaade2e53a9f8480093b2b60fdcd4)

## How To Use

![Bars in default blue with a darker line that reads separately](https://mintcdn.com/servicetitan/nFmj-_kXjJSxwFLE/images/docs/web/data-visualization/combo-charts/do-separate-light.svg?fit=max\&auto=format\&n=nFmj-_kXjJSxwFLE\&q=85\&s=25d4def811dc01b013885bec659f99d8)

**Do**
keep lines and bars visually separate at a glance.

![Line drawn in the same color as the bars so the series blend together](https://mintcdn.com/servicetitan/nFmj-_kXjJSxwFLE/images/docs/web/data-visualization/combo-charts/dont-separate-light.svg?fit=max\&auto=format\&n=nFmj-_kXjJSxwFLE\&q=85\&s=e33f91c5a99fa2989f8211927974f8dc)

**Don’t**
let the line blend into the bars so the two series cannot be told apart at a glance.

![Solid line for actual values and a dashed line for a target](https://mintcdn.com/servicetitan/nFmj-_kXjJSxwFLE/images/docs/web/data-visualization/combo-charts/do-two-lines-light.svg?fit=max\&auto=format\&n=nFmj-_kXjJSxwFLE\&q=85\&s=3195018bf007d9e66b9998f3e42666b1)

**Do**
use two lines only when they mean two different things.

![Two similar solid lines that do not represent different meanings](https://mintcdn.com/servicetitan/nFmj-_kXjJSxwFLE/images/docs/web/data-visualization/combo-charts/dont-two-lines-light.svg?fit=max\&auto=format\&n=nFmj-_kXjJSxwFLE\&q=85\&s=1e5d2fcd4c751d6ec5895a3ba6b8ec06)

**Don’t**
add a second line when both lines represent the same thing.

![Combo chart limited to three series](https://mintcdn.com/servicetitan/nFmj-_kXjJSxwFLE/images/docs/web/data-visualization/combo-charts/do-limit-light.svg?fit=max\&auto=format\&n=nFmj-_kXjJSxwFLE\&q=85\&s=db00d9a418982088cc2d1018df2d47db)

**Do**
limit the chart to 2–3 series maximum.

![Combo chart crowded with more than three series](https://mintcdn.com/servicetitan/nFmj-_kXjJSxwFLE/images/docs/web/data-visualization/combo-charts/dont-limit-light.svg?fit=max\&auto=format\&n=nFmj-_kXjJSxwFLE\&q=85\&s=235e9d209768fa2f4280b95611d63df5)

**Don’t**
add more than 2–3 series.

![Line points aligned to the center of each bar](https://mintcdn.com/servicetitan/nFmj-_kXjJSxwFLE/images/docs/web/data-visualization/combo-charts/do-anchor-light.svg?fit=max\&auto=format\&n=nFmj-_kXjJSxwFLE\&q=85\&s=341ab5cba4777804cf419aa184807704)

**Do**
anchor lines to bar centers.

![Line extending past the first and last bars to the card edges](https://mintcdn.com/servicetitan/nFmj-_kXjJSxwFLE/images/docs/web/data-visualization/combo-charts/dont-anchor-light.svg?fit=max\&auto=format\&n=nFmj-_kXjJSxwFLE\&q=85\&s=92252edb6b64c94406164aadc28c13b6)

**Don’t**
extend lines to the card edges.

> [card] [Questions? Challenges?](https://servicetitan.enterprise.slack.com/archives/C0881LFTGDR)
>
> Contact the Visual Design team on the #ask-vizd channel


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.