@mui/x-charts
Version:
The community edition of MUI X Charts components.
20 lines • 613 B
TypeScript
export type HighlightOptions = 'none' | 'item' | 'series';
export type FadeOptions = 'none' | 'series' | 'global';
export type HighlightScope = {
/**
* The scope of highlighted elements.
* - 'none': no highlight.
* - 'item': only highlight the item.
* - 'series': highlight all elements of the same series.
* @default 'none'
*/
highlight?: HighlightOptions;
/**
* The scope of faded elements.
* - 'none': no fading.
* - 'series': only fade element of the same series.
* - 'global': fade all elements that are not highlighted.
* @default 'none'
*/
fade?: FadeOptions;
};