This kind of presentation is called a weight vs. moment 'fan chart'. Although the labeled and drawn x-axis is in CG position, it is really calculated in terms of moment (inch-lb). The reference datum is the location at the center of the chart with a vertical line.
Adding a mass at a location (relative to the datum) will cause a horizontal change -- independent of where you are vertically on the chart. For example, filling a forward fuel tank from empty to full -- will always cause the same change in moment relative to a datum. It will also cause the same vertical change. So, you can compute this change once and then 'move it around' in terms of a sequence of changes. This will tell you how the CG moves throughout a mission.
Any CG change will have an associated 'change vector'. We can add these vectors head-to-tail to get the history of a CG during a load.
Notice in this example how the gear up / gear down lines are exactly the same horizontal width? This is because raising and lowering the gear will always cause equal and opposite changes in moment. The gear change vector stays the same.
Imagine if we extended the gear when the aircraft was at 30,000 lb (in this scenario). We can quickly graphically compute the change in CG - to every point from there on down (ignoring that the gear would be separated from the airplane and other problems would occur if you put them down at that speed).