Update doc on label types for TooltipItem#6030
Conversation
|
I was debating that as well. That approach would make sense to me |
|
I agree they should be strings. That is not the case (yet) though, and these changes reflect current situation. |
|
If users expect |
|
For these new ones, yes I think they should be formatted and/or forced to string before 2.8 release. |
|
Now |
Also update the docs for `xLabel` and `yLabel` to also accept a `number`.
Also update the docs for `xLabel` and `yLabel` to also accept a `number`.
Also update the docs for `xLabel` and `yLabel` to also accept a `number`.
Also update the docs for `xLabel` and `yLabel` to also accept a `number`.
labelandvalueinTooltipItemare the return values fromscale.getLabelForIndexwhich can benumberorstring.Fixes #5830