I am trying to create an overlaid ideogram like this example (https://eweitz.github.io/ideogram/annotations-overlaid) but with a legend indicating the type of overlays, however when I create a legend with more than 7 keys, only 7 keys have coloured rectangles.

Is there a way to display rectangles for more than 7 keys?