MCPcopy Index your code
hub / github.com/SuperMap/iClient-JavaScript / prepareLayoutBarSeries

Function prepareLayoutBarSeries

libs/echarts/echarts-en.simple.js:36657–36666  ·  view source on GitHub ↗

* @param {Object} opt * @param {module:echarts/coord/Axis} opt.axis Only support category axis currently. * @param {number} opt.count Positive interger. * @param {number} [opt.barWidth] * @param {number} [opt.barMaxWidth] * @param {number} [opt.barMinWidth] * @param {number} [opt.barGap] * @p

(seriesType, ecModel)

Source from the content-addressed store, hash-verified

36655
36656
36657function prepareLayoutBarSeries(seriesType, ecModel) {
36658 var seriesModels = [];
36659 ecModel.eachSeriesByType(seriesType, function (seriesModel) {
36660 // Check series coordinate, do layout for cartesian2d only
36661 if (isOnCartesian(seriesModel) && !isInLargeMode(seriesModel)) {
36662 seriesModels.push(seriesModel);
36663 }
36664 });
36665 return seriesModels;
36666}
36667
36668
36669/**

Callers 2

layoutFunction · 0.70
getScaleExtentFunction · 0.70

Calls 3

pushMethod · 0.80
isOnCartesianFunction · 0.70
isInLargeModeFunction · 0.70

Tested by

no test coverage detected