Skip to content

rajkumarj-git/amchart4

Repository files navigation

Partitioned bar chart

A Pen created on CodePen.io. Original URL: https://codepen.io/jrajkumar/pen/WNEPmzK.

Partitioned Bar Chart (also known as Grouped Bar Chart, Side-by-side Bar Chart) enables you to visually group bars and help users analyze both the whole picture and individual logical groups at the same time.

In amCharts 4 you achieve this with the help of axis ranges. Check out the extensive documentation on Axis Ranges for more details or refer to the source code of this demo below.

In order to implement collapsing and expanding columns on this demo, we added axisBreaks at the same positions as axis ranges, with default value of axisSize = 0 and when legend item is toggled, we animate axisSize value to either 0 or 1.

About

partitioned-bar-chart issue loading local external file

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published