So I searched for "how to measure chainline" & found the article by Sheldon Brown.
For a 2 x 11 geartrain, it sounds like measuring the chainline in front is pretty straightforward: from the imaginary centerplane of the bike to the half-way plane between the 2 front rings.
For the rear, it sounds like it may take some measurements, divide by 2 and some addition/subtraction. I'm assuming that the front chainline distance should be nearly the same as cog
#6 in the rear (right)?
I should be able to look into this some more later today.