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

Function compatLayoutProperties

libs/echarts/echarts.simple.js:22872–22878  ·  view source on GitHub ↗
(option)

Source from the content-addressed store, hash-verified

22870}
22871
22872function compatLayoutProperties(option) {
22873 each$1(LAYOUT_PROPERTIES, function (prop) {
22874 if (prop[0] in option && !(prop[1] in option)) {
22875 option[prop[1]] = option[prop[0]];
22876 }
22877 });
22878}
22879
22880var LAYOUT_PROPERTIES = [
22881 ['x', 'left'], ['y', 'top'], ['x2', 'right'], ['y2', 'bottom']

Callers 1

backwardCompatFunction · 0.70

Calls 1

each$1Function · 0.70

Tested by

no test coverage detected