MapShapePlot API
API reference docs for the React MapShapePlot component. Learn about the props, CSS, and other APIs of this exported module.
Demos
Import
import { MapShapePlot } from '@mui/x-charts-premium/Map';
// or
import { MapShapePlot } from '@mui/x-charts-premium';Learn about the difference by reading this guide on minimizing bundle size.
Renders series mapShape items.
| Name | Type | Default | Description |
|---|---|---|---|
| fill | string | - | Fill color applied to every feature path. Overrides item and series colors. |
| stroke | string | 'none' | Stroke color applied to every feature path. |
| strokeWidth | number | 1 | Stroke width applied to every feature path. |
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.