Mixed chart

Use a mixed chart to compare a value over multiple data series on the same axis, or to compare a value over multiple data series over time.

TIP: Hovering over the chart displays more precise data.

Best practices

  • Limit the comparison to 10 data series or fewer.
    • The more series, the more difficult it is to read the chart.
  • To identify a moment in time, add a band or guide.

Example 1

Shortcode


                [amcharts
  id="serial"
  data-datasource="/wp-content/uploads/2019/03/mixed_chart_sample_data.txt"
  data-postprocessor="blankPostProcessor"

  data-printheight="450"
  data-series0label="Atlantic provinces"
  data-series1label="Ontario"
  data-series2label="Quebec"
  data-series3label="British Columbia"
  data-series4label="Prairies"
  data-series5label="Overall balance of opinion"
  data-rightAxisUnit="%"
  data-chartUnit="%"
  data-charttitle="Chart 1: Indicators of future sales have improved in all regions"
  data-subtitle="Contribution to balance of opinion *"

  data-rightAxisStackType="regular"
  data-series0type="column"
  data-series1type="column"
  data-series2type="column"
  data-series3type="column"
  data-series4type="column"
  data-series5color="#222222"
  data-series5type="scatter"
  data-period="quarter"
  data-earlyCallback="ECB_NE"
]
            

Example 2

Shortcode


                [amcharts
  id="serial"
  data-datasource="/wp-content/uploads/2019/03/mixed_chart_sample_data_2.txt"
  data-postprocessor="blankPostProcessor"

  data-series0label="Atlantic provinces"
  data-series1label="Ontario"
  data-series2label="Quebec"
  data-series3label="British Columbia"
  data-series4label="Prairies"
  data-series5label="Overall balance of opinion"
  data-series6label="Growth in business sector employment—SEPH (left scale)"

  data-rightAxisUnit="%"
  data-leftAxisUnit="%"
  data-chartUnit="%"
  data-charttitle="Chart 2: Indicators of future sales have improved in all regions"
  data-subtitle="Contribution to balance of opinion *"

  data-rightAxisStackType="regular"
  data-series0type="column"
  data-series1type="column"
  data-series2type="column"
  data-series3type="column"
  data-series4type="column"
  data-series5color="#222222"
  data-series5type="scatter"
  data-series6type="line"
  data-series6axis="left"
  data-period="quarter"
  data-earlyCallback="ECB_NE"
]
            

Example 3

Shortcode


                [amcharts
  id="serial"
  data-type="text"
  data-group="SAN_BILO20181003_C6"
  data-charttitle="Column and scatter chart"
  data-subtitle="Custom per data-point solution for labels"

  data-series0label="Year-over-year change in volume, 2018Q2 (left scale)"
  data-series1label="Year-over-year absolute change in market share, 2018Q2 (right scale)"

  data-series1type="scatter"
  data-series0axis="left"

  data-earlycallback="SAN_BILO20181003_C6_EARLYCALLBACK"
  data-callback="SAN_BILO20181003_C6_CALLBACK"
]