(maxPadding, boxPadding)
| 107 | } |
| 108 | |
| 109 | function updateMaxPadding(maxPadding, boxPadding) { |
| 110 | maxPadding.top = Math.max(maxPadding.top, boxPadding.top); |
| 111 | maxPadding.left = Math.max(maxPadding.left, boxPadding.left); |
| 112 | maxPadding.bottom = Math.max(maxPadding.bottom, boxPadding.bottom); |
| 113 | maxPadding.right = Math.max(maxPadding.right, boxPadding.right); |
| 114 | } |
| 115 | |
| 116 | function updateDims(chartArea, params, layout, stacks) { |
| 117 | const {pos, box} = layout; |
no outgoing calls
no test coverage detected
searching dependent graphs…