Line, Bar and Area
The workhorse chart. Every measure draws as a bar, a line or an area — you choose per measure, so one chart can hold bars for revenue and a line for the number of orders. Segments become the categories along the axis; a date segment turns it into a trend.
Build a combined bar and line chart
-
Click the mode picker at the top of the Explore sidebar.
-
Under Chart, choose Line, Bar and Area.
-
Click Add Measure and pick Price. It draws as bars.
-
Click Add Segment and pick Airline. Each airline gets a bar.
-
Click Add Measure again, pick Duration Minutes, and click its row to open it.
-
Choose Line.
-
Turn on Secondary Axis, so flight minutes get an axis of their own on the right instead of being dwarfed by the fares.
The right-hand scale appears at once. To hide its line and labels, turn off Axis under Secondary Measures Axis in the chart settings below Filters.
For a trend, segment by a date instead — Departure At by Month, say — see Time grouping.
Options
Per measure — in the measure's row
| Option | Choices |
|---|---|
| Colour | Color by Segment, or one of nine hues in Normal, Highlighted or Lowlighted. A chart stacked by a property colours each layer by its value either way |
| Sub-type | Bar, Line or Area |
| Data Points (line and area) | Size None, Small, Normal, Large; shape (circle, square, triangle, triangle down, diamond); fill Full or Empty |
| Secondary Axis | Draws the measure against a second value axis on the opposite side |
| Values | Auto (the highest and the lowest value, plus the first and the last on a time axis), Always or Never, framed Unboxed or Box |
| Name, number format, click action | See Measures and Number format |
All of it is described in Per-measure style.
For the whole chart
| Option | Where | What it does |
|---|---|---|
| Add Stacking | Below the segments | Stacks one attribute's values inside each bar — see Stack vs. side-by-side |
| Stack Measures | Above Add Stacking, with two or more measures | Stacks the measures on top of each other instead of side by side |
| Show Measures Vertically / Horizontally | Chart settings below Filters | Columns or horizontal bars — see Orientation |
| Legend | Chart settings | See Legend |
| Segmentation Axis, Measures Axis, Secondary Measures Axis | Chart settings | Axis line, name, values, gridlines, range, spacing, number format, label angle — see Axis configuration |
| Sort | An opened segment or stacking row | The order of the categories, or of the stacked layers — see Sort order per axis |
| Value Colors | An opened segmentation | Pin a colour to a value, when the measure is set to Color by Segment or the chart is stacked — see Value Colors |
| Top or Bottom | Below the segments | Keep only the top or bottom categories — see Top / Bottom N |
| Animate By… | Below the slots | Play the chart through time or a category — see Timeline |
Each sub-type stacks within itself — bars with bars, areas with areas — so a stacked bar measure and an overlaid line read cleanly together.
Tips
- Bars for amounts, a line for a rate or a count on the Secondary Axis — the classic combination.
- With long category names, choose Show Measures Horizontally.
- Turn Values to Always on a small chart that goes into a report, so nobody has to hover.
- A category chart draws up to 10,000 categories; past that it asks you to narrow it.
Pin it to a dashboard
Click Add to Dashboard in the Explore toolbar and pick a dashboard, or create one. Every per-measure style and chart setting travels with the card. See Save to a dashboard.