| Parameter | Type | Description | Defined By |
|---|---|---|---|
| animating_draw | Boolean | If true when chart animating it also invoke darw.(default to true) | Custom |
| drawFn | Function | Specifies the customize function.(default to emptyFn) | Custom |
| eventValid | Function | Specifies the customize event valid function.(default to undefined) | Custom |
| fontunit | String | Specifies the unit of font-size.(default to 'px') | Component |
| listeners | Object | A config object containing one or more event handlers.(default to null) | Painter |
| z_index | Number | Specifies the z-index.(default to 0) | Painter |
| Name | Description | Defined By |
|---|---|---|
| beforedraw | Fires before the element drawing.Return false from an event handler to stop the draw.
Parameter
| Painter |
| click | Fires when this element is clicked
Parameter
| Painter |
| draw | Fires after the element drawing when calling the draw method.
Parameter
| Painter |
| initialize | Fires after the element initializing is finished this is for test
Parameter
| Element |
| mousemove | Fires when the mouse move on the element
Parameter
| Painter |
| mouseout | Fires when the mouse exits the element
Parameter
| Painter |
| mouseover | Fires when the mouse hovers over the element
Parameter
| Painter |
| Name | Description | Defined By |
|---|---|---|
| draw | The commnd fire to draw the chart use configuration,
* this is a abstract method.Currently known,both iChart.Chart and iChart.Component implement this method. Parameter
Return
void
| Painter |
| getDimension | return the component's dimension,return hold following property
* @property x:the left-top coordinate-x * @property y:the left-top coordinate-y * @property width:the width of component,note:available there applies box model * @property height:the height of component,note:available there applies box model Parameter
Return
object
| Component |