property CategoryAxis.Mark as String
Specifies the configuration options for highlighting areas in the chart or axis associated with specific units of the category axis

TypeDescription
String A string expression that specifies the configuration options for highlighting areas in the chart or axis associated with specific units of the category axis, in "color[showIn](number|expression),color[showIn](number|expression),..." format where:
  • color (CSS name or #RRGGBB) is required
  • showIn ("chart"/"axis", default "chart") is optional
  • number (category index) is optional
  • expression (using index for position, value for numerical data, or label for text) supports constants, operators, and keywords. This expression supports predefined constants and operators/functions as described here

 This feature allows highlighting portions of charts based on a specific index, label on the category axis, or an expression.

By default, the Mark property is "". The Mark property defines the configuration options for highlighting areas in the chart or axis that correspond to specific units on the category axis. The Color property specifies the category-axis's background color.

For instance,