This content describes Snap 11. For Snap 10, the equivalent page will be in Snap 10 help

Next Topic

Book Contents

Book Index

Creating a combination chart to display respondent means as points and bars

You can create a combination chart to compare the means of groups of respondents in a satisfaction survey with the mean responses of all respondents.

This example uses the data provided in the snCrocodile survey supplied with Snap to display the average satisfaction for men and women at the Crocodile cafe against the average satisfaction of all respondents. To make it obvious which the reference values are, they will be displayed as bars, whereas the individual means for men and women will be displayed as points.

It assumes that you have created a derived variable (V1) that includes all respondents.

  1. Click Chart button to open the Analysis Definition dialog.
  2. Change the Chart style to Bar 2D.
  3. Set the Analysis field to Q6a~Q6e. This includes all the satisfaction questions (you can check what they are in the open Variables window).
  4. Set the Break field to V1: Q10. (V1 is your newly created derived variable, Q10 is the gender question.)
  5. Set the Calculate field to Means & Differences.
  6. Check the Transpose box under Options.

    RD: definition for combination chart

  7. Click [OK]. The chart window opens, displaying the defined bar chart.

  8. Open the chart designer by clicking Edit style (chart designer) button on the chart toolbar. The chart designer dialog appears.
  9. Highlight Chart in the left-hand pane if it not already selected. This is the section of the chart designer that defines the overall look of the chart.
  10. Ensure that the 2D radio button is selected and click Combination in the list of chart types.
  11. Click [Apply] to use these settings without closing the chart designer window.
  12. Select Series in the left-hand pane. This is the section of the chart designer dialog that deals with the display of the break and analysis data. This is where you specify that that in the combination chart, you wish to display the All information as bars, and the data split by gender as lines.
    • Click All in the Series box and check that Bar is selected in the Display As box.
    • Select Male in the Series box and select Line in the Display As box, then do the same for Female.

    • Click [Apply] to use these settings without closing the chart designer window.
    • The visible chart should change to show a combination bar and line chart.

    Combination chart with line points hidden

  13. Unfortunately, the bars are in front of the lines, making it difficult to see them. Select Series in the left-hand pan again, and click the Order tab.
  14. Select All in the list and click the [Down] button twice to move it to behind the Male and Female displays.
  15. Click [Apply]. The chart updates to place the lines in front of the bars.

    Combination chart with lines on top

Now you have created a combination chart, you want to mark the points that represent the data values for men and women, instead of just having them as points where the lines angle.

For simplicity, use a blue square to mark points for men, and a red circle to mark points for women.

  1. Click the Expand branch square icon by Series in the left-hand pane to show the list of the variable codes in the Break.
  2. Click the Expand branch square icon by Male to show the list of controls for displaying the information for the data for Male. Select Datapoints. This is where you specify how the datapoints for Male will be displayed.

  3. Click the Markers tab to define the markers. (You can specify the line colour in the Fill tab.)
    • Check the Show markers box.
    • Set the Style to Star.
    • Leave the Color, Size and Pen Width as they are.
    • Click [Apply] to update the chart.

  4. Display the Datapoints information for Female in the same way.
  5. Select the Markers tab, Show Markers and set the style to Filled Circle and click [OK] to close the chart designer.

Combination bar and line chart

If you wish, you can make further changes to your chart. You can change the colour and style of the line, got to the Lines tab for the selected series.

Chart designer showing lines tab for male datapoints

You could even remove the lines entirely, so that the point markers are floating on their own in front of the bars.

Note that changing the line colour doesn't change the marker colour.

You can change the colour and look of the bars by selecting Datapoints in the All series in the left-hand pane and selecting the Fill tab.

See Also

Chart elements

Setting up your own chart styles

Loading color styles

Saving a chart style

Chart Designer

Creating a Hi-Lo chart showing maximum and minimum values for a list of quantity variables

Using gap analysis to interpret importance with satisfaction

Displaying counts and percentage figures on a bar chart

Using the Chart Wizard