new bars(selection)
Constructor
- Source:
Parameters:
Name | Type | Description |
---|---|---|
selection |
d3.selection
|
The chart holder D3 selection. |
Methods
(static) colors(_v) → {*}
Colors Getter / Setter
- Source:
Parameters:
Name | Type | Description |
---|---|---|
_v |
Array
|
Array of colours used by color scale. |
Returns:
- Type:
-
*
(static) colorScale(_v) → {*}
Color Scale Getter / Setter
- Source:
Parameters:
Name | Type | Description |
---|---|---|
_v |
d3.scale
|
D3 scale. |
Returns:
- Type:
-
*
(static) dimensions(_v) → {*}
Dimensions Getter / Setter
- Source:
Parameters:
Name | Type | Description |
---|---|---|
_v |
Object
|
3D object dimensions. |
Returns:
- Type:
-
*
(static) transparency(_v) → {*}
Transparency Getter / Setter
- Source:
Parameters:
Name | Type | Description |
---|---|---|
_v |
Number
|
Transparency level 0 - 1. |
Returns:
- Type:
-
*
(static) xScale(_v) → {*}
X Scale Getter / Setter
- Source:
Parameters:
Name | Type | Description |
---|---|---|
_v |
d3.scale
|
D3 scale. |
Returns:
- Type:
-
*
(static) yScale(_v) → {*}
Y Scale Getter / Setter
- Source:
Parameters:
Name | Type | Description |
---|---|---|
_v |
d3.scale
|
D3 scale. |
Returns:
- Type:
-
*