MCPcopy Index your code
hub / github.com/apache/echarts / getBoxLayoutParams

Function getBoxLayoutParams

src/util/layout.ts:173–182  ·  view source on GitHub ↗
(boxLayoutModel: Model<BoxLayoutOptionMixin>, ignoreParent: boolean)

Source from the content-addressed store, hash-verified

171
172
173export function getBoxLayoutParams(boxLayoutModel: Model<BoxLayoutOptionMixin>, ignoreParent: boolean) {
174 return {
175 left: boxLayoutModel.getShallow('left', ignoreParent),
176 top: boxLayoutModel.getShallow('top', ignoreParent),
177 right: boxLayoutModel.getShallow('right', ignoreParent),
178 bottom: boxLayoutModel.getShallow('bottom', ignoreParent),
179 width: boxLayoutModel.getShallow('width', ignoreParent),
180 height: boxLayoutModel.getShallow('height', ignoreParent)
181 };
182}
183
184type CircleLayoutSeriesOption = SeriesOption & CircleLayoutOptionMixin<{
185 // `center: string | number` has been accepted in series.pie.

Callers 1

renderMethod · 0.90

Calls 1

getShallowMethod · 0.80

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…