import Switch from '@mui/material/Switch' import React, { useState } from 'react' import { H2, Label1 } from 'src/components/typography' import { Select } from 'src/components/inputs' import { primaryColor } from 'src/styling/variables' import Graph from '../../graphs/Graph' import LegendEntry from '../LegendEntry' import classes from './wrappers.module.css' const OverTimeDotGraphHeader = ({ title, representing, period, data, machines, selectedMachine, handleMachineChange, timezone, currency, }) => { const [logarithmic, setLogarithmic] = useState() const legend = { cashIn:
, cashOut:
, transaction:
, median: ( ), } return ( <>

{title}

Log. scale setLogarithmic(event.target.checked)} />