Compare commits

..

No commits in common. "733b7d6eabfb8fcdd7e79bb3d10820ccb646cb10" and "04412fb29c4819dd9d4b9ab050632e5d7357c2d4" have entirely different histories.

4 changed files with 377 additions and 384 deletions

Binary file not shown.

Binary file not shown.

View file

@ -65,6 +65,7 @@
window.print(); window.print();
location.reload(); location.reload();
} }
// stampa con grafica per Banco - orizzontale. meno dati // stampa con grafica per Banco - orizzontale. meno dati
function schedeBanco(){ function schedeBanco(){
@ -74,6 +75,8 @@
window.print(); window.print();
location.reload(); location.reload();
} }

View file

@ -45,10 +45,8 @@ function Aziende(stringexel) {
d3.csv(stringexel, function(data) { d3.csv(stringexel, function(data) {
dataset = data.map(function(d) { /*dataset = data.map(function(d) { return [ d["your-name"], +d["tel-216"] ]; });
return d["your-name"] console.log(dataset);*/
});
//console.log(dataset);
@ -101,8 +99,7 @@ function Aziende(stringexel) {
.attr("aria-labelledby", function(d) { .attr("aria-labelledby", function(d) {
return d["Data"].replace(/"/g,""); return d["Data"].replace(/"/g,"");
}) })
.attr("data-parent", "grid")*/ .attr("data-parent", "grid")*/;
;
var schede_info = schede_collassato.append("div") var schede_info = schede_collassato.append("div")
.attr("class", "card-body"); .attr("class", "card-body");
@ -270,15 +267,9 @@ function Aziende(stringexel) {
" "+d["checkbox-908"].replace(/"/g,"")+ " "+d["checkbox-908"].replace(/"/g,"")+
" "+d["text-436"].replace(/"/g,"")+ " "+d["text-436"].replace(/"/g,"")+
" "+d["textarea-624"].replace(/"/g,"")+ " "+d["textarea-624"].replace(/"/g,"")+
" " + d["checkbox-332"].replace(/"/g, "") +
" " + d["number-509"].replace(/"/g, "") +
" " + d["textarea-830"].replace(/"/g, "") +
" "+d["checkbox-81"].replace(/"/g,"")+ " "+d["checkbox-81"].replace(/"/g,"")+
" "+d["text-561"].replace(/"/g,"")+ " "+d["text-561"].replace(/"/g,"")+
" "+d["textarea-368"].replace(/"/g,"")+ " "+d["textarea-368"].replace(/"/g,"")+
" " + d["checkbox-552"].replace(/"/g, "") +
" " + d["number-156"].replace(/"/g, "") +
" " + d["text-210"].replace(/"/g, "") +
" "+d["checkbox-978"].replace(/"/g,"")+ " "+d["checkbox-978"].replace(/"/g,"")+
" "+d["text-741"].replace(/"/g,"")+ " "+d["text-741"].replace(/"/g,"")+
" "+d["number-965"].replace(/"/g,"")+ " "+d["number-965"].replace(/"/g,"")+
@ -339,7 +330,7 @@ function Aziende(stringexel) {
schede_info.append("p") schede_info.append("p")
.append("span") .append("span")
.attr("class", "info") .attr("class", "info")
.text("Desidera un altro mercato:") .text("Desidera mercato:")
.append("span") .append("span")
.text(function(d){ .text(function(d){
return " "+d["Situazione mercato"].replace(/"/g,""); return " "+d["Situazione mercato"].replace(/"/g,"");
@ -352,14 +343,14 @@ function Aziende(stringexel) {
.text(function(d){ .text(function(d){
return " "+d["note"].replace(/"/g,""); return " "+d["note"].replace(/"/g,"");
}); });
schede_info.append("p") /*schede_info.append("p")
.append("span") .append("span")
.attr("class", "info") .attr("class", "info")
.text("Bioregione:") .text("Bioregione:")
.append("span") .append("span")
.text(function(d){ .text(function(d){
return " "+d["checkbox-666"].replace(/"/g,""); return " "+d["Bioregione"].replace(/"/g,"");
}); });*/
coseshuffle(); coseshuffle();
@ -395,8 +386,7 @@ function coseshuffle() {
}); });
$("#search").autocomplete({ $("#search").autocomplete({
source: dataset source: nomi});
});
}; };