# INxTrendlineDef Interface

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

Trendline input definition

## Syntax

```
[ValueClass]
public interface INxTrendlineDef : IAbstractStructure
```

## Properties

| Name | Description |
| --- | --- |
| [CalcR2](https://help.qlik.com/en-US/sense-developer/May2025/Subsystems/NetSDKAPIref/Content/Qlik.Engine.INxTrendlineDef.CalcR2.htm#Qlik_Engine_INxTrendlineDef_CalcR2) | Set to true to calulatate the R2 score<br><br>JSON property name: qCalcR2 |
| [ContinuousXAxis](https://help.qlik.com/en-US/sense-developer/May2025/Subsystems/NetSDKAPIref/Content/Qlik.Engine.INxTrendlineDef.ContinuousXAxis.htm#Qlik_Engine_INxTrendlineDef_ContinuousXAxis) | Set if the numerical value of x axis dimension should be used<br><br>JSON property name: qContinuousXAxis |
| [MultiDimMode](https://help.qlik.com/en-US/sense-developer/May2025/Subsystems/NetSDKAPIref/Content/Qlik.Engine.INxTrendlineDef.MultiDimMode.htm#Qlik_Engine_INxTrendlineDef_MultiDimMode) | If you have a hypercube with two dimensions and qXColIx refers to a dimension<br><br>This determines if you get one trendline of each value in the other dimension or<br><br>Or trendline based on the sum of the value in the other dimension<br><br>The sum variant is only supported when qXColIx is 0 and qMode (on the hypercube) is K or T<br><br>JSON property name: qMultiDimMode |
| [Type](https://help.qlik.com/en-US/sense-developer/May2025/Subsystems/NetSDKAPIref/Content/Qlik.Engine.INxTrendlineDef.Type.htm#Qlik_Engine_INxTrendlineDef_Type) | The type of trendline to calculate<br><br>JSON property name: qType |
| [XColIx](https://help.qlik.com/en-US/sense-developer/May2025/Subsystems/NetSDKAPIref/Content/Qlik.Engine.INxTrendlineDef.XColIx.htm#Qlik_Engine_INxTrendlineDef_XColIx) | The column in the hypercube to be used as x axis. Can point to either a dimension (numeric or text) or a measure<br><br>JSON property name: qXColIx |