Fix Y-axis labels overlap on Spend per Tag (#12754)

* fix spend per tag bar chart labels

* remove console.log
This commit is contained in:
tanjiro 2025-07-20 01:40:40 +09:00 committed by GitHub
parent f8e5dc5034
commit 657ca3b81a
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -514,8 +514,8 @@ const EntityUsage: React.FC<EntityUsageProps> = ({
<Col numColSpan={1}>
<BarChart
className="mt-4 h-52"
data={getEntityBreakdown()}
index="metadata.alias"
data={getProcessedEntityBreakdownForChart()}
index="metadata.alias_display"
categories={["metrics.spend"]}
colors={["cyan"]}
valueFormatter={valueFormatterSpend}
@ -633,7 +633,7 @@ const EntityUsage: React.FC<EntityUsageProps> = ({
<BarChart
className="mt-4 h-40"
data={getTopModels()}
index="key"
index="display_key"
categories={["spend"]}
colors={["cyan"]}
valueFormatter={(value) =>