* Generate tick values for the given scale and approximate tick count or * interval value. If the scale has a 'ticks' method, it will be used to * generate the ticks, with the count argument passed as a parameter. If the * scale lacks a 'ticks' method, the full scale domain will be returned. * @
(scale10, count)
| 127172 | * @param {*} [count] - The approximate number of desired ticks. |
| 127173 | * @return {Array<*>} - The generated tick values. |
| 127174 | */ function tickValues(scale10, count) { |
| 127175 | return scale10.bins ? validTicks(scale10, scale10.bins) : scale10.ticks ? scale10.ticks(count) : scale10.domain(); |
| 127176 | } |
| 127177 | /** |
| 127178 | * Generate a label format function for a scale. If the scale has a |
| 127179 | * 'tickFormat' method, it will be used to generate the formatter, with the |
no test coverage detected