I am trying to create an animation using the tutorial (historical chart - data changing as years pass by). I managed to create the animation, but have the following issue:
I have to use a fixed year range. Depending on the dataset, sometimes the data is missing for the first year (for the first frame). In that case, the legend is not visible. In cases where the dataset is such that the first frame is populated with data, the legend is visible and everything works perfectly.
So it appears that displaying the legend depends on whether there is data in the first frame or not.
Any suggestions on how to tweak around this issue?