import { Card, CardTitle, CardBody, CardFooter, Title, Gallery, GalleryItem } from '@patternfly/react-core'; import { ChartDonutThreshold, ChartDonutUtilization } from '@patternfly/react-charts/victory'; export const CardUtilizationDemo4: React.FunctionComponent = () => ( CPU Usage (datum.x ? datum.x : null)} padding={{ bottom: 0, left: 10, right: 150, top: 0 }} width={350} > (datum.x ? `${datum.x}: ${datum.y}%` : null)} legendData={[{ name: `Capacity: 80%` }, { name: 'Warning at 60%' }, { name: 'Danger at 90%' }]} legendOrientation="vertical" title="80%" subTitle="of 100 GBps" thresholds={[{ value: 60 }, { value: 90 }]} /> {' '} See details );