Builds a Scatter Plot.
- Source:
Members
(inner) cs
The configuration of the coordinate system
- Source:
(inner) svgContainer
The SVG that stores the chart
- Source:
Methods
(inner) buildScales()
Builds the scales for the x and y axes
- Source:
(inner) drawAxis()
Draws the x and y axes on the svg
- Source:
(inner) enter(points)
Runs when a new element is added to the dataset
Parameters:
Name | Type | Description |
---|---|---|
points |
Object | (svg element) |
- Source:
(inner) exit(points)
Runs when an element is removed from the dataset
Parameters:
Name | Type | Description |
---|---|---|
points |
Object | (svg element) |
- Source:
(inner) transition(points)
Runs when a value of an element in dataset is changed
Parameters:
Name | Type | Description |
---|---|---|
points |
Object | (svg element) |
- Source: