ChartsAxisTooltipContent API
API reference docs for the React ChartsAxisTooltipContent component. Learn about the props, CSS, and other APIs of this exported module.
Demos
Import
import { ChartsAxisTooltipContent } from '@mui/x-charts/ChartsTooltip';
// or
import { ChartsAxisTooltipContent } from '@mui/x-charts';
// or
import { ChartsAxisTooltipContent } from '@mui/x-charts-pro/ChartsTooltip';
// or
import { ChartsAxisTooltipContent } from '@mui/x-charts-pro';
// or
import { ChartsAxisTooltipContent } from '@mui/x-charts-premium/ChartsTooltip';
// or
import { ChartsAxisTooltipContent } from '@mui/x-charts-premium';Learn about the difference by reading this guide on minimizing bundle size.
| Name | Type | Default | Description |
|---|---|---|---|
| classes | Partial | - | Override or extend the styles applied to the component. See CSS classes API below for more details. |
| sort | 'asc' | 'desc' | 'none' | 'none' | The sort in which series items are displayed in the tooltip.
When set to |
The component cannot hold a ref.
Source code
If you did not find the information in this page, consider having a look at the implementation of the component for more detail.