Rename to Protodust, fix y-axis
This commit is contained in:
parent
5a03d7f01e
commit
a47a7f7ff6
|
@ -380,7 +380,7 @@ export function Charts(props) {
|
||||||
<p>Retained Count: number of those signups who are still a member currently.</p>
|
<p>Retained Count: number of those signups who are still a member currently.</p>
|
||||||
|
|
||||||
|
|
||||||
<Header size='medium'>Dust Level</Header>
|
<Header size='medium'>Protodust Level</Header>
|
||||||
|
|
||||||
<p>Averaged every 15 minutes for the past week. They are cheap sensors so don't trust the absolute value of the readings.</p>
|
<p>Averaged every 15 minutes for the past week. They are cheap sensors so don't trust the absolute value of the readings.</p>
|
||||||
|
|
||||||
|
@ -390,7 +390,7 @@ export function Charts(props) {
|
||||||
<ResponsiveContainer width='100%' height={300}>
|
<ResponsiveContainer width='100%' height={300}>
|
||||||
<LineChart data={classroomDustLevel} syncId={1}>
|
<LineChart data={classroomDustLevel} syncId={1}>
|
||||||
<XAxis dataKey='time' tickFormatter={(t) => moment(t).format('ddd h:mm a')} minTickGap={10} />
|
<XAxis dataKey='time' tickFormatter={(t) => moment(t).format('ddd h:mm a')} minTickGap={10} />
|
||||||
<YAxis />
|
<YAxis domain={[0, 60]} />
|
||||||
<CartesianGrid strokeDasharray='3 3'/>
|
<CartesianGrid strokeDasharray='3 3'/>
|
||||||
<Tooltip formatter={v => v.toFixed(2) + ' μg/m³'} labelFormatter={t => 'Time: ' + moment(t).format('ddd h:mm a')} />
|
<Tooltip formatter={v => v.toFixed(2) + ' μg/m³'} labelFormatter={t => 'Time: ' + moment(t).format('ddd h:mm a')} />
|
||||||
<Legend />
|
<Legend />
|
||||||
|
@ -410,7 +410,7 @@ export function Charts(props) {
|
||||||
<ResponsiveContainer width='100%' height={300}>
|
<ResponsiveContainer width='100%' height={300}>
|
||||||
<LineChart data={woodshopDustLevel} syncId={1}>
|
<LineChart data={woodshopDustLevel} syncId={1}>
|
||||||
<XAxis dataKey='time' tickFormatter={(t) => moment(t).format('ddd h:mm a')} minTickGap={10} />
|
<XAxis dataKey='time' tickFormatter={(t) => moment(t).format('ddd h:mm a')} minTickGap={10} />
|
||||||
<YAxis />
|
<YAxis domain={[0, 60]} />
|
||||||
<CartesianGrid strokeDasharray='3 3'/>
|
<CartesianGrid strokeDasharray='3 3'/>
|
||||||
<Tooltip formatter={v => v.toFixed(2) + ' μg/m³'} labelFormatter={t => 'Time: ' + moment(t).format('ddd h:mm a')} />
|
<Tooltip formatter={v => v.toFixed(2) + ' μg/m³'} labelFormatter={t => 'Time: ' + moment(t).format('ddd h:mm a')} />
|
||||||
<Legend />
|
<Legend />
|
||||||
|
|
Loading…
Reference in New Issue
Block a user