Consistent line colouring for chains and polygons