diff --git a/client/src/views/prometheusgraph.tsx b/client/src/views/prometheusgraph.tsx index 0a7035e..f51b43e 100644 --- a/client/src/views/prometheusgraph.tsx +++ b/client/src/views/prometheusgraph.tsx @@ -92,9 +92,11 @@ export default class PrometheusGraph extends Base { /> ({title: 'Time', value: new Date(d[0].x * 1000).toLocaleTimeString()}) + } itemsFormat={ d => [ - {title: 'Time', value: new Date(d[0].x * 1000).toLocaleTimeString()}, {title: 'Percent', value: `${(d[0].y * 100).toFixed(2)}%`}, ] }