Lumagrid
    Preparing search index...

    Interface PieChartProps

    Props for PieChart.

    interface PieChartProps {
        ariaLabel?: string;
        colorField?: string;
        data: TransformedData;
        donut?: boolean;
        height: number;
        idField?: string;
        labelField?: string;
        showLegend?: boolean;
        theme: ThemeDefinition;
        valueField?: string;
        width: number;
        xField?: string;
        yField?: string;
        [key: string]: unknown;
    }

    Hierarchy (View Summary)

    Indexable

    • [key: string]: unknown
    Index
    ariaLabel?: string
    colorField?: string

    Groups rows into colored series (LineChart).

    donut?: boolean

    If true, renders the pie as a donut with the total in the center. Default: false.

    height: number
    idField?: string

    Identifies a node (ForceGraph).

    labelField?: string

    Category or display label: bar label, line x category, pie slice label, force-graph node label.

    showLegend?: boolean

    Render a legend (swatch, label, value and percent) beside the pie. Default: true.

    valueField?: string

    Numeric measure: bar length, line y value, pie slice size, choropleth color value.

    width: number
    xField?: string

    Use valueField, labelField or idField (the mapping depends on the chart, see CHANGELOG.md). Removed in 2.0.

    yField?: string

    Use valueField, labelField or idField (the mapping depends on the chart, see CHANGELOG.md). Removed in 2.0.