new roseChart(selection)
Constructor
Parameters:
Name | Type | Description |
---|---|---|
selection |
d3.selection | The chart holder D3 selection. |
- Source:
Methods
(static) colors(_v) → {*}
Colors Getter / Setter
Parameters:
Name | Type | Description |
---|---|---|
_v |
Array | Array of colours used by color scale. |
- Source:
Returns:
- Type
- *
(static) dispatch(_v) → {*}
Dispatch Getter / Setter
Parameters:
Name | Type | Description |
---|---|---|
_v |
d3.dispatch | Dispatch event handler. |
- Source:
Returns:
- Type
- *
(static) height(_v) → {*}
Height Getter / Setter
Parameters:
Name | Type | Description |
---|---|---|
_v |
number | Height in px. |
- Source:
Returns:
- Type
- *
(static) margin(_v) → {*}
Margin Getter / Setter
Parameters:
Name | Type | Description |
---|---|---|
_v |
number | Margin in px. |
- Source:
Returns:
- Type
- *
(static) on() → {*}
On Event Getter
- Source:
Returns:
- Type
- *
(static) opacity(_v) → {*}
Opacity Getter / Setter
Parameters:
Name | Type | Description |
---|---|---|
_v |
Number | Opacity level. |
- Source:
Returns:
- Type
- *
(static) showAxis(_v) → {*}
Show Axis Getter / Setter
Parameters:
Name | Type | Description |
---|---|---|
_v |
Boolean | Show axis true / false. |
- Source:
Returns:
- Type
- *
(static) showLegend(_v) → {*}
Show Legend Getter / Setter
Parameters:
Name | Type | Description |
---|---|---|
_v |
Boolean | Show legend true / false. |
- Source:
Returns:
- Type
- *
(static) stacking(_v) → {*}
Stacked Getter / Setter
Parameters:
Name | Type | Description |
---|---|---|
_v |
Boolean | Stacked or grouped bar chart. |
- Source:
Returns:
- Type
- *
(static) subTitle(_v) → {*}
SubTitle Getter / Setter
Parameters:
Name | Type | Description |
---|---|---|
_v |
string | SubTitle text. |
- Source:
Returns:
- Type
- *
(static) title(_v) → {*}
Title Getter / Setter
Parameters:
Name | Type | Description |
---|---|---|
_v |
string | Title text. |
- Source:
Returns:
- Type
- *
(static) transition(_v) → {*}
Transition Getter / Setter
Parameters:
Name | Type | Description |
---|---|---|
_v |
d3.transition | D3 transition style. |
- Source:
Returns:
- Type
- *
(static) width(_v) → {*}
Width Getter / Setter
Parameters:
Name | Type | Description |
---|---|---|
_v |
number | Width in px. |
- Source:
Returns:
- Type
- *