1
0
mirror of https://gitlab.com/JKANetwork/CheckServer.git synced 2026-04-02 08:42:02 +02:00

Start again

This commit is contained in:
2020-10-04 17:14:00 +02:00
parent c0d3912413
commit 091f119048
4382 changed files with 1762543 additions and 9606 deletions

View File

@@ -0,0 +1,23 @@
/**
* @file Data range action
*/
define(function(require) {
var echarts = require('../../echarts');
var actionInfo = {
type: 'selectDataRange',
event: 'dataRangeSelected',
// FIXME use updateView appears wrong
update: 'update'
};
echarts.registerAction(actionInfo, function (payload, ecModel) {
ecModel.eachComponent({mainType: 'visualMap', query: payload}, function (model) {
model.setSelected(payload.selected);
});
});
});