Dumbbell chart

A dumbbell plot can be used to visualize two different values in time, or to show the difference between two different groups or viewpoints (e.g., one dot for male and another dot for female).

The dumbbell is a variant of the lollipop plot.

Getting started

Dumbbell series requires loading the Highcharts and both highcharts-more and dumbbell.js modules.

Here is an example for loading dumbbell modules into a webpage:

<script src="https://code.highcharts.com/highcharts.js"></script>
<script src="https://code.highcharts.com/highcharts-more.js"></script>
<script src="https://code.highcharts.com/modules/dumbbell.js"></script>

The demo below represents a change in life expectancy between 1960 and 2018.

Configuring options

The dot can be customized by:

  • marker series.marker - marker options for the upper dot.
  • lowMarker series.lowMarker - marker options for the lower dot.

The demo below represents using of upper and lower markers in a dumbbell chart.

Alternatively, the color of the dot can be changed via:

  • fillColor series.marker.fillColor - color for the upper dot.
  • lowColor series.lowColor - color for the lower dot.

The upper color of the dot and connector can changed via:

  • color series.color

The connector line can be customized by:

  • connectorColor series.connectorColor - color for the connector line.
  • connectorWidth series.connectorWidth - width of the connector line.