@pond-ts/charts API Reference
    Preparing search index...

    Interface LineStyle

    A resolved line style: stroke colour + width (px).

    interface LineStyle {
        color: string;
        dash?: readonly number[];
        width: number;
    }
    Index

    Properties

    Properties

    color: string
    dash?: readonly number[]

    Optional dash pattern — px on/off lengths ([6, 4] = 6 on, 4 off; [2, 3] ≈ dotted). Omit or [] for a solid stroke. This is the series' own style — distinct from a GapMode's inferred faint gap-bridge dashing (that marks missing data; this marks the whole line). Use it to set a modeled series (a forecast / smoothed estimate, e.g. GARCH vol) apart from an observed one at a glance.

    width: number