new Axis(options)
Constructor
Parameters:
Name | Type | Description |
---|---|---|
options |
Object |
Members
-
Axis
-
Axis function need to be implemented in child class
-
axis :Object
-
Axis element
Type:
- Object
-
chart :Object
-
The chart to append this axis to
Type:
- Object
Methods
-
destroy()
-
Destroy the axis
Returns:
remove the
g
element that holds the axis- Type
- undefined
-
render()
-
Render function
Returns:
Apply the axis to a selection, the selection must contain an svg or g element
- Type
- undefined