@mui/x-charts
Version:
The community edition of MUI X Charts components.
6 lines • 318 B
TypeScript
import { type DatasetType } from "../models/seriesType/config.js";
/**
* Get access to the dataset used to populate series and axes data.
* @returns {DatasetType | undefined} The dataset array if provided, otherwise undefined.
*/
export declare function useDataset<T extends DatasetType>(): Readonly<T> | undefined;