new Line()
Parameters:
Name | Type | Attributes | Default | Description | ||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
layout.style |
object |
<optional> |
CSS properties to control how the line is drawn Properties
|
|||||||||||||||||||||
layout.interpolate |
string |
<optional> |
'curveLinear' | The name of the d3 interpolator to use. This determines how to smooth the line in between data points. |
||||||||||||||||||||
layout.hitarea_width |
number |
<optional> |
5 | The size of mouse event hitareas to use. If tooltips are not used, hitareas are not very important. |
- Source:
Methods
render()
Implement the main render function
- Source:
setElementStatus(status, element, toggle)
Redefine setElementStatus family of methods as line data layers will only ever have a single path element
Parameters:
Name | Type | Description |
---|---|---|
status |
String | A member of |
element |
String | Object | |
toggle |
Boolean |
- Source: