* @protected
(index)
| 362 | * @protected |
| 363 | */ |
| 364 | getLabelAndValue(index) { |
| 365 | const meta = this._cachedMeta; |
| 366 | const {iScale, vScale} = meta; |
| 367 | const parsed = this.getParsed(index); |
| 368 | const custom = parsed._custom; |
| 369 | const value = isFloatBar(custom) |
| 370 | ? '[' + custom.start + ', ' + custom.end + ']' |
| 371 | : '' + vScale.getLabelForValue(parsed[vScale.axis]); |
| 372 | |
| 373 | return { |
| 374 | label: '' + iScale.getLabelForValue(parsed[iScale.axis]), |
| 375 | value |
| 376 | }; |
| 377 | } |
| 378 | |
| 379 | initialize() { |
| 380 | this.enableOptionSharing = true; |
no test coverage detected