Skip to content

DrawingProvider API

API reference docs for the React DrawingProvider component. Learn about the props, CSS, and other APIs of this exported module.

Demos

For examples and details on the usage of this React component, visit the component demo pages:

    Import

    import DrawingProvider from '/packages/x-charts/src/context/DrawingProvider.tsx/DrawingProvider';
    // or
    import { DrawingProvider } from '/packages/x-charts/src/context/DrawingProvider.tsx';
    Learn about the difference by reading this guide on minimizing bundle size.

    Props

    The component cannot hold a ref.