UNPKG

react-garden

Version:

React + TypeScript + ThreeJS app using Material UI on NextJS, Apollo Client, GraphQL + WordPress REST APIs, for ThreeD web development.. a part of the threed.ai code family.

80 lines (73 loc) 2.81 kB
// ** MUI Imports import Grid from '@mui/material/Grid' import Link from '@mui/material/Link' import Typography from '@mui/material/Typography' // ** Custom Components Imports import PageHeader from '~/@core/components/page-header' // ** Styled Component Import import ApexChartWrapper from '~/@core/styles/libs/react-apexcharts' import DatePickerWrapper from '~/@core/styles/libs/react-datepicker' // ** Demo Components Imports import ApexBarChart from '~/views/charts/apex-charts/ApexBarChart' import ApexAreaChart from '~/views/charts/apex-charts/ApexAreaChart' import ApexLineChart from '~/views/charts/apex-charts/ApexLineChart' import ApexRadarChart from '~/views/charts/apex-charts/ApexRadarChart' import ApexDonutChart from '~/views/charts/apex-charts/ApexDonutChart' import ApexColumnChart from '~/views/charts/apex-charts/ApexColumnChart' import ApexScatterChart from '~/views/charts/apex-charts/ApexScatterChart' import ApexHeatmapChart from '~/views/charts/apex-charts/ApexHeatmapChart' import ApexRadialBarChart from '~/views/charts/apex-charts/ApexRadialBarChart' import ApexCandlestickChart from '~/views/charts/apex-charts/ApexCandlestickChart' // ** Third Party Styles Imports // import 'react-datepicker/dist/react-datepicker.css' const ApexCharts = () => { return ( <ApexChartWrapper> <DatePickerWrapper> <Grid container spacing={6} className='match-height'> <PageHeader title={ <Typography variant='h5'> <Link href='https://github.com/apexcharts/react-apexcharts' target='_blank'> React ApexCharts </Link> </Typography> } subtitle={<Typography variant='body2'>React Component for ApexCharts</Typography>} /> <Grid item xs={12}> <ApexAreaChart /> </Grid> <Grid item xs={12}> <ApexColumnChart /> </Grid> <Grid item xs={12}> <ApexScatterChart /> </Grid> <Grid item xs={12}> <ApexLineChart /> </Grid> <Grid item xs={12} md={6}> <ApexBarChart /> </Grid> <Grid item xs={12} md={6}> <ApexCandlestickChart /> </Grid> <Grid item xs={12} md={6}> <ApexHeatmapChart /> </Grid> <Grid item xs={12} md={6}> <ApexRadialBarChart /> </Grid> <Grid item xs={12} md={6}> <ApexRadarChart /> </Grid> <Grid item xs={12} md={6}> <ApexDonutChart /> </Grid> </Grid> </DatePickerWrapper> </ApexChartWrapper> ) } export default ApexCharts