# CalcR2 Property

## Overloads

| [CalcR2](https://help.qlik.com/en-US/sense-developer/May2025/Subsystems/NetSDKAPIref/Content/Qlik.Engine.NxTrendlineDef.CalcR2.htm#Qlik_Engine_NxTrendlineDef_CalcR2) |  | Set to true to calulatate the R2 score<br><br>JSON property name: qCalcR2 |
| --- | --- | --- |

[](https://help.qlik.com/en-US/sense-developer/Subsystems/NetSDKAPIref/Content/Qlik.Engine.NxTrendlineDef.CalcR2.htm) [](https://help.qlik.com/en-US/sense-developer/Subsystems/NetSDKAPIref/Content/Qlik.Engine.NxTrendlineDef.CalcR2.htm)

## CalcR2

Set to true to calulatate the R2 score

JSON property name: qCalcR2

### Declaration

```

          public bool CalcR2 { get; set; }
    
  
```

### Property Value

| Type | Description |
| --- | --- |
| System.Boolean |  |

### Implements

[INxTrendlineDef.CalcR2](https://help.qlik.com/en-US/sense-developer/May2025/Subsystems/NetSDKAPIref/Content/Qlik.Engine.INxTrendlineDef.CalcR2.htm#Qlik_Engine_INxTrendlineDef_CalcR2)