style updates

This commit is contained in:
Henry Dollman
2024-11-12 15:03:15 -05:00
parent 3cd11d6bc4
commit 8a2e821c8f
8 changed files with 48 additions and 35 deletions

View File

@@ -104,7 +104,7 @@ export default memo(function GpuPowerChart({ chartData }: { chartData: ChartData
isAnimationActive={false}
/>
))}
{colors.length < 12 && <ChartLegend content={<ChartLegendContent />} />}
{colors.length > 1 && <ChartLegend content={<ChartLegendContent />} />}
</LineChart>
</ChartContainer>
</div>