Avoid re-generating stackData() more than once per graph update