import { addPropertyControls, Color, ControlType, Frame } from "framer"; import * as React from "react"; import Chart from "react-apexcharts"; enum ChartTypes { Line = "line", Area = "area", Bar = "bar", Heatmap = "heatmap", Radar = "radar" } export interface Props { width?: number; height?: number; points: number; seriesCount: number; chartType: ChartTypes; showToolbar: boolean; showLegend: boolean; showXaxis: boolean; showYaxis: boolean; isStacked: boolean; isHorizontal: boolean; colors: string[]; palette?: string; showStroke: boolean; stroke: number; strokeCurve: "smooth" | "straight" | "stepline"; fillType: "solid" | "gradient" | "pattern"; fillOpacity: number; onDataPointSelection?: () => void; onDataPointMouseEnter?: () => void; onDataPointMouseLeave?: () => void; } export const Charting = function(props) { return