UNPKG

@mui/x-charts

Version:

The community edition of MUI X Charts components.

11 lines 585 B
import type * as React from 'react'; import { type ChartAnyPluginSignature, type ChartPublicAPI } from "../plugins/models/index.mjs"; import type { ChartSeriesConfig } from "../plugins/corePlugins/useChartSeriesConfig/index.mjs"; export interface UseChartBaseProps<TSignatures extends readonly ChartAnyPluginSignature[]> { apiRef?: React.RefObject<ChartPublicAPI<TSignatures> | undefined>; /** * The configuration for the series types. * This is used to define how each series type should be processed, colored, and displayed. */ seriesConfig?: ChartSeriesConfig<any>; }