import type {Series} from 'sentry/types/echarts'; import {formatPercentage} from 'sentry/utils/number/formatPercentage'; import {ALERTS} from 'sentry/views/insights/cache/alerts'; import {CHART_HEIGHT} from 'sentry/views/insights/cache/settings'; import {AVG_COLOR} from 'sentry/views/insights/colors'; import Chart, {ChartType} from 'sentry/views/insights/common/components/chart'; import ChartPanel from 'sentry/views/insights/common/components/chartPanel'; import {DataTitles} from 'sentry/views/insights/common/views/spans/types'; type Props = { isLoading: boolean; series: Series; error?: Error | null; }; export function CacheHitMissChart({series, isLoading, error}: Props) { return ( formatPercentage(value), }} /> ); }