1.0.4 • Published 2 years ago

chartjs-chart-sunburst-extend v1.0.4

Weekly downloads
-
License
MIT
Repository
github
Last release
2 years ago

Chart.js Sunburst Chart

Chart.js sunburst chart implementation

See Live Sample

Install

npm install --save chart.js chartjs-chart-sunburst

Chart Type

The code will register one new chart type with chartjs: sunburst

Usage

Using node:

require('chart.js');
require('chartjs-chart-sunburst');

Or with a script tag

<script src="https://cdnjs.cloudflare.com/ajax/libs/Chart.js/2.7.3/Chart.bundle.min.js"></script>

<script src="node_modules/chartjs-chart-sunburst/build/Chart.Sunburst.umd.min.js"></script>

and then use the sunburst chartType when create a Chart:

var ctx = document.getElementById('chart-area').getContext('2d');
var config = {
    type: 'sunburst',
    options: {
      ...
    },
    ...
};
new Chart(ctx, config);

Building

yarn install
yarn build
1.0.4

2 years ago

1.0.3

3 years ago

1.0.2

3 years ago

1.0.1

3 years ago

1.0.0

3 years ago