Compare commits

...

2 commits

Author SHA1 Message Date
733b7d6eab aggiunta bioregione 2020-03-12 16:57:06 +01:00
c71d09cd3e api e funghi 2020-02-27 23:48:24 +01:00
4 changed files with 384 additions and 377 deletions

BIN
chrome_scheda_singola.pdf Normal file

Binary file not shown.

Binary file not shown.

View file

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

View file

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