(boxLayoutModel: Model<BoxLayoutOptionMixin>, ignoreParent: boolean)
| 171 | |
| 172 | |
| 173 | export 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 | |
| 184 | type CircleLayoutSeriesOption = SeriesOption & CircleLayoutOptionMixin<{ |
| 185 | // `center: string | number` has been accepted in series.pie. |
no test coverage detected
searching dependent graphs…