TimelineKit API
    Preparing search index...

    Interface Marker

    A vertical date marker displayed on the chart.

    interface Marker {
        color?: string;
        date: Date;
        label?: string;
        lineStyle?: "solid" | "dashed" | "dotted";
        lineWidth?: number;
    }
    Index

    Properties

    color?: string

    CSS color string for the marker line.

    date: Date

    Date position of the marker line.

    label?: string

    Optional text label displayed alongside the marker.

    lineStyle?: "solid" | "dashed" | "dotted"

    Dash style of the marker line.

    lineWidth?: number

    Width of the marker line in pixels.