Skip to content
Merged
Show file tree
Hide file tree
Changes from 2 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -135,14 +135,12 @@ export default function ChartUserByCountry() {
innerRadius: 75,
outerRadius: 100,
paddingAngle: 0,
highlightScope: { faded: 'global', highlighted: 'item' },
highlightScope: { fade: 'global', highlight: 'item' },
},
]}
height={260}
width={260}
slotProps={{
legend: { hidden: true },
}}
hideLegend
>
<PieCenterLabel primaryText="50K" secondaryText="Total" />
</PieChart>
Expand Down

This file was deleted.

Original file line number Diff line number Diff line change
Expand Up @@ -73,11 +73,7 @@ export default function PageViewsBarChart() {
height={250}
margin={{ left: 50, right: 0, top: 20, bottom: 20 }}
grid={{ horizontal: true }}
slotProps={{
legend: {
hidden: true,
},
}}
hideLegend
/>
</CardContent>
</Card>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -134,11 +134,7 @@ export default function SessionsChart() {
fill: "url('#direct')",
},
}}
slotProps={{
legend: {
hidden: true,
},
}}
hideLegend
>
<AreaGradient color={theme.palette.primary.dark} id="organic" />
<AreaGradient color={theme.palette.primary.main} id="referral" />
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,7 @@ export default function StatCard({ title, value, interval, trend, data }: StatCa
</Stack>
<Box sx={{ width: '100%', height: 50 }}>
<SparkLineChart
colors={[chartColor]}
color={chartColor}
data={data}
area
showHighlight
Expand Down
2 changes: 1 addition & 1 deletion examples/core/auth-nextjs-themed/app/mocks/gridData.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ function renderSparklineCell(params: GridCellParams<SparkLineData, any>) {
plotType="bar"
showHighlight
showTooltip
colors={['hsl(210, 98%, 42%)']}
color="hsl(210, 98%, 42%)"
xAxis={{
scaleType: 'band',
data,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ function renderSparklineCell(params: GridCellParams<SparkLineData, any>) {
plotType="bar"
showHighlight
showTooltip
colors={['hsl(210, 98%, 42%)']}
color="hsl(210, 98%, 42%)"
xAxis={{
scaleType: 'band',
data,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -47,6 +47,9 @@ export const dataDisplayCustomizations: Components<Theme> = {
[`& .${svgIconClasses.root}`]: {
color: theme.palette.text.primary,
},
[`& .${typographyClasses.root}`]: {
color: theme.palette.text.primary,
},
'&:focus-visible': {
backgroundColor: alpha(theme.palette.action.selected, 0.3),
},
Expand Down Expand Up @@ -82,6 +85,7 @@ export const dataDisplayCustomizations: Components<Theme> = {
},
},
},

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

unintentional new line?

MuiPaper: {
styleOverrides: {
root: ({ theme }) => ({
Expand Down