# NxTrendline

Information about the calculated trendline.

Warning note**EXPERIMENTAL.**  
This API is under development. Do not rely on it. It may change or be removed in future versions.

## Properties

| Name | Description | Type |
| --- | --- | --- |
| qType | Type of trendline<br><br>One of:<br><br><ul><li>AVERAGE or Average</li><li>LINEAR or Linear</li><li>POLYNOMIAL2 or Polynomial2</li><li>POLYNOMIAL3 or Polynomial3</li><li>POLYNOMIAL4 or Polynomial4</li><li>EXPONENTIAL or Exponential</li><li>POWER or Power</li><li>LOG or Logarithmic</li></ul> | String |
| qError |  | [NxValidationError](https://help.qlik.com/en-US/sense-developer/May2026/Subsystems/EngineJSONAPI/Content/models-nxvalidationerror.htm) |
| qCoeff | Coefficent c0..cN depending on the trendline type. | Array of Number |
| qR2 | R2 score. Value between 0..1 that shows the correlation between the trendline and the data. Higher value means higher correlation. | Number (double) |
| qExpression | Trendline expression | String |
| qElemNo | Inner Dim elem no | Integer |