From d539968b790ab2a39bc1e1d04187e667f14b646c Mon Sep 17 00:00:00 2001 From: Ray Liu <rayliu109@gmail.com> Date: Wed, 28 Mar 2018 09:22:10 -0400 Subject: [PATCH] Edited histogram.jsp --- tomcat/webapps/Trawl/histogram.jsp | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/tomcat/webapps/Trawl/histogram.jsp b/tomcat/webapps/Trawl/histogram.jsp index c8d04c3..6a31a73 100644 --- a/tomcat/webapps/Trawl/histogram.jsp +++ b/tomcat/webapps/Trawl/histogram.jsp @@ -11,7 +11,7 @@ <body> - <div id="myDiv"><!-- Plotly chart will be drawn inside this DIV --></div> + <div id="histogram"><!-- Plotly chart will be drawn inside this DIV --></div> <script src="https://cdn.plot.ly/plotly-latest.min.js"></script> <script> @@ -37,7 +37,6 @@ { x: x, y: y, type: 'bar', - orientation: 'h', marker: { color: 'blue', }, @@ -61,6 +60,6 @@ } } } - Plotly.newPlot('Histogram', data,layout); + Plotly.newPlot('histogram', data,layout); </script> </body> -- GitLab