MCPcopy Create free account
hub / github.com/rambaut/figtree / getMajorTickValue

Method getMajorTickValue

src/figtree/treeviewer/ScaleAxis.java:684–688  ·  view source on GitHub ↗

getMajorTick Returns the value of the majorTickIndex'th major tick

(int majorTickIndex)

Source from the content-addressed store, hash-verified

682 * Returns the value of the majorTickIndex'th major tick
683 */
684 public double getMajorTickValue(int majorTickIndex) {
685 if (!isCalibrated)
686 calibrate();
687 return (majorTickIndex*majorTick)+minTick;
688 }
689
690 /** getMinorTick
691 * Returns the value of the minorTickIndex'th minor tick

Callers 4

getMinorTickValueMethod · 0.95
paintAxisMethod · 0.95
getMaxTickLabelWidthMethod · 0.95
paintAxisMethod · 0.95

Calls 1

calibrateMethod · 0.95

Tested by

no test coverage detected