plotomics
    Preparing search index...

    Interface KmOptions

    interface KmOptions {
        lineWidth: number;
        showCensors: boolean;
        showCI: boolean;
        showLegend: boolean;
        showRiskTable: boolean;
        theme: Partial<PlotomicsTheme>;
        xLabel: string;
        yFromZero: boolean;
        yLabel: string;
    }
    Index
    lineWidth: number

    Curve stroke width in pixels.

    showCensors: boolean

    Mark censoring times with a tick on the curve.

    showCI: boolean

    Shade the pointwise confidence band when lower/upper are present.

    showLegend: boolean

    Draw the stratum legend, in a band above the panel. It takes the height the risk table and the curves leave it: the strata past the rows that fit are counted in a "+N more" note, and a plot with no room for one row draws no legend.

    showRiskTable: boolean

    Draw the number-at-risk table beneath the axis. The table comes before the legend: in a short plot the legend gives up its rows first. A plot too short for a row per stratum under the panel leaves the table out.

    theme: Partial<PlotomicsTheme>
    xLabel: string
    yFromZero: boolean

    Start the y axis at zero (the honest default) rather than at the lowest point of the lowest curve. Zooming y exaggerates separation, so this is opt-out rather than automatic.

    yLabel: string