MAIDR Documentation - v4.4.0
    Preparing search index...

    Interface ChartJsPointValue

    A point-shaped datum: a scatter or bubble point, a line vertex on a continuum, one time of a survival curve.

    The three optional members after r are not Chart.js's. Chart.js passes unknown properties on a datum through untouched, which is how a page carries a fact its config has no field for — and a Kaplan-Meier curve has two of those, the censoring mark and the confidence band, neither of which is a position the chart draws. They are named here rather than read off an index signature so this stays a statement about what the adapter looks for.

    interface ChartJsPointValue {
        x: number;
        y: number;
        r?: number;
        censored?: boolean;
        yMin?: number;
        yMax?: number;
        [column: string]: unknown;
    }

    Indexable

    • [column: string]: unknown

      Whatever else the author's own row carries.

      The three members above are the facts this adapter looks for under a fixed name. A volcano's gene and a Manhattan's chromosome are the same kind of rider, but their column is the author's to name — the co-located maidr block says which it is — so they cannot be listed, and a datum written in TypeScript would otherwise be rejected for carrying the very column the declaration points at.

    Index

    Properties

    Properties

    x: number
    y: number
    r?: number

    A bubble's radius: a third encoded variable.

    censored?: boolean

    A subject left the study here without the event happening.

    yMin?: number

    Lower bound of the confidence band at this point.

    yMax?: number

    Upper bound of the confidence band at this point.