-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[charts] Move z-axis to plugin (mui#16130)
- Loading branch information
1 parent
2c9ddc9
commit aa515ec
Showing
35 changed files
with
316 additions
and
322 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,30 @@ | ||
// This file should be removed after creating all plugins in favor of a file per chart type. | ||
|
||
import { | ||
ChartSeriesType, | ||
ConvertSignaturesIntoPlugins, | ||
useChartCartesianAxis, | ||
UseChartCartesianAxisSignature, | ||
useChartInteraction, | ||
UseChartInteractionSignature, | ||
useChartZAxis, | ||
UseChartZAxisSignature, | ||
} from '@mui/x-charts/internals'; | ||
import { useChartProZoom, UseChartProZoomSignature } from './useChartProZoom'; | ||
|
||
export type AllPluginSignatures<TSeries extends ChartSeriesType = ChartSeriesType> = [ | ||
UseChartZAxisSignature, | ||
UseChartCartesianAxisSignature<TSeries>, | ||
UseChartInteractionSignature, | ||
UseChartProZoomSignature, | ||
]; | ||
|
||
export type AllPluginsType<TSeries extends ChartSeriesType = ChartSeriesType> = | ||
ConvertSignaturesIntoPlugins<AllPluginSignatures<TSeries>>; | ||
|
||
export const ALL_PLUGINS = [ | ||
useChartZAxis, | ||
useChartCartesianAxis, | ||
useChartInteraction, | ||
useChartProZoom, | ||
]; |
1 change: 1 addition & 0 deletions
1
packages/x-charts-pro/src/internals/plugins/useChartProZoom/index.ts
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,3 @@ | ||
export * from './useChartProZoom.selectors'; | ||
export * from './useChartProZoom'; | ||
export * from './useChartProZoom.types'; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.