Skip to main content

PieChart

    The PieChart visualizes data proportions in a circular chart. It divides a circle into slices, with each slice representing a specific category or value.

    PieChartProps

    Signature:

    export declare type PieChartProps = | ;

    LabelsConfig

    NameTypeDefaultDescription
    hidden?
    false (all the labels are displayed).

    Hides the slice labels.

    valueType?
    'relative'

    Display the label with a relative or absolute value.

    ThresholdConfig

    NameTypeDefaultDescription
    type
    'relative'.

    Type of the grouping threshold. Can be "relative", "absolute" or "number-of-slices".

    value

    Value of the group threshold. Default is dynamically calculated depending on the chart size for relative and absolute. 10 in case of number-of-slices.

    GroupConfig

    NameTypeDefaultDescription
    name?
    'Other'.

    Name of the group.

    threshold

    The threshold for the group.

    PieChart.Toolbar​

    PieChart.Toolbar is a slot to hide or to configure the toolbar.

    BaseToolbarProps

    extends,
    NameTypeDefaultDescription
    hidden?
    false

    Decides if the toolbar is visible or hidden

    Still have questions?
    Find answers in the Dynatrace Community