diff --git a/controllets/data-sevc-controllet/datalets-modifier-controllet.html b/controllets/data-sevc-controllet/datalets-modifier-controllet.html new file mode 100755 index 0000000..3904831 --- /dev/null +++ b/controllets/data-sevc-controllet/datalets-modifier-controllet.html @@ -0,0 +1,180 @@ + + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/controllets/select-visualization-controllet/select-visualization-controllet.html b/controllets/select-visualization-controllet/select-visualization-controllet.html index c6f9b64..f6cf177 100755 --- a/controllets/select-visualization-controllet/select-visualization-controllet.html +++ b/controllets/select-visualization-controllet/select-visualization-controllet.html @@ -342,7 +342,8 @@ this.selectedFields = inputs.getSelectedFields(); - this.params = {'data-url' : this.dataUrl}; + this.params = {'data-url' : this.dataUrl};//?????????????????? +// this.params = {}; this.params["filters"] = JSON.stringify(this.filters); this.params["aggregators"] = JSON.stringify(inputs.getAggregators()); @@ -355,12 +356,12 @@ var data = alasql_complexSelectData(this.data, this.selectedFields, this.filters, inputs.getAggregators(), inputs.getOrders()); data = transformData(data, this.selectedFields, true); - this.params["data"] = JSON.stringify(data); + this.params["data"] = JSON.stringify(data).replace(/'/g, "'"); var dataletParams ={ component: this.selectedDatalet+"-datalet", - params: this.params, fields: this.selectedFields, + params: this.params, placeHolder: this.$.datalet_selection_datalet_placeholder, }; @@ -375,9 +376,9 @@ var data = { dataUrl: this.dataUrl, - params: this.params, - fields: this.selectedFields, datalet: this.selectedDatalet+"-datalet", + fields: this.selectedFields, + params: this.params, staticData: JSON.stringify(this.$.datalet_selection_datalet_placeholder.children[1].behavior.data) } diff --git a/datalets/base-ajax-json-alasql-datalet/base-ajax-json-alasql-datalet.html b/datalets/base-ajax-json-alasql-datalet/base-ajax-json-alasql-datalet.html index 24e7f62..88ce192 100755 --- a/datalets/base-ajax-json-alasql-datalet/base-ajax-json-alasql-datalet.html +++ b/datalets/base-ajax-json-alasql-datalet/base-ajax-json-alasql-datalet.html @@ -64,7 +64,7 @@ Example : - +