# HyperCubeAttrDim Class

Namespace: [Qlik.Sense.Client.Visualizations](https://help.qlik.com/en-US/sense-developer/November2025/Subsystems/NetSDKAPIref/Content/Qlik.Sense.Client.Visualizations.htm)  
Assembly: Qlik.Sense.Client.dll

## Inheritance

* System.Object
  * [AbstractStructure](https://help.qlik.com/en-US/sense-developer/November2025/Subsystems/NetSDKAPIref/Content/Qlik.Engine.AbstractStructure.htm)
    * [NxAttrDimInfo](https://help.qlik.com/en-US/sense-developer/November2025/Subsystems/NetSDKAPIref/Content/Qlik.Engine.NxAttrDimInfo.htm)
      * HyperCubeAttrDim

## Syntax

```
public class HyperCubeAttrDim : NxAttrDimInfo, IDisposable, IHyperCubeAttrDim, INxAttrDimInfo, IAbstractStructure
```

## Constructors

| Name | Description |
| --- | --- |
| [HyperCubeAttrDim()](https://help.qlik.com/en-US/sense-developer/November2025/Subsystems/NetSDKAPIref/Content/Qlik.Sense.Client.Visualizations.HyperCubeAttrDim.-ctor.htm#Qlik_Sense_Client_Visualizations_HyperCubeAttrDim__ctor) | Creates an instance of the HyperCubeAttrDim class |

## Properties

| Name | Description |
| --- | --- |
| [Id](https://help.qlik.com/en-US/sense-developer/November2025/Subsystems/NetSDKAPIref/Content/Qlik.Sense.Client.Visualizations.HyperCubeAttrDim.Id.htm#Qlik_Sense_Client_Visualizations_HyperCubeAttrDim_Id) | Id used by the client to identify attributes, different id are used depending what attributes are targeted. 'cellBackgroundColor': For attribute expression, expression for background color of table cell. 'cellForegroundColor': For attribute expression, expression for text color of table cell. 'colorByAlternative': Can be used together with color.mode = 'byDimension' for attribute dimensions and with color.mode = 'byMeasure' for attribute expressions to color the chart using different dimensions, measures and expressions. 'colorByExpression': Used together with color.mode = 'byExpression'.<br><br>JSON property name: id |