class anychart.charts.CirclePacking Improve this Doc
Extends: anychart.core.SeparateChart
Circle Packing chart class.
Note: Use anychart#circlePacking method to get an instance of this class.
Learn more about Circle Packing Chart
Methods Overview
Chart Coloring | |
palette() | Palette settings. |
Data | |
data() | Data settings. |
Interactivity | |
hovered() | Hovered state settings. |
normal() | Normal state settings. |
tooltip() | Tooltip settings. |
States | |
selected() | Selected state settings. |
Methods Description
data
Getter for the data.
Try it:
Setter for the data.
Params:
Name | Type | Description |
---|---|---|
data | anychart.data.Tree | anychart.data.TreeView | Array.<Object> | Data tree or raw data. |
fillMethod | anychart.enums.TreeFillingMethod | string | Fill method. |
Returns:
anychart.charts.CirclePacking - Self instance for method chaining.Try it:
hovered
Getter for hovered state settings.
Returns:
anychart.core.StateSettings - Hovered state settingsTry it:
Setter for hovered state settings.
Params:
Name | Type | Description |
---|---|---|
settings | Object | State settings to set. |
Returns:
anychart.charts.CirclePacking - Self instance for method chaining.Try it:
normal
Getter for normal state settings.
Returns:
anychart.core.StateSettings - Normal state settings.Try it:
Setter for normal state settings.
Params:
Name | Type | Description |
---|---|---|
settings | Object | State settings to set. |
Returns:
anychart.charts.CirclePacking - Self instance for method chaining.Try it:
palette
Getter for the chart palette.
Setter for the chart palette.
Note: You can use predefined palettes from anychart.palettes.
Params:
Name | Type | Description |
---|---|---|
settings | anychart.palettes.RangeColors | anychart.palettes.DistinctColors | Object | Array.<string> | Color palette instance. |
Returns:
anychart.charts.CirclePacking - Self instance for method chaining.selected
Getter for selected state settings.
Returns:
anychart.core.StateSettings - Selected state settingsTry it:
Setter for selected state settings.
Params:
Name | Type | Description |
---|---|---|
settings | Object | State settings to set from anychart.core.StateSettings. |
Returns:
anychart.charts.CirclePacking - Self instance for method chaining.Try it:
tooltip
Setter for tooltip settings.
Detailed description
Sets chart data tooltip settings depending on parameter type:
- null/boolean - disable or enable chart data tooltip.
- object - sets chart data tooltip settings.
Params:
Name | Type | Default | Description |
---|---|---|---|
settings | Object | boolean | null | true | Tooltip settings. |
Returns:
anychart.charts.CirclePacking - Self instance for method chaining.Try it: