The just released version 4.1.6 of amCharts 4 adds a plugin enabling you to create Sunburst diagrams:
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 detalization of the previous one. In other words, children slices on each level comprise the whole of the parent slice.
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
Spriteadapter:criticalError. TakesErrorobject as an argument. Modify itsmessageproperty. - New property
contextMenuDisabled(defaultfalse) added toSprite. If set totrueit will prevent context menu (such as one displayed on right click) from being displayed. DateAxis.gridIntervalaccessor added. Returns current grid interval.
Changed
- Setting
dataonColorSetwill now automatically reset iterator.
Fixed
- Export was somewhat broken in Angular apps or pages with
<base>since 4.1.5. DateAxiswas not positioning elements properly when spanning switch to/from daylight savings time.valignproperty of the horizontal axis labels now works 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 to be applied multiple times as well. - Sometimes
ValueAxiswould not zoom-out to show new selected range when data was updated. - Sometimes axis fills were not visible after zoom-in / zoom-out.
totalPercentwas not properly calculated with negative values.ExportMenuitems will be revalidated if data of the chart is updated. This helps avoid missing “Data” export items in menu if data is loaded later than the chart itself.- 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.
TreeMapdata change performance improved.- Horizontal
ZoomControl(layout = "horizontal") button text vertical align fix. - Accelerated panning of zoomed-in axis problem fixed.