charton API / @chart-on/core / index / priceRow
Function: priceRow()
priceRow(
price,rowSize):number
Defined in: packages/core/src/profile/footprint.ts:98
Row number of a price for a row height: rows are [k * rowSize, (k + 1) * rowSize). A price on a boundary belongs to the row above it, despite float noise.
Parameters
price
number
rowSize
number
Returns
number