(fullLayout)
| 604 | } |
| 605 | |
| 606 | function getMainTitleTextAnchor(fullLayout) { |
| 607 | var title = fullLayout.title; |
| 608 | |
| 609 | var textAnchor = SVG_TEXT_ANCHOR_MIDDLE; |
| 610 | if(Lib.isRightAnchor(title)) { |
| 611 | textAnchor = SVG_TEXT_ANCHOR_END; |
| 612 | } else if(Lib.isLeftAnchor(title)) { |
| 613 | textAnchor = SVG_TEXT_ANCHOR_START; |
| 614 | } |
| 615 | |
| 616 | return textAnchor; |
| 617 | } |
| 618 | |
| 619 | function getMainTitleDy(fullLayout) { |
| 620 | var title = fullLayout.title; |
no outgoing calls
no test coverage detected
searching dependent graphs…