0.1.1 • Published 6 years ago

chart-js-pointer-plugin v0.1.1

Weekly downloads
3
License
MIT
Repository
github
Last release
6 years ago

chart-js-pointer-plugin

ChartJS plugin that allows us to add pointer series of data to bar charts

alt text

Currently only works with horizontalBar

Sample options:

new Chart(ctx, {
enable: true,
type: 'horizontalBar',
data: barChartData,
options: {
plugins: {
dataPointer: {
fontFamily: 'FontAwesome',
pointer: '\uf063',
label: 'Clifford',
data: ["50", "30", "60"],
}
});

How to use

See /dist/index.html for example

0.1.1

6 years ago

0.1.0

6 years ago