mirror of
https://github.com/BerriAI/litellm.git
synced 2026-09-07 08:26:10 +00:00
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:
parent
f8e5dc5034
commit
657ca3b81a
1 changed files with 3 additions and 3 deletions
|
|
@ -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) =>
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue