Add a legend, gridlines, and other markings in Pages on iPhone
There are several types of chart markings and axis labels you can add to your charts. You can modify their look to emphasize your data, and you can style the chart title and value label text differently to make it stand out from the other text.
Add a legend
Tap the chart, then tap .
Tap Chart, then turn on Legend.
If you don’t see Legend, swipe up from the bottom of the controls.
Tap the legend to select it, then do any of the following:
Change the style of the legend text: Tap Style below the Legend button, then adjust text and fill attributes.
Resize the legend: Drag the green dots around the legend.
Reposition the legend: Drag the legend to where you want it.
Tip: To position the legend more precisely, select it, then press the arrow keys on the keyboard. To move the legend in larger increments, press and hold the shift key while you press the arrow keys.
Modify axis lines and gridlines
Axis lines define the edge of the chart, sometimes also marking the zero value, like an inner border. Evenly spaced gridlines cross the chart and provide a visual reference for large increments in the values. You can specify whether to show chart axis lines and gridlines and modify their look.
Tap the chart, then tap .
Tap Style, tap Gridlines, then do any of the following:
Set the axis line type: Tap Line Type, then select a solid, dashed, or dotted line type.
If you’re working with a radar chart, you can also tap Radial Lines (below Category) and select a line type.
Set the axis line color: Tap the color well, then choose a color.
Set the axis line width: Type a value, or tap the – or + button.
Set the number and look of major gridlines: Tap Major Gridlines for the Value or Category axis. Turn on Gridlines. Next to Major Steps, type a value or tap the – or + button to adjust. You can also define the line type, color, and width and add a shadow.
Set the number and look of minor gridlines: Tap Minor Gridlines for the Value or Category axis. Turn on Gridlines. Next to Minor Steps, type a value or tap the – or + button to adjust. You can also define the line type, color, and width and add a shadow.
Show tick marks: Tap Tick Marks, then choose whether tick marks are inside, outside, or centered.
Extend radial lines (for radar charts): Turn on Extend Radial Lines.
Note: These options vary depending on the type of chart and data.
To remove gridlines, tap , then turn off Major and/or Minor Gridlines for the Value or Category axis.
Show or remove reference lines
You can add reference lines to a chart to mark the average, median, minimum, and maximum values. Reference lines make a chart easier to interpret at a glance and can help you compare the values in the chart to a benchmark value.
All chart types can have reference lines except stacked charts, 2-axis charts, 3D charts, pie charts, donut charts, and radar charts. A chart can have up to five reference lines.
Tap the chart.
Tap , then tap Chart.
Tap Add Reference Line, then tap any of the following:
Average: A line that runs through the mean value of the data
Median: A line that runs through the middle value of the data
Minimum: A line that runs through the lowest value of the data
Maximum: A line that runs through the highest value of the data
Custom: A line that runs through the value you enter in the Custom section
To clarify what the reference line represents, tap to turn on Show Name and Show Value.
To change the settings for a reference line, tap the name of the line, then use the controls in the panel.
You can hide, show, and change the line’s name or value, change its style and color, and add a shadow.
To remove a reference line, tap the chart, tap , tap Reference Lines, tap the name of the reference line, then tap Remove Line.
Note: When you drag the slider on an interactive chart to view different data sets, its reference lines move.
Show or remove error bars
Error bars give a general impression of your data’s accuracy. They’re represented as small marks whose length indicates the amount of uncertainty associated with a given data series (the data’s variability). You can add them to 2D line charts, area charts, bar and column charts, stacked bar and column charts, bubble charts, and scatter charts.
Tap the chart, tap , then tap Chart.
Tap Error Bars, then choose an option.
Use the controls to change the look of the error bars.
To remove error bars, tap Error Bars, then choose None.
Show or remove trendlines
Trendlines show you the overall direction (or trend) of your data. Trendlines appear in bar, line, scatter, bubble, column, and area charts.
Tap the chart, tap , then tap Chart.
Tap Trendlines, then choose the type of line you want to add.
Use the controls to change the look of the trendline.
To remove trendlines, tap the chart, tap , tap Chart, tap Trendlines, tap Type, then choose None.