<abstract> new Control()
Represents abstract chart control.
Extends
Methods
-
destroy()
-
Destroys and removes control from the parent element.
- Inherited From:
-
draw()
-
Draws control.
-
handleEvent(event)
-
Handles event.
Parameters:
Name Type Description event
StockChartX.WindowEvent The event object. Returns:
- Type
- boolean
-
hitTest(point)
-
Checks if a given point belongs to a frame rectangle.
Parameters:
Name Type Description point
StockChartX.Point The point. Returns:
- Type
- boolean
-
layout(frame)
-
Layouts controls.
Parameters:
Name Type Description frame
StockChartX.Rect The frame rectangle related to parent container.