PHP Classes

File: vendors/echarts/src/chart/graph/simpleLayoutHelper.js

Recommend this page to a friend!
  Classes of Jorge Castro   Gentelella BladeOne   vendors/echarts/src/chart/graph/simpleLayoutHelper.js   Download  
File: vendors/echarts/src/chart/graph/simpleLayoutHelper.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: 506 bytes
 

Contents

Class file image Download
define(function (require) { var simpleLayoutEdge = require('./simpleLayoutEdge'); return function (seriesModel) { var coordSys = seriesModel.coordinateSystem; if (coordSys && coordSys.type !== 'view') { return; } var graph = seriesModel.getGraph(); graph.eachNode(function (node) { var model = node.getModel(); node.setLayout([+model.get('x'), +model.get('y')]); }); simpleLayoutEdge(graph); }; });