HotXLS Docs

TXLSXChartTrendline class

Unit: lxHandleX
Chart trendline descriptor holding trendline type, display equation / R-squared, polynomial order, moving-average period and name

Description

Chart trendline descriptor holding trendline type, display equation / R-squared, polynomial order, moving-average period and name The class belongs to the XLSX facade (lxHandleX) and is reached from the owning workbook or worksheet, so application code does not normally create instances directly

Properties

TrendlineType
DispEq
DispRSqr
Order
Period
Name
Intercept
InterceptSet
Forward
Backward

Independent line appearance

The class inherits TXLSXChartLineAppearance, putting independent RGB, point width, visibility and hidden-style restoration properties on offer

The default trendline stroke is 1.25 points; represented Line and Scatter portable output uses explicit overrides when set and otherwise settles on the series colour

See the supported capture and persistence profile for stored appearance limits, explicit reset and native-evidence boundaries

Owned label appearance

LabelLayout and LabelTextStyle put owner-bound children at your disposal with deep-copy, write-lease and generation semantics

LabelNumberFormat and LabelSourceLinked persist scalar-only label state, whilst LabelAppearanceSupported tells you whether imported appearance is represented without promising portable rendering for each represented font or layout

Unchanged unsupported raw charts remain saveable; an edited reconstruction or raw removal refuses writing whilst label appearance is unrepresented

Computed label text

XLSTrendlineEquationLabel exposes shared equation/R-squared computation, a fixed-intercept overload included, whilst semantic snapshots derive the represented text from each owning plot group's cached points and display switches

See native-qualified text and numerical limits and the explicit linear Scatter rendering profile; superscript font runs of arbitrary shape and automatic label placement remain separate work

See also