Bar and column charts

Use a bar or column chart to compare specific categories or values.

Hovering over the chart displays more precise data. The chart units will not be included here as they are reflected on the chart’s axes.

Best practices

  • Works best for small numbers of data series.
    For a larger number of comparisons, consider using multiple charts.
  • Use stacked columns to illustrate the parts that make up a group.
  • Use a guide to group data items or separate charts for each data group.

Example: Bar chart with text categories

Shortcode


                [amcharts
  id="serial"
  data-type="text"
  data-group="FSS_2018FALL_C7"
  data-charttitle="Title"
  data-subtitle="Subtitle"
  data-earlycallback="BAR_EARLYCALLBACK"
  data-callback="BAR_CALLBACK"
  data-height=450

  data-guide0start="Machine learning/artificial intelligence"
  data-guide0end="Digitalization and automation"
  data-guide0label="Operational changes"
  data-guide0labelwidth=10
  data-guide0labelshiftx=-10
  data-guide0labelshifty=10

  data-guide1start="Systematic trading strategies "
  data-guide1end="Peer-to-peer lending"
  data-guide1label="Market structure"
  data-guide1labelwidth=5
  data-guide1labelshiftx=-10
  data-guide1labelshifty=10
]
            

Example: Column chart with text category

Shortcode


                [amcharts
  id="serial"
  data-type="text"
  data-group="FSS_2018FALL_C6"
  data-chartTitle="Title"
  data-subTitle=""
  data-rightAxisUnit="%"
  data-earlyCallback="ECB_COLUMN"
]
            

Example: Bar chart with layered series

Shortcode


                [amcharts
  id="serial"
  data-type="text"
  data-charttitle="Title"
  data-subtitle="Subtitle"
  data-group="FSS_2018FALL_C3"
  data-earlycallback="FSS_2018FALL_C3_EARLYCALLBACK"
  data-callback="FSS_2018FALL_C3_CALLBACK"
  data-height=650
  data-printheight=600

  data-guide0start="Cyber attacks"
  data-guide0end="Terrorism, fraud or natural disaster"

  data-guide1start="Deterioration in the global economic outlook"
  data-guide1end="Disruption of international trade or trade disputes"

  data-guide2start="Reduction in market liquidity"
  data-guide2end="Disruption/failure of key market participants"

  data-series0axis="left"
  data-series1axis="left"
]
            

Example: Horizontal slicing

Shortcode


                [amcharts
  id="serial"
  data-type="text"
  data-group="SAN_LEBO20180425_F1B"
  data-charttitle="Figure 1a: Horizontal slicing strategy"
  data-rightaxistitle="$ millions"
  data-rightAxisStackType="regular"
  data-series1color=0
  data-series1pattern="diagonal"
  data-series2color=1
  data-series3color=1
  data-series3pattern="diagonal"
  data-series4color=2
  data-series5color=2
  data-series5pattern="diagonal"

  data-series0label="Cash"
  data-series1label="Cash sold"
  data-series2label="Government bonds"
  data-series3label="Government bonds sold"
  data-series4label="Corporate bonds"
  data-series5label="Corporate bonds sold"

  data-earlycallback="ECB_Remove_category_labels"
]