X-Git-Url: http://git.ithinksw.org/extjs.git/blobdiff_plain/6a7e4474cba9d8be4b2ec445e10f1691f7277c50..7a654f8d43fdb43d78b63d90528bed6e86b608cc:/docs/api/Ext.chart.Label.html diff --git a/docs/api/Ext.chart.Label.html b/docs/api/Ext.chart.Label.html new file mode 100644 index 00000000..35a22355 --- /dev/null +++ b/docs/api/Ext.chart.Label.html @@ -0,0 +1,97 @@ +
Labels is a mixin whose methods are appended onto the Series class. Labels is an interface with methods implemented +in each of the Series (Pie, Bar, etc) for label creation and label placement.
+ +The methods implemented by the Series are:
+ +onCreateLabel(storeItem, item, i, display)
Called each time a new label is created.
+The arguments of the method are:
storeItem
The element of the store that is related to the label sprite.item
The item related to the label sprite. An item is an object containing the position of the shape
+used to describe the visualization and also pointing to the actual shape (circle, rectangle, path, etc).i
The index of the element created (i.e the first created label, second created label, etc)display
The display type. May be false if the label is hiddenonPlaceLabel(label, storeItem, item, i, display, animate)
Called for updating the position of the label.
+The arguments of the method are:
label
The sprite label.storeItem
The element of the store that is related to the label spriteitem
The item related to the label sprite. An item is an object containing the position of the shape
+used to describe the visualization and also pointing to the actual shape (circle, rectangle, path, etc).i
The index of the element to be updated (i.e. whether it is the first, second, third from the labelGroup)display
The display type. May be false if the label is hidden.animate
A boolean value to set or unset animations for the labels.The color of the label text. +Default value: '#000' (black).
+The color of the label text. +Default value: '#000' (black).
+Specifies the presence and position of labels for each pie slice. Either "rotate", "middle", "insideStart", +"insideEnd", "outside", "over", "under", or "none" to prevent label rendering. +Default value: 'none'.
+The name of the field to be displayed in the label. +Default value: 'name'.
+The name of the field to be displayed in the label. +Default value: 'name'.
+The font used for the labels. +Defautl value: "11px Helvetica, sans-serif".
+The font used for the labels. +Defautl value: "11px Helvetica, sans-serif".
+Specifies the minimum distance from a label to the origin of the visualization. +This parameter is useful when using PieSeries width variable pie slice lengths. +Default value: 50.
+Either "horizontal" or "vertical". +Dafault value: "horizontal".
+Either "horizontal" or "vertical". +Dafault value: "horizontal".
+