Constructor
new Grid(options)
Create a grid visual.
Parameters:
| Name | Type | Description |
|---|---|---|
options |
Object | Configuration options. |
- Source:
Methods
addProperty(name, value)
Add the specified property to this visual. The property is stored as [name, value].
Parameters:
| Name | Type | Description |
|---|---|---|
name |
string | The name of the property. |
value |
string | The value of the property. |
- Source:
draw()
Draw this visual.
- Source:
erase()
Erase this visual.
- Source:
initialize(parentElement, width, height, timeScale)
Initialize this visual.
Parameters:
| Name | Type | Description |
|---|---|---|
parentElement |
Element | The parent element. |
width |
number | The parent width. |
height |
number | The parent height. |
timeScale |
d3.scaleLinear | The time scale. |
- Source: