From cf46404de48b775b3a8b3271a328c0dac5d3adad Mon Sep 17 00:00:00 2001 From: JacobsonMT Date: Thu, 4 Aug 2016 16:28:41 -0700 Subject: [PATCH] Adds contextual help to Gene Tracking Also adds evidence type infograph. See Issues #11 & #6. --- .../ubc/pavlab/gotrack/beans/GeneView.java | 2 +- gotrack/src/main/webapp/genes.xhtml | 119 ++++++++++++++++-- .../src/main/webapp/resources/css/common.css | 10 +- .../src/main/webapp/resources/css/genes.css | 4 + .../img/diag-evCodeFlowChartGood.png | Bin 0 -> 141767 bytes 5 files changed, 122 insertions(+), 13 deletions(-) create mode 100644 gotrack/src/main/webapp/resources/img/diag-evCodeFlowChartGood.png diff --git a/gotrack/src/main/java/ubc/pavlab/gotrack/beans/GeneView.java b/gotrack/src/main/java/ubc/pavlab/gotrack/beans/GeneView.java index e9ec0e2..6beb162 100644 --- a/gotrack/src/main/java/ubc/pavlab/gotrack/beans/GeneView.java +++ b/gotrack/src/main/java/ubc/pavlab/gotrack/beans/GeneView.java @@ -510,7 +510,7 @@ private void fetchMultifunctionalityChart( RequestContext.getCurrentInstance().addCallbackParam( "hc_success", true ); RequestContext.getCurrentInstance().addCallbackParam( "hc_title", "Multifunctionality of " + gene.getSymbol() + " vs Time" ); - RequestContext.getCurrentInstance().addCallbackParam( "hc_ylabel", "Multifunctionality" ); + RequestContext.getCurrentInstance().addCallbackParam( "hc_ylabel", "Multifunctionality [10^-5]" ); RequestContext.getCurrentInstance().addCallbackParam( "hc_xlabel", "Date" ); RequestContext.getCurrentInstance().addCallbackParam( "hc_data", chart ); } diff --git a/gotrack/src/main/webapp/genes.xhtml b/gotrack/src/main/webapp/genes.xhtml index 53f485b..a7de91e 100644 --- a/gotrack/src/main/webapp/genes.xhtml +++ b/gotrack/src/main/webapp/genes.xhtml @@ -49,6 +49,12 @@ + + + + - - - + + + + + + +