Create Sunburst Diagrams with amCharts 4.1.6
The just released version 4.1.6 of amCharts 4 adds a plugin enabling you to create Sunburst diagrams:
See the Pen Sunburst-demo by amCharts team (@amcharts) on CodePen.
Sunburst diagrams represent hierarchical relational data in a circular chart. They look similar to nested donut charts, however, the hierarchical nature of the Sunburst means that each level represents
Check out the Anatomy of a Sunburst Diagram to learn all you need to know about Sunburst diagrams in amCharts 4 and get the latest version to get started.
Change log for versions 4.1.3 to 4.1.6
Added
- New plugin chart type
: Sunburst
! New Sprite
adapter : criticalError
. Takes Error
object it’s message
property .- New property
contextMenuDisabled
(defaultfalse
) addedto Sprite
. If setto true
it will prevent context menu (such as one displayed on right click) fromdisplayed . DateAxis.gridInterval
accessor added. Returns current grid interval.
Changed
Setting data
on ColorSet
will now automatically reset iterator.
Fixed
- Export was somewhat broken in Angular apps or pages
with <base>
since 4.1.5. DateAxis
was not positioning elements properly when spanning switch to/from daylight savings time.valign
property of the horizontal axis labels nowwork properly."rightclick"
event was essentially not working.- Angular with router enabled were breaking charts in Safari and older Firefox.
Calling useTheme()
with the same theme multiple times used to cause that theme applied multiple times as well.Sometimes ValueAxis
would not zoom-out to shownew selected range when data was updated.- Sometimes axis fills were not visible after zoom-in / zoom-out.
totalPercent
was not properly calculated with negative values.ExportMenu
items will be revalidated if data ofthe chart is updated. This helps avoid missing “Data” export items in data is loaded later than the chart itself.menu if- In stacked axes setup axis tooltips were shown in wrong positions.
- Preloader was not always shown when needed.
- JavaScript error when hovering
cursor over missing data items fixed. TreeMap
data change performance improved.- Horizontal
ZoomControl
(layout = "horizontal"
) button text vertical align fix. Accellerated panning of zoomed-in axis problem fixed.