import { ChartDonutThreshold, ChartDonutUtilization } from '@patternfly/react-charts/victory'; interface UsageData { x: string; y: number; } export const ChartUtilStatic: 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 }; return (
(datum.x ? datum.x : null)} name="chart10" > (datum.x ? `${datum.x}: ${datum.y}%` : null)} subTitle="of 100 GBps" title="45%" />
); };