Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Invalidate bar label text measurer caches (#3546)
A bug exists where bar chart labels render incorrectly when the chart is first rendered into a invalid element, such as one with zero size or display: none style. Since text measurement is cached, these incorrect measurements would perist and the labels would remain broken even if the element becomes valid for rendering. This change correctly invalidates all the bar chart label measurer caches, and bar labels will then render correctly when the element becomes valid.
- Loading branch information
d0fa461
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Invalidate bar label text measurer caches (#3546)
Demo: quicktests | fiddle