updated by GasGit automation
This commit is contained in:
parent
75e39d5105
commit
a097cf7d43
1 changed files with 6 additions and 2 deletions
|
@ -41,7 +41,7 @@ var Home = (function (home) {
|
||||||
|
|
||||||
Sankey.mapSettings(elementer);
|
Sankey.mapSettings(elementer);
|
||||||
Process.drawChart();
|
Process.drawChart();
|
||||||
App.toast ("Settings reset",
|
App.toast ("Settings restored",
|
||||||
"Your chart has been reformatted");
|
"Your chart has been reformatted");
|
||||||
|
|
||||||
}
|
}
|
||||||
|
@ -147,7 +147,11 @@ var Home = (function (home) {
|
||||||
|
|
||||||
// type of input data radio buttons
|
// type of input data radio buttons
|
||||||
['selectedRange','wholeSheet'].forEach (function (d) {
|
['selectedRange','wholeSheet'].forEach (function (d) {
|
||||||
Process.control.buttons[d].addEventListener ('click' , function () {
|
Process.control.buttons[d].addEventListener ('change' , function () {
|
||||||
|
// change the polling scope
|
||||||
|
if (Process.control.buttons[d].checked) {
|
||||||
|
Process.control.watching.watcher.getWatching().domain.scope = d === "selectedRange" ? "Active" : "Sheet";
|
||||||
|
}
|
||||||
Process.selectFields();
|
Process.selectFields();
|
||||||
Process.drawChart(true);
|
Process.drawChart(true);
|
||||||
});
|
});
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue