Builds an Pie Chart.
- Source:
Members
(inner) cs
The configuration of the coordinate system
- Source:
(inner) svgContainer
The SVG that stores the chart
- Source:
Methods
(inner) enter(arc)
Runs when a new element is added to the dataset
Parameters:
Name | Type | Description |
---|---|---|
arc |
Object | (svg element) |
- Source:
(inner) exit(arc)
Runs when an element is removed from the dataset
Parameters:
Name | Type | Description |
---|---|---|
arc |
Object | (svg element) |
- Source:
(inner) getColor()
Returns colors for pie chart
- Source:
(inner) mouseOut(d)
Removes tooltip on mouse out
Parameters:
Name | Type | Description |
---|---|---|
d |
Object | (svg element) |
- Source:
(inner) mouseOver(d)
Adds a tooltip on mouse over
Parameters:
Name | Type | Description |
---|---|---|
d |
Object | (svg element) |
- Source:
(inner) transition(arc)
Runs when a value of an element in dataset is changed
Parameters:
Name | Type | Description |
---|---|---|
arc |
Object | (svg element) |
- Source: