View as Markdown

API reference: @salmonui/charts/pie-chart

AccumulationAnnotationinterface

import type { AccumulationAnnotation } from '@salmonui/charts/pie-chart';
interface AccumulationAnnotation {
    readonly x: number | string;
    readonly y: number | string;
    readonly content: ReactNode;
}
AccumulationAnnotation members (3)
NameSignatureDescription
xreadonly x: number | string;

Drawing px or a percent of the width / height ('50%').

yreadonly y: number | string;
contentreadonly content: ReactNode;