Clamp temps domain to 100ºC
This commit is contained in:
@@ -29,6 +29,7 @@ export const Temps = () => {
|
|||||||
values: dynamicData.temps,
|
values: dynamicData.temps,
|
||||||
labels: staticData.components,
|
labels: staticData.components,
|
||||||
}}
|
}}
|
||||||
|
domain={[0, (max: number) => Math.max(100, Math.ceil(1.25*max))]}
|
||||||
formatOptions={{ si: true, prefix: false, units: 'ºC' }}
|
formatOptions={{ si: true, prefix: false, units: 'ºC' }}
|
||||||
data={history}
|
data={history}
|
||||||
total={staticData.components.length}
|
total={staticData.components.length}
|
||||||
|
|||||||
Reference in New Issue
Block a user