PHP Classes

File: vendors/echarts/src/component/visualMap/visualMapAction.js

Recommend this page to a friend!
  Classes of Jorge Castro   Gentelella BladeOne   vendors/echarts/src/component/visualMap/visualMapAction.js   Download  
File: vendors/echarts/src/component/visualMap/visualMapAction.js
Role: Auxiliary data
Content type: text/plain
Description: Auxiliary data
Class: Gentelella BladeOne
Render templates using Bootstrap for presentation
Author: By
Last change:
Date: 3 years ago
Size: 513 bytes
 

Contents

Class file image Download
/** * @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); }); }); });