Sencha Documentation

A single item of a legend (marker plus label)

Methods

 
Creates all the individual sprites for this legend item
Creates all the individual sprites for this legend item
 
updatePosition( [Object relativeTo] ) : Void
Update the positions of all this item's sprites to match the root position of the legend box.
Update the positions of all this item's sprites to match the root position of the legend box.

Parameters

  • relativeTo : Object
    (optional) If specified, this object's 'x' and 'y' values will be used as the reference point for the relative positioning. Defaults to the Legend.

Returns

  • Void