Skip to content

Interface: TrendlineArgs ​

Trendline options of the functions that draw them (scatter, densityContour).

Extended by ​

Properties ​

PropertyModifierTypeDescription
trendline?readonlyTrendlineKindDraw a trendline of each group (or of all rows, see trendlineScope).
trendlineColorOverride?readonlystringOne color for every trendline (line.color) instead of the group colors.
trendlineOptions?readonlyTrendlineOptionsOptions of the trendline kind (px's trendline_options).
trendlineScope?readonly"trace" | "overall"'trace' (default): one trendline per group; 'overall': one fit over all rows, drawn in every subplot as Overall Trendline (one legend entry), in the next color of the sequence.

Released under the MIT License.