import type {Series} from 'sentry/types/echarts'; import {RateUnit} from 'sentry/utils/discover/fields'; import {formatRate} from 'sentry/utils/formatters'; import {CHART_HEIGHT} from 'sentry/views/performance/database/settings'; import {THROUGHPUT_COLOR} from 'sentry/views/starfish/colors'; import Chart, {ChartType} from 'sentry/views/starfish/components/chart'; import ChartPanel from 'sentry/views/starfish/components/chartPanel'; import {getThroughputChartTitle} from 'sentry/views/starfish/views/spans/types'; interface Props { isLoading: boolean; series: Series; error?: Error | null; } export function ThroughputChart({series, isLoading}: Props) { return ( formatRate(value, RateUnit.PER_MINUTE), }} /> ); }