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.
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.