Uh oh!
There was an error while loading.Please reload this page.
- Notifications
You must be signed in to change notification settings - Fork10
Chart.js scale for hierarchical tree-like data structure
License
sgratzl/chartjs-plugin-hierarchical
Folders and files
| Name | Name | Last commit message | Last commit date | |
|---|---|---|---|---|
Repository files navigation
Chart.js module for adding a new categorical scale which mimics a hierarchical tree.
Check out also my other chart.js plugins:
- chartjs-chart-boxplot for rendering boxplots and violin plots
- chartjs-chart-error-bars for rendering errors bars to bars and line charts
- chartjs-chart-geo for rendering map, bubble maps, and choropleth charts
- chartjs-chart-graph for rendering graphs, trees, and networks
- chartjs-chart-pcp for rendering parallel coordinate plots
- chartjs-chart-venn for rendering venn and euler diagrams
- chartjs-chart-wordcloud for rendering word clouds
npm install --save chart.js chartjs-plugin-hierarchical
seeExamples
a new scale typehierarchical.
Thehierarchical axis scale has the following styling options
seeILabelNode andIValueNode
The ESM build of the library supports tree shaking thus having no side effects. As a consequence the chart.js library won't be automatically manipulated nor new controllers automatically registered. One has to manually import and register them.
import{Chart}from'chart.js';import{HierarchicalScale}from'chartjs-plugin-hierarchical';// register scale in chart.js and ensure the defaults are setChart.register(HierarchicalScale);...
npm i -g yarnyarn installyarn sdks vscode
yarn compileyarntestyarn lintyarn fixyarn buildyarn docs
About
Chart.js scale for hierarchical tree-like data structure
Topics
Resources
License
Uh oh!
There was an error while loading.Please reload this page.
Stars
Watchers
Forks
Sponsor this project
Uh oh!
There was an error while loading.Please reload this page.
Packages0
Uh oh!
There was an error while loading.Please reload this page.
Contributors2
Uh oh!
There was an error while loading.Please reload this page.
