Skip to content

Commit 6ef5962

Browse files
committed
Refactor Dashboard Trend Layout
1 parent 809a5dd commit 6ef5962

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

client/src/views/Dashboard/GroupedBarChart/index.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,9 +14,10 @@ import {
1414

1515
function CustomizedLabel(props) {
1616
const { x, y, width, value } = props;
17+
1718
return (
1819
<text
19-
x={x + width / 2}
20+
x={x + width / 2.75}
2021
y={y}
2122
dy={-8}
2223
fontSize="12"
@@ -31,7 +32,6 @@ export default function GroupedBarChart(props) {
3132
data,
3233
} = props;
3334

34-
3535
if (data.values.length <= 0) {
3636
return (
3737
<div>Nothing to show</div>

client/src/views/Report/index.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -560,7 +560,7 @@ class Report extends PureComponent {
560560
<div className={styles.vizContainer}>
561561
<div className={styles.viz}>
562562
<DonutChartReCharts
563-
data={childDonutData}
563+
data={healthDonut}
564564
colorScheme={triColorScheme}
565565
/>
566566
</div>

0 commit comments

Comments
 (0)