Skip to content

Interface: ChartLine ​

A series' line/stroke (c:ser/c:spPr/a:ln).

Properties ​

alpha ​

alpha: number | null

The opacity of the stroke's colour, 0 to 1 (its a:alpha), or null when it states none.


cap ​

cap: string | null

The line end cap (@cap) as its raw token (flat, rnd, sq), or null when unset.


colorRef ​

colorRef: ColorRef

The stroke's solid colour; unresolved, as ChartFill.colorRef is.


colorTransformed ​

colorTransformed: boolean

Whether the stroke's colour carries a transform besides a:alpha (a:lumMod, a:shade, …). A chart part is read without a theme, so colorRef does not apply it: PowerPoint's default axis line, tx1 lightened to a grey, reads as the bare tx1 token.


dash ​

dash: string | null

Dash style (a:prstDash/@val), or null when solid/unset.


noFill ​

noFill: boolean

Whether the line is explicitly suppressed (a:noFill).


widthPt ​

widthPt: number | null

Stroke width in points (@w/12700), or null when unset.