@mui/x-charts
Version:
The community edition of MUI X Charts components.
7 lines • 781 B
text/typescript
import type { HighlightItemIdentifier, HighlightItemIdentifierWithType } from "../../../../models/seriesType/index.mjs";
import type { ComposableChartSeriesType } from "../../../../models/seriesType/composition.mjs";
import type { ChartSeriesType, HighlightScope } from "../../../../models/seriesType/config.mjs";
/**
* The isFade logic for main charts (those that are identified by an id and a dataIndex)
*/
export declare function createIsFaded<SeriesType extends Exclude<ChartSeriesType, 'sankey' | 'heatmap'>>(highlightScope: HighlightScope<SeriesType> | null | undefined, highlightedItem: HighlightItemIdentifier<SeriesType> | null): <TestedSeriesType extends ComposableChartSeriesType<SeriesType>>(item: HighlightItemIdentifierWithType<TestedSeriesType> | null) => boolean;