import React, { Component } from 'react'; import ReactApexChart from 'react-apexcharts'; interface State { series: { name: string; data: number[] }[]; options: { chart: { type: string; height: number }; plotOptions: { bar: { colors: { ranges: { from: number; to: number; color: string }[] }; columnWidth: string } }; dataLabels: { enabled: boolean }; yaxis: { title: { text: string }; labels: { formatter: (y: number) => string } }; xaxis: { type: string; categories: string[]; labels: { rotate: number } }; }; } class ApexChartLineArea extends Component<{}, State> { render() { return (
); } } export default ApexChartLineArea;