Version
5.4.1 - 5.4.3
Link to Minimal Reproduction
Steps to Reproduce
- Create mark line
- Set label => distance with array(as it says in docs), as I did in the example on the 48 and 59 strings
- Profit
Current Behavior
Second value in array just ignored
Expected Behavior
Second value in array must be set vertical distance of the markLine's label
Environment
- OS: windows 10
- Browser: chrome, opera
- Framework: vanilla js
Any additional comments?
No response
3条答案
按热度按时间8cdiaqws1#
Could be considered a documentation bug.
Vertical (second) distance works only for markLine.label.position set to 'middle', but not for 'start' or 'end'.
rkttyhzu2#
Could be considered a documentation bug. Vertical (second) distance works only for markLine.label.position set to 'middle', but not for 'start' or 'end'.
Padding top in label is also documentation bug?
s2j5cfk03#
yes, like distance, padding works only at position:'middle' - Demo Code