Skip to content

Commit

Permalink
New QC Plots: Make Disclaimer more Prominent
Browse files Browse the repository at this point in the history
  • Loading branch information
danjasuw committed Mar 5, 2020
1 parent ee9d9ff commit 7007115
Show file tree
Hide file tree
Showing 2 changed files with 15 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -332,14 +332,16 @@ var QCPageChartScanFileStatistics_MS1_PerScan_BoxPlot_IonCurrent_IonInjectionTim
const $Scan_Statistics_Per_Scan_Ion_Injection_Time_BoxPlot_Charts_Block_Charts_Label = $("#Scan_Statistics_Per_Scan_Ion_Injection_Time_BoxPlot_Charts_Block_Charts_Label");
$Scan_Statistics_Per_Scan_Ion_Injection_Time_BoxPlot_Charts_Block_Charts_Label.show();

const Scan_Statistics_Per_Scan_Ion_Injection_Time_BoxPlot_Charts_Block_Charts_Label_HTML = $Scan_Statistics_Per_Scan_Ion_Injection_Time_BoxPlot_Charts_Block_Charts_Label.html()

// for ( const scanLevel of scanLevels ) {

// const $chart_outer_container_jq = this._addChartOuterTemplate( { $chart_group_container_table_jq : $Scan_Statistics_Per_Scan_Ion_Injection_Time_BoxPlot_Charts_Block } );
// var $chart_container_jq = this._addChartInnerTemplate( { $chart_outer_container_jq : $chart_outer_container_jq } );

// const chartTitleAddition = ". X Axis labels are Scan Numbers of MS1 Scans"

const chartTitleAddition = ". X Axis labels are Retention Time (minutes) of MS1 Scans"
const chartTitleAddition = ". X Axis labels are Retention Time (minutes) of MS1 Scans. !!!! Disclaimer: For Scans with ONLY Dots at Zero, that means there is NO Data !!!!"

{
const $div = $("<div></div>");
Expand All @@ -354,6 +356,10 @@ var QCPageChartScanFileStatistics_MS1_PerScan_BoxPlot_IonCurrent_IonInjectionTim
$chartContainer : $div
} );
}
{
// Append Disclaimer HTML
$Scan_Statistics_Per_Scan_Ion_Injection_Time_BoxPlot_Charts_Block.append( Scan_Statistics_Per_Scan_Ion_Injection_Time_BoxPlot_Charts_Block_Charts_Label_HTML );
}
{
const $div = $("<div></div>");

Expand All @@ -367,6 +373,10 @@ var QCPageChartScanFileStatistics_MS1_PerScan_BoxPlot_IonCurrent_IonInjectionTim
$chartContainer : $div
} );
}
{
// Append Disclaimer HTML
$Scan_Statistics_Per_Scan_Ion_Injection_Time_BoxPlot_Charts_Block.append( Scan_Statistics_Per_Scan_Ion_Injection_Time_BoxPlot_Charts_Block_Charts_Label_HTML );
}

// WAS

Expand Down
6 changes: 4 additions & 2 deletions proxl_web_app/src/main/webapp/WEB-INF/jsp-pages/viewQC.jsp
Original file line number Diff line number Diff line change
Expand Up @@ -643,9 +643,11 @@ The total ion current in the bin is indicated by color, as indicated by the lege
Data is NOT available in the system to create these charts
</div>
<div style="margin-top: 10px; display: none;"
<div style=" display: none; "
id="Scan_Statistics_Per_Scan_Ion_Injection_Time_BoxPlot_Charts_Block_Charts_Label">
!!!! <b>Disclaimer</b>: For Scans with <b>ONLY Dots at Zero</b>, that means there is <b>NO Data</b> !!!!
<div style="margin-top: 10px; font-size: 18px; color: red; " >
!!!! <b>Disclaimer</b>: For Scans with <b>ONLY Dots at Zero</b>, that means there is <b>NO Data</b> !!!!
</div>
</div>
<div id="Scan_Statistics_Per_Scan_Ion_Injection_Time_BoxPlot_Charts_Block" class="table-no-border-no-cell-spacing-no-cell-padding" >
Expand Down

0 comments on commit 7007115

Please sign in to comment.