(cd0)
| 864 | } |
| 865 | |
| 866 | function positionTitleInside(cd0) { |
| 867 | var textDiameter = Math.sqrt(cd0.titleBox.width * cd0.titleBox.width + cd0.titleBox.height * cd0.titleBox.height); |
| 868 | return { |
| 869 | x: cd0.cx, |
| 870 | y: cd0.cy, |
| 871 | scale: (cd0.trace.hole * cd0.r * 2) / textDiameter, |
| 872 | tx: 0, |
| 873 | ty: -cd0.titleBox.height / 2 + cd0.trace.title.font.size |
| 874 | }; |
| 875 | } |
| 876 | |
| 877 | function positionTitleOutside(cd0, plotSize) { |
| 878 | var scaleX = 1; |
no outgoing calls
no test coverage detected
searching dependent graphs…