import React, { Component } from "react"; import Card from "@mui/material/Card"; import { Typography } from "@mui/material"; import dynamic from "next/dynamic"; const Chart = dynamic(() => import("react-apexcharts"), { ssr: false, }); class BasicBarCharts extends Component { constructor(props) { super(props); this.state = { series: [ { data: [400, 430, 448, 470, 540, 580, 690, 1100, 1200, 1380], }, ], options: { plotOptions: { bar: { borderRadius: 4, horizontal: true, }, }, dataLabels: { enabled: false, }, xaxis: { categories: [ "South Korea", "Canada", "United Kingdom", "Netherlands", "Italy", "France", "Japan", "United States", "China", "Germany", ], }, }, }; } render() { return ( <> Basic Bar Charts ); } } export default BasicBarCharts;