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

Function getViewRect

libs/echarts/echarts.simple.js:44240–44247  ·  view source on GitHub ↗
(seriesModel, api)

Source from the content-addressed store, hash-verified

44238var RADIAN = Math.PI / 180;
44239
44240function getViewRect(seriesModel, api) {
44241 return getLayoutRect(
44242 seriesModel.getBoxLayoutParams(), {
44243 width: api.getWidth(),
44244 height: api.getHeight()
44245 }
44246 );
44247}
44248
44249var pieLayout = function (seriesType, ecModel, api, payload) {
44250 ecModel.eachSeriesByType(seriesType, function (seriesModel) {

Callers 1

pieLayoutFunction · 0.70

Calls 3

getLayoutRectFunction · 0.70
getWidthMethod · 0.45
getHeightMethod · 0.45

Tested by

no test coverage detected