classes reduced in scl_data

parent ee0d4969
...@@ -77,6 +77,8 @@ body ...@@ -77,6 +77,8 @@ body
.draggable { .draggable {
padding: 0px; padding: 0px;
top: 120%;
left: 2%;
position: absolute; position: absolute;
z-index: -1; z-index: -1;
text-align: center; text-align: center;
......
...@@ -39,8 +39,8 @@ function dragElement(elmnt) { ...@@ -39,8 +39,8 @@ function dragElement(elmnt) {
} }
} }
function showGraph(){ function showGraph(type=false){
if ($('.showChart').is(':visible')){ if ($('.showChart').is(':visible') || type==true){
$("#draggableChart").css('z-index', 10); $("#draggableChart").css('z-index', 10);
$(".showChart").hide(); $(".showChart").hide();
$(".hideChart").show(); $(".hideChart").show();
......
...@@ -162,6 +162,7 @@ function change(newType) { ...@@ -162,6 +162,7 @@ function change(newType) {
} }
myChart = new Chart(ctx, temp); myChart = new Chart(ctx, temp);
showGraph(true)
}; };
let img, imgWidth=0, slider=false, clicked=0; let img, imgWidth=0, slider=false, clicked=0;
......
...@@ -405,13 +405,12 @@ def ProcessChartData(path): ...@@ -405,13 +405,12 @@ def ProcessChartData(path):
labelNames = [ labelNames = [
"No Data", "Saturated", "Shadows", "Cloud Shadows", "Vegetation", "No Data", "Saturated", "Shadows", "Cloud Shadows", "Vegetation",
"Not-Vegetated", "Water", "Unclassified", "Cloud Medium Probability", "Not-Vegetated", "Water", "Unclassified", "Clouds", "Snow"
"Cloud High Probability", "Thin Cirrus", "Snow"
] ]
colors = [ colors = [
"#383838", "#de3d3d", "#696767", "#98775b", "#44ba5d", "#fff98b", "#383838", "#de3d3d", "#696767", "#98775b", "#44ba5d", "#fff98b",
"#659acc", "#ababab", "#dddddd", "#d9f9ff", "#99d4d9", "#ff8afa" "#659acc", "#ababab", "#dddddd", "#ff8afa"
] ]
for l in labels: for l in labels:
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment