UNPKG

@mui/x-charts

Version:

The community edition of MUI X Charts components.

23 lines 563 B
import type { BarSeriesType } from "../models/index.js"; import type { SeriesId } from "../models/seriesType/common.js"; 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; }