Sencha Documentation
HOME
/
Ext JS
/
4.0
/
API
/
Ext.chart.LegendItem
EDIT
Ext.chart.LegendItem
Overview
Methods
A single item of a legend (marker plus label)
Methods
createSprites
: Void
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