# ReferenceLine Class

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

Reference lines settings.

## Inheritance

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

## Syntax

```
public class ReferenceLine : AbstractStructure, IDisposable, IReferenceLine, IAbstractStructure
```

## Constructors

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

## Properties

| Name | Description |
| --- | --- |
| [Color](https://help.qlik.com/en-US/sense-developer/November2025/Subsystems/NetSDKAPIref/Content/Qlik.Sense.Client.Visualizations.Components.ReferenceLine.Color.htm#Qlik_Sense_Client_Visualizations_Components_ReferenceLine_Color) | DEPRECATED: Use paletteColor instead<br><br>JSON property name: color |
| [Label](https://help.qlik.com/en-US/sense-developer/November2025/Subsystems/NetSDKAPIref/Content/Qlik.Sense.Client.Visualizations.Components.ReferenceLine.Label.htm#Qlik_Sense_Client_Visualizations_Components_ReferenceLine_Label) | Label<br><br>JSON property name: label |
| [PaletteColor](https://help.qlik.com/en-US/sense-developer/November2025/Subsystems/NetSDKAPIref/Content/Qlik.Sense.Client.Visualizations.Components.ReferenceLine.PaletteColor.htm#Qlik_Sense_Client_Visualizations_Components_ReferenceLine_PaletteColor) | Color information structure. Holds actual color and index in palette.<br><br>JSON property name: paletteColor |
| [RefLineExpr](https://help.qlik.com/en-US/sense-developer/November2025/Subsystems/NetSDKAPIref/Content/Qlik.Sense.Client.Visualizations.Components.ReferenceLine.RefLineExpr.htm#Qlik_Sense_Client_Visualizations_Components_ReferenceLine_RefLineExpr) | JSON property name: refLineExpr |
| [Show](https://help.qlik.com/en-US/sense-developer/November2025/Subsystems/NetSDKAPIref/Content/Qlik.Sense.Client.Visualizations.Components.ReferenceLine.Show.htm#Qlik_Sense_Client_Visualizations_Components_ReferenceLine_Show) | Whether to show this reference line<br><br>JSON property name: show |