feat: format solar power chart y-axis in kilowatts
Co-authored-by: aider (gemini/gemini-3.1-pro-preview) <aider@aider.chat>
This commit is contained in:
1 parent
964c109d1b
commit
c253ac5a86
1 file changed
+1
@@ -164,6 +164,7 @@ function SolarPower({end, duration}) {
|
||||
yAxisId='left'
|
||||
domain={[0, 6000]}
|
||||
width={35}
|
||||
tickFormatter={(tick) => tick === 0 ? 0 : (tick / 1000) + 'K'}
|
||||
/>
|
||||
|
||||
<CartesianGrid strokeDasharray='3 3'/>
|
||||
|
||||
Reference in new issue
Block a user