-
-
Notifications
You must be signed in to change notification settings - Fork 1.3k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
b8c38c6
commit d4710a9
Showing
8 changed files
with
26 additions
and
25 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,11 +1,12 @@ | ||
import * as React from 'react'; | ||
import Stack from '@mui/material/Stack'; | ||
import { Gauge } from '@mui/x-charts/Gauge'; | ||
|
||
export default function BasicGauges() { | ||
return ( | ||
<React.Fragment> | ||
<Gauge value={60} /> | ||
<Gauge value={60} startAngle={-90} endAngle={90} /> | ||
</React.Fragment> | ||
<Stack direction={{ xs: 'column', md: 'row' }} spacing={{ xs: 1, md: 3 }}> | ||
<Gauge width={100} height={100} value={60} /> | ||
<Gauge width={100} height={100} value={60} startAngle={-90} endAngle={90} /> | ||
</Stack> | ||
); | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,11 +1,12 @@ | ||
import * as React from 'react'; | ||
import Stack from '@mui/material/Stack'; | ||
import { Gauge } from '@mui/x-charts/Gauge'; | ||
|
||
export default function BasicGauges() { | ||
return ( | ||
<React.Fragment> | ||
<Gauge value={60} /> | ||
<Gauge value={60} startAngle={-90} endAngle={90} /> | ||
</React.Fragment> | ||
<Stack direction={{ xs: 'column', md: 'row' }} spacing={{ xs: 1, md: 3 }}> | ||
<Gauge width={100} height={100} value={60} /> | ||
<Gauge width={100} height={100} value={60} startAngle={-90} endAngle={90} /> | ||
</Stack> | ||
); | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,2 @@ | ||
<React.Fragment> | ||
<Gauge value={60} /> | ||
<Gauge value={60} startAngle={-90} endAngle={90} /> | ||
</React.Fragment> | ||
<Gauge width={100} height={100} value={60} /> | ||
<Gauge width={100} height={100} value={60} startAngle={-90} endAngle={90} /> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,11 +1,12 @@ | ||
import * as React from 'react'; | ||
import Stack from '@mui/material/Stack'; | ||
import { Gauge } from '@mui/x-charts/Gauge'; | ||
|
||
export default function GaugeValueRangeNoSnap() { | ||
return ( | ||
<React.Fragment> | ||
<Gauge value={50} /> | ||
<Gauge value={50} valueMin={10} valueMax={60} /> | ||
</React.Fragment> | ||
<Stack direction={{ xs: 'column', md: 'row' }} spacing={{ xs: 1, md: 3 }}> | ||
<Gauge width={100} height={100} value={50} /> | ||
<Gauge width={100} height={100} value={50} valueMin={10} valueMax={60} /> | ||
</Stack> | ||
); | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,11 +1,12 @@ | ||
import * as React from 'react'; | ||
import Stack from '@mui/material/Stack'; | ||
import { Gauge } from '@mui/x-charts/Gauge'; | ||
|
||
export default function GaugeValueRangeNoSnap() { | ||
return ( | ||
<React.Fragment> | ||
<Gauge value={50} /> | ||
<Gauge value={50} valueMin={10} valueMax={60} /> | ||
</React.Fragment> | ||
<Stack direction={{ xs: 'column', md: 'row' }} spacing={{ xs: 1, md: 3 }}> | ||
<Gauge width={100} height={100} value={50} /> | ||
<Gauge width={100} height={100} value={50} valueMin={10} valueMax={60} /> | ||
</Stack> | ||
); | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,2 @@ | ||
<React.Fragment> | ||
<Gauge value={50} /> | ||
<Gauge value={50} valueMin={10} valueMax={60} /> | ||
</React.Fragment> | ||
<Gauge width={100} height={100} value={50} /> | ||
<Gauge width={100} height={100} value={50} valueMin={10} valueMax={60} /> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters