import { ChartDonutThreshold, ChartDonutUtilization } from '@patternfly/react-charts/victory'; interface UsageData { x?: string; y?: number; name?: string; } export const ChartUtilSmallSubtitle: React.FunctionComponent = () => { const dataThreshold: UsageData[] = [ { x: 'Warning at 60%', y: 60 }, { x: 'Danger at 90%', y: 90 } ]; const dataUtil: UsageData = { x: 'Storage capacity', y: 45 }; const legendData: UsageData[] = [ { name: `Storage capacity: 45%` }, { name: 'Warning threshold at 60%' }, { name: 'Danger threshold at 90%' } ]; return (