Question: How to redraw bullet label without re-rendering chart?
I have labels inside series.bullets. When external state changes, I want to update the label text without re-rendering the whole chart or recreating bullets.
I tried marking labels as dirty:
series.bulletsContainer.children.each((bullet) => {
const label = bullet.get("sprite");
label?.markDirty();
label?.text?.markDirtyText();
});
But the label text is not updating.
Is there a way to force label redraw/re-evaluation (like a “dirty” trigger) without:
- recreating bullets
- calling
series.data.setAll(...)
Thanks!
Question: How to redraw bullet label without re-rendering chart?
I have labels inside
series.bullets. When external state changes, I want to update the label text without re-rendering the whole chart or recreating bullets.I tried marking labels as dirty:
But the label text is not updating.
Is there a way to force label redraw/re-evaluation (like a “dirty” trigger) without:
series.data.setAll(...)Thanks!