Blog

How to turn off the Active Label of just the Bars in a Combo chart

Author:
Date:
November 17, 2014
Category:
Design Approaches, NetCharts Designer, NetCharts Pro, NetCharts Server

By default the popup labels (Dwell or Active Label) for both Bars and Lines are enabled when you hover over them in a Combo chart. However, you might have a particular requirement where you need to switch off the Active Labels for the Bars but need the Active Labels to remain for the Line data points.

This functionality can be controlled using a Chart Definition Language (CDL) parameter called: ActiveLabelsEnabled.

Turning off the Active Labels of just the Bars in a Combo chart can be done in 5 simple steps:

  1. Launch NetCharts Designer 7.0 and open a ComboChart.

  2. Click on the Source tab at the bottom of NetCharts Designer 7.0.

  3. combo_TurningOffActiveLabels_Source

  4. Scroll to the bottom of the CDL parameters in the Source tab and hit Enter to add a new line.

  5. Add in the CDL parameter: ActiveLabelsEnabled = OFF;

  6. combo_TurningOffActiveLabels_Source2

  7. Hold Ctrl-S to save the Combo template.

Go to the upper NetCharts Designer Preview Browser to view and test the chart by placing the mouse pointer over the bars and then the data points of the line. The Active Labels should no longer display over the bars, but should still show when hovering the mouse pointer over the line data points.

 

If you have any questions, feel free to contact us at support@visualmining.com.

Comments are closed.