Returns an array consisting of the total width needed by the legend information, as well as an array of x-coords for each element.
ie: [200, [0, 50, 100, 150]]
Collects Legend Info from the provided Layers.
Automatically filters by legend‘s categories.
[Validate]