Dumbell Charts in SAP Lumira Designer

Column charts might not be the ideal use case for all scenarios, especially when you have values that are very close to each other, it becomes very hard to visualize the difference between the columns. Another option and a compelling visual for the same would be a Dumbbell chart.

The Dumbbell chart, also referred to as a Barbell or DNA chart, is a variation of a dot plot where in, the 2 dots are connected by a line, signifying the change between the 2 data points for each of the dimensions. As compared to regular bar or column chart the dumbbell chart is relatively more visually appealing and effective for certain scenarios. They also look much cleaner since they require lesser ink and real estate on the dashboard.

Dumbbell chart in sap Lumira

Let’s look at building a simple dumbbell chart using the Visual BI extensions(VBX) Dual Axis chart.

Implementing Dumbbell Chart (aka DNA or Barbell chart) using Visual BI Extensions (VBX)

Sample Data

Data for dumbbell chart

For a dumbbell chart, we need 4 measures:

  • 2 measures for the dot pot: Actual and Target (as seen from the data above)
  • 2 measures for displaying the line connecting the 2 dots: Mod (Modulus of variance) and Resultant (displaying the min value between Actual and Target)

Step 1: Drag the VBX Dual Axis chart to the canvas and click on Data Selection to select the following Measure columns – Mod, Resultant, Actual and Target.

Step1- Data Selection for Dumbbell chart

Dumbbell chart in SAP Lumira Designer/ SAP Design Studio

Please note, that the order of the measures is important to configure this type of chart.

Step 2: Navigate to the additional property sheet and select Data Series Tab

  • Set the series colors for each of the measures (Actual, Target and Resultant = White, Mod = Grey)
  • Set the Series Type for each of the measures
  1. Mod = Column stacked
  2. Resultant = Column Stacked
  3. Target = Line
  4. Actual = Line
  • Set the Series Y axis as 1 for all the measures

Step 2 - Implementing Dumbbell chart in SAP Lumira  

Step 3: Scroll down to configure the data label properties

  • Set the number of decimals to 0
  • Enable the data labels by checking it

Step 3 - Implementing Dumbbell chart in SAP Lumira

Step 4: Configure the marker properties

  • Enable the Apply Marker Customization property by checking it
  • Disable the property – Color identical to Data series as we want to display the markers (dot plot)
  • Enable the Marker for Actual Measure
  • Set the marker symbol to circle (you could choose a different shape if you would like)
  • Set the color and size of the marker (Color = Blue and Size = 15 as seen below)
  • Repeat the same steps for Target measure and set the marker color to grey

Step 4 - Implementing Dumbbell chart in SAP Lumira

Step 5: Navigate to the CSS tab and set the custom theme

  • Paste the following piece of code in Theme code box and enable the Custom Theme property

Step 5 - Implementing Dumbbell chart in SAP Lumira

Custom Theme code for Visual BI extensions chart

Step 6: Navigate to the Title and Sub Title Tab and set the following properties:

  • Title/ Sub Title Text
  • Horizontal Alignment (center as seen below)

Step 6- Title for Dumbbell chart in Sap Lumira Designer

Step 6 - Sub Title for Dumbbell chart in SAP Lumira

Step 7: Lastly Set the Y axis property as follows:

  • Set the max and min value of the axis to display the differences more clearly

Step 7 - Implementing Dumbbell chart in SAP Lumira

Finally, we have a Dumbbell chart displaying Sales information by Region

Dumbell chart in SAP Lumira Designer

You could also make the chart look more informative and intuitive by conditionally formatting the lines. This way you could easily spot out the regions which need attention (regions where Target > Actual)

Under the data series tab set the conditional formatting rule as seen in the image below.

Here our “Highlighted Measure” is Mod – which can be any of the measures in the data source and our Comparison Measure is Variance – which can be any of the measures in the data source.

For other use cases for conditional formatting refer: Dynamic Conditional formatting in SAP Lumira Designer

Conditional formatting in Dumbbell chart in SAP Lumira

Your VBX Dumbbell chart with conditional formatting is ready!

Dumbell Charts with conditional formatting in SAP Lumira Designer

Looking to create your own Dumbbell chart?

Click here to download a FREE 15-day trial of Visual BI’s Extensions for SAP Lumira Designer(VBX).

Subscribe to our Newsletter

5600 Tennyson Pkwy
Suite 120
Plano TX 75024.

+1 888-227-2794

+1 972-232-2233

+1 888-227-7192

solutions@visualbi.com

What’s-New-With-Visual-BI-Extensions-VBX-2-point-2-for-SAP-Lumira-Designer-bloom

Join Bhupinder as he discusses what’s new with VBX and learn how additional capabilities delivered by VBX helps drive SAP Lumira adoption

You have Successfully Subscribed!