(cd0, plotSize)
| 937 | } |
| 938 | |
| 939 | function getTitleSpace(cd0, plotSize) { |
| 940 | var trace = cd0.trace; |
| 941 | var pieBoxHeight = plotSize.h * (trace.domain.y[1] - trace.domain.y[0]); |
| 942 | // use at most half of the plot for the title |
| 943 | return Math.min(cd0.titleBox.height, pieBoxHeight / 2); |
| 944 | } |
| 945 | |
| 946 | function getMaxPull(trace) { |
| 947 | var maxPull = trace.pull; |
no outgoing calls
no test coverage detected
searching dependent graphs…