UNPKG

@mui/x-charts

Version:

The community edition of the charts components (MUI X).

15 lines (14 loc) 656 B
import { ComputedPieRadius, DefaultizedPieSeriesType, DefaultizedPieValueType } from '../../models/seriesType/pie'; export interface AnimatedObject { innerRadius: number; outerRadius: number; cornerRadius: number; startAngle: number; endAngle: number; paddingAngle: number; } export interface ValueWithHighlight extends DefaultizedPieValueType, AnimatedObject { isFaded: boolean; isHighlighted: boolean; } export declare function useTransformData(series: Pick<DefaultizedPieSeriesType, 'cornerRadius' | 'paddingAngle' | 'id' | 'highlightScope' | 'highlighted' | 'faded' | 'data'> & ComputedPieRadius): ValueWithHighlight[];