Skip to content

ZeroLineConfig

ZeroLineConfig dataclass

Configuration for the zero line drawn at the score-axis origin.

The zero line is a reference rule at a contribution of 0, spanning the rank axis (running vertically through a vertical chart, horizontally through a horizontal one).

Attributes:

Name Type Description
color str | None

Color of the zero line. If None, falls back to BorderConfig.color so the line matches the chart frame

width float

Width of the zero line, in pixels. 0 draws no line

Source