How to change the label color of a Bar Race chart in N4V for Webi based on a condition

Anonymised summary of support ticket #179740 (2022-05-10)

Symptom

The label color of the Y-axis in a Bar Race chart cannot be modified directly using deprecated HTML tags like 'color'. Attempting to use such tags may cause the label to disappear.

Environment

N4V FOR WEBI (Need4Viz extensions for SAP BusinessObjects Web Intelligence), HTML5 output

Resolution

  1. In the Webi variable, use the 'span' HTML tag with an inline style to define the desired color.
  2. Example: <span style='color:red'>Label Text</span> to apply a red color to the label.

Other resolution

Avoid using deprecated HTML tags like 'font' as they are not supported in HTML5 output.