* Get label is mainly for other components like dataZoom, tooltip.
(tick: ScaleTick)
| 152 | * Get label is mainly for other components like dataZoom, tooltip. |
| 153 | */ |
| 154 | getLabel(tick: ScaleTick): string { |
| 155 | return format( |
| 156 | tick.value, |
| 157 | fullLeveledFormatter[ |
| 158 | getDefaultFormatPrecisionOfInterval(getPrimaryTimeUnit(this._minLevelUnit)) |
| 159 | ] || fullLeveledFormatter.second, |
| 160 | this._useUTC, |
| 161 | this._locale |
| 162 | ); |
| 163 | } |
| 164 | |
| 165 | getFormattedLabel( |
| 166 | tick: ScaleTick, |
nothing calls this directly
no test coverage detected