color y axis and fix type error
All checks were successful
Lint / Lint and Typecheck (push) Successful in 47s
All checks were successful
Lint / Lint and Typecheck (push) Successful in 47s
closes #3
This commit is contained in:
parent
657770f4e7
commit
bf3da633b6
@ -414,8 +414,8 @@ export default function FireCalculatorForm() {
|
|||||||
min={25}
|
min={25}
|
||||||
max={75}
|
max={75}
|
||||||
step={1}
|
step={1}
|
||||||
onValueChange={(value) => {
|
onValueChange={(value: number[]) => {
|
||||||
field.onChange(...value);
|
field.onChange(value[0]);
|
||||||
void form.handleSubmit(onSubmit)();
|
void form.handleSubmit(onSubmit)();
|
||||||
}}
|
}}
|
||||||
className="py-4"
|
className="py-4"
|
||||||
@ -475,6 +475,8 @@ export default function FireCalculatorForm() {
|
|||||||
return value.toString();
|
return value.toString();
|
||||||
}}
|
}}
|
||||||
width={30}
|
width={30}
|
||||||
|
stroke="var(--color-orange-500)"
|
||||||
|
tick={{}}
|
||||||
/>
|
/>
|
||||||
{/* Left Y axis */}
|
{/* Left Y axis */}
|
||||||
<YAxis
|
<YAxis
|
||||||
@ -489,6 +491,7 @@ export default function FireCalculatorForm() {
|
|||||||
return value.toString();
|
return value.toString();
|
||||||
}}
|
}}
|
||||||
width={30}
|
width={30}
|
||||||
|
stroke="var(--color-red-600)"
|
||||||
/>
|
/>
|
||||||
<ChartTooltip content={tooltipRenderer} />
|
<ChartTooltip content={tooltipRenderer} />
|
||||||
<defs>
|
<defs>
|
||||||
|
Loading…
x
Reference in New Issue
Block a user