🪢 Open source agent evals & observability: Trace, evaluate, and improve LLM applications with one open platform.
TypeScript analyticsautogenevaluationlangchainlarge-language-modelsllama-indexllmllm-evaluationllm-observabilityllmopsmonitoringobservabilityopen-sourceopenaiplaygroundprompt-engineeringprompt-managementself-hostedycombinator
fix(score-analytics): css on categorical charts (#6710)
marliessophie78958ac5f913
diff --git a/web/src/features/scores/components/ScoreChart.tsx b/web/src/features/scores/components/ScoreChart.tsxindex de63d7524a..e167710257 100644--- a/web/src/features/scores/components/ScoreChart.tsx+++ b/web/src/features/scores/components/ScoreChart.tsx@@ -32,12 +32,15 @@ export function CategoricalChart(props: {) : (<CardclassName={cn(- "max-h-full min-h-0 rounded-tremor-default border",+ "max-h-full min-h-0 min-w-0 max-w-full flex-1 rounded-tremor-default border",props.className,)}><BarChart- className={cn("mt-4 max-h-full min-h-0", props.chartClass)}+ className={cn(+ "max-h-full min-h-0 min-w-0 max-w-full",+ props.chartClass,+ )}data={props.chartData}index="binLabel"categories={props.chartLabels}diff --git a/web/src/features/scores/components/TimeseriesChart.tsx b/web/src/features/scores/components/TimeseriesChart.tsxindex e1c1a6f1ee..cf15e085f9 100644--- a/web/src/features/scores/components/TimeseriesChart.tsx+++ b/web/src/features/scores/components/TimeseriesChart.tsx@@ -30,8 +30,6 @@ export function TimeseriesChart({<CategoricalChartchartLabels={chartLabels}chartData={chartData}- className="h-full"- chartClass="h-full mt-0"showXAxis={chartData.length < 3}/>) : (