On paper, you want the center ring to line up perfectly with the center cog of your cassette. (presuming an odd number of cogs, else "split the difference" if an even number)
However, some of us match it to our specific needs.
For example, I tend to use my 3X9 on the middle ring and outer cogs mostly, so I use a slightly longer spindle to better match those cogs.