api e funghi

This commit is contained in:
kiki 2020-02-27 23:48:24 +01:00
parent 04412fb29c
commit c71d09cd3e

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, "") +
@ -386,7 +395,8 @@ function coseshuffle(){
});
$("#search").autocomplete({
source: nomi});
source: dataset
});
};