charton API / @chart-on/core / index / logPriceTicks
Function: logPriceTicks()
logPriceTicks(
min,max,heightPx,minSpacingPx?):number[]
Defined in: packages/core/src/util/format.ts:66
Ticks for a log10 price scale: walk the axis in screen space and snap each position to a round number for the local price step.
Parameters
min
number
max
number
heightPx
number
minSpacingPx?
number = 40
Returns
number[]