From 6be19c74534fb83fccfd5c7de95ddce5d4a253cb Mon Sep 17 00:00:00 2001 From: fnguyen Date: Mon, 26 Feb 2024 15:21:52 -0500 Subject: [PATCH] Fixup chart direction --- src/views/completeness/completeness.jsx | 11 +++++------ 1 file changed, 5 insertions(+), 6 deletions(-) diff --git a/src/views/completeness/completeness.jsx b/src/views/completeness/completeness.jsx index 046c463f..95d6fdb1 100644 --- a/src/views/completeness/completeness.jsx +++ b/src/views/completeness/completeness.jsx @@ -1,4 +1,4 @@ -import { createRef, useState, useEffect } from 'react'; +import { useState, useEffect } from 'react'; // mui // import { useTheme, makeStyles } from '@mui/styles'; @@ -15,7 +15,6 @@ import { CheckCircleOutline, WarningAmber, Person } from '@mui/icons-material'; // Test data import { useSidebarWriterContext } from 'layout/MainLayout/Sidebar/SidebarContext'; -import MainCard from 'ui-component/cards/MainCard'; import FieldLevelCompletenessGraph from './fieldLevelCompletenessGraph'; function Completeness() { @@ -161,10 +160,10 @@ function Completeness() { dataObject={numClinicalComplete || {}} data="full_clinical_data" dataVis="" - chartType="column" + chartType="bar" height="400px; auto" dropDown={false} - loading={undefined} + loading={isLoading} orderByFrequency cutoff={10} /> @@ -174,10 +173,10 @@ function Completeness() { dataObject={numGenomicComplete || {}} data="full_genomic_data" dataVis="" - chartType="column" + chartType="bar" height="400px; auto" dropDown={false} - loading={undefined} + loading={isLoading} orderByFrequency cutoff={10} />