fcharts-js - v0.3.0
    Preparing search index...

    Interface DonutOptions

    interface DonutOptions {
        capPct?: number;
        centerLabel?: string;
        centerSub?: string;
        embedData?: boolean;
        legend?: boolean;
        size: number;
        theme?: Partial<SvgTheme>;
        title?: string;
    }
    Index

    Properties

    capPct?: number

    Per-slice cap as a percentage (e.g. 25 = 25%); over-cap slices are flagged.

    centerLabel?: string

    Big text in the hole (e.g. a count).

    centerSub?: string

    Smaller text under centerLabel.

    embedData?: boolean

    Embed the machine-readable JSON summary. Default true.

    legend?: boolean

    Render the legend column. Default true.

    size: number

    Square diameter of the donut, in px. The legend extends to its right.

    theme?: Partial<SvgTheme>
    title?: string

    Accessible name / title. Default 'Share'.