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 Spriteadapter : criticalError. Takes Error as an argument. Modifyobject it’s messageproperty .- New property
contextMenuDisabled(defaultfalse) addedto Sprite. If setto trueit will prevent context menu (such as one displayed on right click) fromdisplayed . DateAxis.gridIntervalaccessor added. Returns current grid interval.
Changed
Setting dataon ColorSetwill 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 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 ValueAxiswould not zoom-out to shownew 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 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. TreeMapdata change performance improved.- Horizontal
ZoomControl(layout = "horizontal") button text vertical align fix. Accellerated panning of zoomed-in axis problem fixed.