Class Scruffy::Components::Legend
In: lib/scruffy/components/legend.rb
Parent: Base

Methods

Public Instance methods

Protected Instance methods

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]