Skip to content

Chart.js module for adding a new categorical scale which mimics a hierarchical tree.

hierarchy

Install ​

sh
npm install chart.js chartjs-plugin-hierarchical

Usage ​

see Examples

and CodePen

Configuration ​

Data Structure ​

see ILabelNode and IValueNode

Styling ​

see IHierarchicalScaleOptions