# Mode Property

## Overloads

| [Mode](https://help.qlik.com/en-US/sense-developer/November2025/Subsystems/NetSDKAPIref/Content/Qlik.Sense.Client.Visualizations.Components.ColorMode.Mode.htm#Qlik_Sense_Client_Visualizations_Components_ColorMode_Mode) |  | Sets the coloring mode for the chart. byExpression can only be used in conjunction with an attribute expression on the first measure: qHyperCubeDef.qMeasures.0.qAttributeExpressions.0.qExpression<br><br>JSON property name: mode |
| --- | --- | --- |

[](https://help.qlik.com/en-US/sense-developer/Subsystems/NetSDKAPIref/Content/Qlik.Sense.Client.Visualizations.Components.ColorMode.Mode.htm) [](https://help.qlik.com/en-US/sense-developer/Subsystems/NetSDKAPIref/Content/Qlik.Sense.Client.Visualizations.Components.ColorMode.Mode.htm)

## Mode

Sets the coloring mode for the chart. byExpression can only be used in conjunction with an attribute expression on the first measure: qHyperCubeDef.qMeasures.0.qAttributeExpressions.0.qExpression

JSON property name: mode

### Declaration

```

          public ColorModeMode Mode { get; set; }
    
  
```

### Property Value

| Type | Description |
| --- | --- |
| [ColorModeMode](https://help.qlik.com/en-US/sense-developer/November2025/Subsystems/NetSDKAPIref/Content/Qlik.Sense.Client.Visualizations.Components.ColorModeMode.htm) |  |

### Implements

[IColorMode.Mode](https://help.qlik.com/en-US/sense-developer/November2025/Subsystems/NetSDKAPIref/Content/Qlik.Sense.Client.Visualizations.Components.IColorMode.Mode.htm#Qlik_Sense_Client_Visualizations_Components_IColorMode_Mode)