src/layout/render.js
function blockTicks (d) {
    const k = (d.end - d.start) / d.len
    return range(0, d.len, conf.ticks.spacing).map((v, i) => {
      return {
        angle: v * k + d.start,
        label: displayLabel(v, i)
      }
    })
  }
function blockTicks (d) {
    const k = (d.end - d.start) / d.len
    return range(0, d.len, conf.ticks.spacing).map((v, i) => {
      return {
        angle: v * k + d.start,
        label: displayLabel(v, i)
      }
    })
  }
function blockTicks ( d ) { const k = ( d . end - d . start ) / d . len return range ( 0 , d . len , conf . ticks . spacing ) . map ( ( v , i ) => { return { angle : v * k + d . start , label : displayLabel ( v , i ) } } ) }
Returns an array of tick angles and labels, given a block.
Returns an array of tick angles and labels given a block .