We just wrapped up AG Studio Launch Week See what we shipped

Line and Area Charts

Line and Area Charts show how values change across an ordered set of categories, usually time.

Line Chart Copy Link

Line Chart connects data points with a line to show a trend over time or across a continuous dimension. Use it when the shape of change matters more than any single value.

The example below tracks monthly active users on three platforms across a year. Each platform is a field in the Y Axis slot.

Area Charts Copy Link

There are three Area Charts, each filling the area beneath a line:

Area Chart fills the area beneath a line to emphasise the magnitude of a trend over time.

Stacked Area Chart stacks filled areas to show cumulative trends and part-to-whole relationships over time.

100% Stacked Area Chart normalises stacked areas to 100% to show proportional trends over time.

The example below plots the same monthly website sessions from three marketing channels in all three variants.

Setup Copy Link

Line and Area Charts take the same slots.

SlotRequiredAcceptsWhat it does
X AxisYesOne categoryPlaces one point along the axis for each value of the field, such as each month.
Y AxisYesOne or more numeric fieldsSets the height of each point. Each field adds a line or area in its own colour.
LegendNoOne categoryGives each value of this field its own line or area.
TooltipNoAny fieldsShows the fields in the tooltip without plotting them.

A date field on the X Axis is grouped by a period, such as month or year. To change the period, see Dates and Times.

Legend Copy Link

A Legend splits each numeric field into a series for each value of a category. Use it when the values to compare are rows in the data, such as one row per region, rather than separate fields.

The example below has Region in the Legend slot of every chart. The left column has one field, Revenue, in the Y Axis slot, so each chart has one series per region. The right column adds Profit, so each region has a series for each field. Each row is one variant: Line, Area, Stacked Area and 100% Stacked Area. In the stacked variants, every series stacks into one total.

See Group By Legend for how the series are named.

Tooltip Copy Link

Fields in the Tooltip slot appear in the tooltip when you hover over a point, but are not plotted. Use the slot for context that would clutter the chart, such as the number of orders behind each revenue figure.

In the example below, the line shows monthly online revenue, and the Setup tab is open beside the chart. Hover over a point to see its Orders and Returns, which are in the Tooltip slot.

Format Copy Link

Line and Area Charts have these settings of their own on the Format tab, beside the title, axis and appearance settings every chart has. Your developer can change the defaults shown.

SettingWhereDefaultWhat it does
LegendElementsOffShows the legend. Position places it around the chart, at the bottom by default.
MarkersElementsOn for Line Charts, off for Area ChartsDraws a marker at each point. Shape and Size change the marker.
Data LabelsElementsOffShows the value of each point. Font and Color change the label text.
Connection StyleLine Chart or Area Chart sectionLinearSets how the line joins its points: Linear, Smooth or Step.

The example below shows each setting turned on in its own chart, over the same data. Markers are shown on an Area Chart, where they are off by default.