How do I link a Progress Bar to a Chart?

I seem to get either one happening before the other…how do link the two so the progress bar is accurate to the computation of the chart?

You’d have to implement some sort of callback that follows all the intermediate steps in computing the chart. Otherwise, the progress bar has no way of knowing how far a chart is in its own internal code.