View as Markdown

API reference: @salmonui/charts/pie-chart

PieChartTextinterface

import type { PieChartText } from '@salmonui/charts/pie-chart';
interface PieChartText {
    readonly pieChart: string;
    readonly doughnutChart: string;
    readonly others: string;
    readonly legend: string;
}

Built-in text of a PieChart (text prop; the pieChart entry of a LocaleProvider catalog).

PieChartText members (4)
NameSignatureDescription
pieChartreadonly pieChart: string;

Kind named in the role description, the summary and the default name.

doughnutChartreadonly doughnutChart: string;

The kind with innerRadius.

othersreadonly others: string;

Label of the groupSmall slice.

legendreadonly legend: string;