DIR:/home/drsekaran/public_html/admin/vendors/echarts/src/component/visualMap/ |
Current File : /home/drsekaran/public_html/admin/vendors/echarts/src/component/visualMap/visualMapAction.js |
/** * @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); }); }); }); |