A chart is a graphic that displays numeric data in a compact, visual layout and that reveals essential data relationships. You can add a chart to a form/report in Access to visualize your data and make informed decisions. You can bind the chart to a table or query and customize the chart with a variety of properties. You can even make the chart interactive. For example, if you select a different category field on a form or report filter, you see different chart values. In Access, you can create column, line, bar, area, radar, pie, combo, arc, box and whisker, bubble, doughnut, funnel, scatter, waterfall, and word cloud charts.
Combo chart: a clustered column chart of yearly home sales and line chart of monthly average price
What do you want to do? Create a chart — Beginning steps — Data settings — Format settings — Important considerationsLink a chart to the data on a form or report |
Choose the best chart type for your needs — Column (with step-by-step video) — Bar (with step-by-step video) — Line (with step-by-step video) — Area — Radar — Pie (with step-by-step video) — Combo (with step-by-step video) — Arc — Box and Whisker — Bubble — Doughnut — Funnel — Scatter — Waterfall — Word CloudBest Practices for creating Access charts |
Create a chart
The essential steps to creating a chart in Access are:
-
Binding the chart to a data source (such as a table or query).
-
Mapping the fields to the chart dimensions, which are the main elements of a chart. The Axis (Category), Legend (Series), and Values (Y Axis) dimensions are laid out in different ways depending on the type of chart.
-
Adding additional chart elements (such as data labels and trendlines) to enhance and clarify the chart.
-
Formatting the chart and its various elements. You can also format individual data series, which are a set of values in a column, bar, line, or pie slice that correspond to the chart legend.
Beginning steps
-
Create or open a form or report in Design view. To create, select Create > Form Design or Report Design. To open, right click the form or report name in the navigation bar, and then select Form Design or Report Design.
-
Select Design > Insert Modern Chart , select a chart type, and then drop it on the form or report. For more information, see Choose the best chart type for your needs.
The Chart Settings pane opens and a sample diagram is displayed in the Form Design grid.
Use control handles to resize a chart or reposition the chart by dragging it
Use the Chart Settings pane to configure the chart's data source, select the Axis (Category), Legend (Series) and Values (Y Axis) fields, and format the chart.
Data settings
-
Select the Data tab of the Chart Settings pane.
-
Select Tables, Queries, or Both, and then select a data source from the drop-down list. Pass-through queries are supported.
By default, the sample diagram is replaced with a live chart that uses the first two fields in the data source as the Axis (Category) and Values (Y axis) dimensions. Often the first column in a table is a primary key, and you may not want to use that as a dimension in a chart. The chart property, Preview Live Data, controls whether you see live data.
Tip if your data source has many fields, you may find it easier to create a query that limits the fields to just the ones you want so you can simplify the field selections.
-
In the Axis (Category), Legend (Series), and Values (Y Axis) sections, select at least two fields to create a chart. Do the following:
-
Axis (Category) Under this section, select one or more fields.
This chart dimension shows horizontal values in an XY chart layout in a clustered column and line chart, and vertical values in a clustered bar chart.
Clustered column chart axis
Line chart axis
Clustered bar chart axis
The default aggregation of a date field is Months. To change it, click the down arrow and select from the list, including None to remove the aggregation.
When you select more than one Axis (Category) field, it creates a hierarchy of tick marks along the dimension line (such as States within a Division).
-
Legend (Series) Under this section, select a field.
This chart dimension pivots field values into column headings. For example, values in a State field are transposed as column headings and each becomes a separate data series.
-
Values (Y axis) Under this section, select one or more fields.
This chart dimension shows vertical values in an XY chart layout in a clustered column and line chart, and horizontal values in a clustered bar chart.
Clustered column chart values
Line chart values
Clustered bar chart values
Each field you select corresponds to a data series. When you select two or more Values (Y axis) fields, you can’t select a Legend (Series) field. The Values (Y axis) fields become the legend by default.
By default, each selected field is aggregated. For numeric and currency fields, the default aggregation is Sum. For all other fields, the default aggregation is Count. To change the aggregation, click the down-arrow, and select from the list, including None to remove the aggregation.
Note Text fields must use the Count aggregation. All selected Values (Y axis) fields must either be aggregated or nonaggregated.
-
Notes Different field combinations are possible, but consider the following:
-
At a minimum, select at least one Axis (Category) and one Values (Y axis) field.
-
You can only select one Legend (Series) field, but you can select more than one field from the Values (Y axis) or Axis (Category) sections.
-
If you select one Axis (Category) field and one Legend (Series) field, you can only select one Values (Y axis) field. To add an extra Values (Y axis) field, clear either the Axis (Category) or Legend (Series) field.
-
If you select a Legend (Series) field, select only one Values (Y axis) field and it must be aggregated.
Format settings
-
Select the Format tab of the Chart Settings pane.
-
Select a Data Series from the drop down list.
Each data series has a unique set of properties
-
For each data series, set one or more of the following properties:
-
Display Name The name of the Data Series in the chart legend.
-
Chart Type This property only displays for a Combo chart. Use this property to add different chart types to the Combo Chart, one for each data series. The default Combo Chart combination is Clustered Column for the first data series and Line for the second data series. You can set a different chart type for each data series. If the chart has only a single data series, it is Clustered Column.
Note Avoid confusing this property with the Chart Type property in the chart property sheet.
-
Line Weight Select a line weight in increments of .25 points. This property only displays for a Line chart.
-
Dash Type Select a line type of Solid, Dash, Dot, Dash Dot, or Dash Dot Dot. This property only displays for a Line chart.
-
Plot Series On Select a primary or secondary axis to plot a data series. Use this option when chart data series vary widely or are different measures (such as price and volume). A Combo chart of clustered column and line that also has axis titles often works best.
-
Missing Data Policy Select one of the following: Plot As Zero to represent missing data as 0, Do Not Plot to ignore missing data, and Plot as Interpolated to calculate new data that fills in missing data. This property only displays for a Line chart.
-
Series Fill Color Select a color to fill the data series, such as a column or bar.
-
Series Border Color Select a color to add an outline to the data series, such as a column or bar.
-
Display Data Label Select this option to display a data label that clarifies the data series.
-
Display Trendlines Select this option to display a trendline, which is a way to show data tendencies.
-
Trendline Options Select one of the following trendlines:
-
Linear This is a best-fit, straight line for data sets that increase or decrease at a steady rate.
-
Exponential This is a curved line of positive numbers rising or falling at constantly increasing rates.
-
Logarithmic This is a best-fit, curved line of rate-of-change data that quickly increases or decreases, and then levels out.
-
Polynomial This is best used when your data fluctuates, such as gains and losses over a large data set.
-
Power This is a curved line of positive numbers that increase at a specific rate, such as acceleration at 1-second intervals.
-
Moving Average This is a way to even out fluctuations in data and show a pattern or trend more clearly.
-
-
Trendline name Enter a name that is more meaningful and that displays on the chart legend.
-
Marker Shape Select a shape as a line marker. This property only displays for a Line chart.
-
Important considerations
Aggregation Although the data source often begins as a set of nonaggregated data, as you create a chart, by default Access creates aggregate calculations, such as Sum, Count, and Average, on fields to help simplify the number of data series. However, you can remove the default aggregate calculations by selecting None in the drop-down list. This process of selecting fields and choosing aggregations creates a SELECT, SQL GROUP BY, or TRANSFORM statement that is stored in the Transformed Row Source property. To see the statement, right-click the property and select Zoom. The following is a summary of the three main possibilities:
-
If you select Axis (Category) and Values (Y Axis) fields but remove the aggregations, Access converts the row source to a simpler SELECT statement. For example:
SELECT [Segment], [Sales] FROM [Orders]
-
If you select Axis (Category) and Values (Y Axis) fields, Access converts the row source to a GROUP BY statement. For example:
SELECT [Segment], Sum([Sales]) AS [SumOfSales FROM [Orders] GROUP BY [Segment] ORDER BY [Segment]
-
If you also select a Legend (Series) field, Access converts the row source to a crosstab query (using the TRANSFORM SQL query statement). The field values returned by the PIVOT clause of the TRANSFORM SQL query statement are used as column headings, such as a State field, which could create many headings -- each a separate data series. For example:
TRANSFORM Sum([Sales]) AS [SumOfSales] SELECT [Segment] FROM [Orders] GROUP BY [Segment] ORDER BY [Segment] PIVOT [State]
For more information, about data aggregation, see Make summary data easier to read by using a crosstab query.
Properties To further customize the chart, select Design > Property Sheet > <Chart name>, which displays all the chart-related properties. Press F1 on each property to get help on that property. When you modify a property in the Property sheet, the corresponding value changes in the Chart Settings pane and vice versa.
There are many Format properties unique to charts. you can use these to format axes values, titles, and the chart. There are also several Data properties unique to charts, including Preview Live Data, Transformed Row Source; Chart Axis, Chart Legend, and Chart Value.
Adding a secondary vertical axis When you create a chart, there is usually a primary vertical axis, but you can add a secondary vertical axis when data varies widely or to plot different measures, such as price and volume. The scale of the secondary vertical axis shows the values for its associated data series. To add a secondary vertical axis, use the Plot Series On property on the Format tab of the Chart Settings pane.
Adding a trend line For numeric data, you may want to add a trend line to show data tendencies. You can use the Trend Line and Trend Line Name options on the Format tab of the Chart Settings pane.
Modify the chart To modify a chart, open the form or report in Design or Layout view, and then select the chart which opens the Chart Settings pane. To switch to a different chart type, select a different chart from the Chart Type property drop-down list. You can also change any single chart to a Combo chart by changing the Chart Type property on the property sheet (and not the Format tab of the Chart Settings pane).
Refresh source data To refresh chart data, switch to form or report view, select the chart, and then select Refresh All (or press F5).
Chart Settings If the Chart Settings pane is closed, make sure the chart is selected, and then select Design > Chart Settings.
Classic chart Avoid confusing the new chart , which is based on modern technology, with the classic chart , which is an ActiveX Control. However, you can still use the classic chart and even add it to a form or report that has the new chart.
Link a chart to the data on a form or report
To make a chart interact with the data on a form or report, bind the chart to the same data source as the form or report. Then set a matching field for the Link Child Fields and Link Master Fields data properties of the chart.
-
Create a form or report bound to a data source. For more information, see Create a form in Access or Create a simple report.
-
Add a chart to the same form or report. For more information, see Create a chart.
-
Make the Record Source property for the chart the same as the Record Source property for the form or report.
-
Click the chart, open the chart Property Sheet by pressing F4, and then click the Data tab.
-
Click the Build button in either the Link Child Fields or Link Master Fields property box.
The Subform Field Linker dialog box appears.
-
In the Link Master Fields and Link Child Fields , select the field that you want to link, and then click OK. It’s often best to use a category field, such as a State, Segment, or Region.
If you are not sure which field to use, click Suggest for recommendations.
-
Save the form or report, switch to Form or Report view, and then verify that the chart works as expected. For example, filter the form or report by a category field, such as State, Segment or Region, to see different results in the chart. For more information, see Apply a filter to view select records in an Access database.
Choose the best chart type for your needs
The following sections provide background information about charts and help you decide which chart to use.
What is a chart?
A chart is a graphic that displays numeric data in a compact, visual layout and that reveals essential data relationships. A chart has many elements. Some of these elements are displayed by default, others can be added as needed. You can change the display of the chart elements by resizing them or by changing the format. You can also remove chart elements that you do not want to display. The following diagram shows the basic chart elements.
What charts can you create?
In Access, you can create column, line, bar, pie, and combo charts. This section explains each chart and its best-use scenarios.
Column
In a column chart, categories display along the horizontal axis (Axis (Category) property) and values display along the vertical axis (Values (Y axis) property). Typically, you choose one field for the Axis (Category) dimension and one or more fields for a Values (Y axis) dimension, each of which becomes a Data Series. If you choose more than one field for an Values (Y axis) dimension, consider plotting along a separate Axis.
Access supports three types of column charts.
Chart |
Description |
|
|
Clustered Column |
Uses vertical columns to compare values across horizontal categories. Often used for a range of values (item counts), scales (survey ratings), and names (places or people). |
|
Stacked Column |
Similar to a clustered column chart but shows two or more data series in each column. Often used to show the relationship of the data series to the whole. |
|
100% Stacked Column |
Similar to a stacked column chart, but the column values add up to 100%. Often used to compare the percentages that each data series contributes to the whole. |
Line
In a line chart, categories are distributed evenly along the horizontal axis (Axis (Category) property) and values are distributed evenly along the vertical axis (Values (Y axis) property). Typically, you choose one field for the Axis (Category) dimension and one or more fields for a Values (Y axis) dimension, each of which becomes a Data Series. If you choose more than one field for an Values (Y axis) dimension, consider plotting along a separate Axis.
Access supports three types of line charts.
Chart |
Description |
|
|
Line |
Displays continuous, evenly-distributed data along both axes to compare values over time. Often used to show trends at equal intervals, such as months, quarters, or fiscal years and to compare two or more data series. |
|
Stacked Line |
Similar to a line chart but shows two or more data series in each line. Often used to compare related trends. |
|
100% Stacked Line |
Similar to a stacked line chart but shows trends as a percentage over time. Often used to compare related trends to the whole of 100%. |
Note On the Format tab in the Chart Settings pane, the following properties are unique to Line charts: Line Weight, Dash Type, Missing Data Policy, and Marker Shape.
Tip If there are many categories or the values are approximate, use a line chart without markers.
Bar
In a bar chart, categories are organized along the vertical axis (Values (Y axis) property) and values are organized along the horizontal axis (Axis (Category) property). Bar charts reverse the normal placement of the axis and values dimensions. Typically, you choose one field for the Axis (Category) dimension and one or more fields for a Values (Y axis) dimension, each of which becomes a Data Series. If you choose more than one field for an Values (Y axis) dimension, consider plotting along a separate Axis.
Access supports three types of bar charts.
Chart |
Description |
|
|
Clustered Bar |
Uses horizontal bars to compare values across vertical categories. Often used when axis labels are long, or the values are durations. |
|
Stacked Bar |
Similar to a clustered bar chart but shows two or more data series in each bar. Often used to show the relationship of the data series to the whole. |
|
100% Stacked Bar |
Similar to a stacked bar chart, but the bar values add up to 100%. Often used to compare the percentages that each data series contributes to the whole. |
Area
Data that's arranged in columns or rows on a worksheet can be plotted in an area chart. Area charts can be used to plot change over time and draw attention to the total value across a trend. By showing the sum of the plotted values, an area chart also shows the relationship of parts to a whole.
Access supports three types of area charts:
-
Area Shown in 2-D, area charts show the trend of values over time or other category data. As a rule, consider using a line chart instead of a non-stacked area chart, because data from one series can be hidden behind data from another series.
-
Stacked area Stacked area charts show the trend of the contribution of each value over time or other category data in 2-D format.
-
100% stacked area 100% stacked area charts show the trend of the percentage that each value contributes over time or other category data.
Pie
In a Pie chart, categories show as pie slices (Axis (Category) property). Data values (Values (Y axis) property) are summed as a percentage to a whole shown as the pie circle. Choose only one field for the Axis (Category) dimension and only one field for the Values (Y axis) dimension. Do not use the Legend (Series) field as the Axis (Category) field becomes the legend by default. On the Format tab in the Chart Settings pane, there is only one Data Series and only one property, Display Data Label. The colors used in the chart legend are set by default and can’t be changed.
Access supports one type of pie chart.
Chart |
Description |
|
|
Pie |
Shows the proportion of categories as a percentage to a whole. Best used for one data series of all positive values and less than ten categories. |
Doughnut
Data that's arranged in columns or rows only on a worksheet can be plotted in a doughnut chart. Like a pie chart, a doughnut chart shows the relationship of parts to a whole, but it can contain more than one data series.
Access supports one type of doughnut chart:
-
Doughnut Doughnut charts show data in rings, where each ring represents a data series. If percentages are shown in data labels, each ring will total 100%.
: Doughnut charts aren't easy to read. You may want to use a stacked column charts or Stacked bar chart instead.
Scatter
Data that's arranged in columns and rows on a worksheet can be plotted in a scatter (xy) chart. Place the x values in one row or column, and then enter the corresponding y values in the adjacent rows or columns.
A scatter chart has two value axes: a horizontal (x) and a vertical (y) value axis. It combines x and y values into single data points and shows them in irregular intervals, or clusters. Scatter charts are typically used for showing and comparing numeric values, like scientific, statistical, and engineering data.
Consider using a scatter chart when:
-
You want to change the scale of the horizontal axis.
-
You want to make that axis a logarithmic scale.
-
Values for horizontal axis are not evenly spaced.
-
There are many data points on the horizontal axis.
-
You want to adjust the independent axis scales of a scatter chart to reveal more information about data that includes pairs or grouped sets of values.
-
You want to show similarities between large sets of data instead of differences between data points.
-
You want to compare many data points without regard to time—the more data that you include in a scatter chart, the better the comparisons you can make.
Access supports one type of scatter chart:
-
Scatter This chart shows data points without connecting lines to compare pairs of values.
Bubble
Much like a scatter chart, a bubble chart adds a third column to specify the size of the bubbles it shows to represent the data points in the data series.
Access supports one type of bubble chart:
-
Bubble with 2-D effect Bubble chart 2-D compares sets of three values instead of two. Currently, Access only supports bubbles in 2-D format (without using a depth axis). The third value specifies the size of the bubble marker.
Radar
Data that's arranged in columns or rows on a worksheet can be plotted in a radar chart. Radar charts compare the aggregate values of several data series.
Access supports two types of radar charts:
-
Radar without markers Radar charts show changes in values relative to a center point. Currently, Access does not support radar with markers.
-
Filled radar In a filled radar chart, the area covered by a data series is filled with a color.
Box and Whisker
A box and whisker chart shows distribution of data into quartiles, highlighting the mean and outliers. The boxes may have lines extending vertically called “whiskers”. These lines indicate variability outside the upper and lower quartiles, and any point outside those lines or whiskers is considered an outlier. Use this chart type when there are multiple data sets which relate to each other in some way.
There are no chart sub-types for box and whisker charts. For more information, see Create a box and whisker chart.
Waterfall
A waterfall chart shows a running total of your financial data as values are added or subtracted. It's useful for understanding how an initial value is affected by a series of positive and negative values. The columns are color coded so you can quickly tell positive from negative numbers.
There are no chart sub-types for waterfall charts.
For more information, see Create a waterfall chart.
Word Cloud
A word cloud is an attention-grabbing visualization that rapidly conveys which words have the greatest frequency in your data source, which are often the most important terms.
A word cloud chart can easily convey your point, but as a data analysis tool, the word cloud has limitations. It's very difficult to accurately judge the relative value of a measure by using font sizes or font weights, and also certain words are simply larger than others thus skewing the result.
There are no chart sub-types for word cloud charts.
Arc
An Arc chart, sometimes called a half-doughnut chart, is similar to a doughnut chart. It shows values of data in slices.
The main advantage of a half-doughnut chart is that it allows you to display more data in a smaller space. It's also useful when you want to show a single data series as a percentage of a whole, and you want to compare multiple data points within that series.
A half-doughnut chart is best suited for displaying a single data series as a proportion of a whole, so it is important to choose data that can be presented in this way. If you have multiple data series, you can have multiple slices, but it may be better to use a different type of chart, such as a stacked bar chart or a multi-series line chart.
Combo
A combo chart combines two or more chart types, such as a clustered column chart and a line chart, to explain different but related data.
Access supports a combo chart in which you can combine any of the other single chart types and map each chart to a different data series. For example, map a clustered column chart to a data series of yearly home sales and a line chart to a data series of monthly average price by using the Data Series and Chart Type properties on the Format tab of the Chart Settings pane. You can also change any single chart to a Combo chart by changing the Chart Type property in the Data tab of the property sheet.
Chart |
Description |
|
|
Custom Combination |
Combines two different charts of your own choosing. |
Best Practices for creating Access charts
Use the following guidelines to help you create the chart that you want and that is easy to understand.
-
Have a game plan when you start. Look at various charts in books, reports, and the World Wide Web. Decide ahead of time which chart works best in your case and the look you want to achieve.
-
Decide the fields that you want to show relationships for in the chart. Consider creating a query that limits the results to just the fields you need for the chart.
-
As you build your chart, select dimensions one at a time. You can see the changes instantly and understand better how each field, dimension, and aggregation impacts the chart.
-
Aim for simplicity when making the chart. Keep the number of data series small so that the user is not overwhelmed by too many numbers, columns, bars, or slices that are difficult to read.
-
First get the data relationships and basic chart looking the way you want. Then, format the chart and each data series. Be judicious when, choosing colors, editing text, and adding other chart elements. Aim for a balance between white space and meaning.
-
Experiment with but minimize the use of gridlines, colors, special effects, labels, padding, and other formatting properties. Avoid bold text, dark colors, and excessive lines.
-
When you think you are done, re-examine the chart to see if you have made the chart as simple and as clean as possible. Remember that "less is more".