plotomics
    Preparing search index...

    Function tickUnit

    • The unit for the labels of ticks on multiples of step whose largest size is maxAbs: millions when that tick or the step reaches a million and the step is a whole number of thousands, thousands when the step is a whole number of hundreds from a thousand up, and none otherwise. Every label in it stays exact, with at most three decimals.

      Parameters

      • maxAbs: number
      • step: number

      Returns TickUnit