diff --git a/client/src/components/Widgets/LlmAlChangesQuadPlot.jsx b/client/src/components/Widgets/LlmAlChangesQuadPlot.jsx index 330436f..007c985 100644 --- a/client/src/components/Widgets/LlmAlChangesQuadPlot.jsx +++ b/client/src/components/Widgets/LlmAlChangesQuadPlot.jsx @@ -8,7 +8,7 @@ export default function LlmAlChangesQuadPlot(props) { let tn_percent = 0; let fp_percent = 0; let fn_percent = 0; - let just_false_count = 0; + let jf_percent = 0; let error_count = 0; let no_dvar_data_count = 0; @@ -40,16 +40,15 @@ export default function LlmAlChangesQuadPlot(props) { tn_percent = ((apiData[0]['tn_count']/apiData[0]['vr_count'])*100).toFixed(2); fp_percent = ((apiData[0]['fp_count']/apiData[0]['vr_count'])*100).toFixed(2); fn_percent = ((apiData[0]['fn_count']/apiData[0]['vr_count'])*100).toFixed(2); - just_false_count = apiData[0]['jf_count']; + jf_percent = ((apiData[0]['jf_count']/apiData[0]['vr_count'])*100).toFixed(2); error_count = apiData[0]['e_count']; no_dvar_data_count = apiData[0]['ndd_count']; } return ( - - - {/*Alert Level Changes Quad Plot*/} - All time + + + All Time @@ -84,20 +83,19 @@ export default function LlmAlChangesQuadPlot(props) { + +
+ + Just False + {jf_percent}% + {apiData[0]['jf_count']}/{apiData[0]['vr_count']} + +
+
- - - Just False: - {just_false_count} - - - Errors: - {error_count} - - - # of No DVAR Data: - {no_dvar_data_count} - + + Errors: {error_count} + No DVAR Data: {no_dvar_data_count} )