UNPKG

@mui/x-charts

Version:

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

24 lines (23 loc) 584 B
import type { BarSeriesType } from '../models'; import type { SeriesId } from '../models/seriesType/common'; export type AnimationData = { x: number; y: number; width: number; height: number; yOrigin?: number; xOrigin?: number; layout: BarSeriesType['layout']; }; export interface CompletedBarData extends AnimationData { seriesId: SeriesId; dataIndex: number; color: string; value: number | null; maskId: string; } export interface MaskData extends AnimationData { id: string; hasNegative: boolean; hasPositive: boolean; }