import { Switch } from '@patternfly/react-core'; import { Chart, ChartAxis, ChartBoxPlot, ChartThemeColor } from '@patternfly/react-charts/victory'; import { useState } from 'react'; interface PetData { name?: string; x?: string; y?: number[]; } export const SkeletonsBoxPlotChart: React.FunctionComponent = () => { const [isChecked, setIsChecked] = useState(true); const handleChange = (_event: React.FormEvent, checked: boolean) => { setIsChecked(checked); }; const legendData: PetData[] = [{ name: 'Cats' }]; const data: PetData[] = [ { name: 'Cats', x: '2015', y: [1, 2, 3, 5] }, { name: 'Cats', x: '2016', y: [3, 2, 8, 10] }, { name: 'Cats', x: '2017', y: [2, 8, 6, 5] }, { name: 'Cats', x: '2018', y: [1, 3, 2, 9] } ]; return ( <>
); };