mirror of
				https://github.com/henrygd/beszel.git
				synced 2025-10-30 01:57:04 +00:00 
			
		
		
		
	[Feature] Let y axis for temperature not start at 0 (#1307)
* Let y axis not start at 0 * use auto auto
This commit is contained in:
		| @@ -64,7 +64,7 @@ export default memo(function TemperatureChart({ chartData }: { chartData: ChartD | ||||
| 						direction="ltr" | ||||
| 						orientation={chartData.orientation} | ||||
| 						className="tracking-tighter" | ||||
| 						domain={[0, "auto"]} | ||||
| 						domain={["auto", "auto"]} | ||||
| 						width={yAxisWidth} | ||||
| 						tickFormatter={(val) => { | ||||
| 							const { value, unit } = formatTemperature(val, userSettings.unitTemp) | ||||
| @@ -114,4 +114,4 @@ export default memo(function TemperatureChart({ chartData }: { chartData: ChartD | ||||
| 			</ChartContainer> | ||||
| 		</div> | ||||
| 	) | ||||
| }) | ||||
| }) | ||||
		Reference in New Issue
	
	Block a user
	 Sven van Ginkel
					Sven van Ginkel