0.1.1 • Published 6 years ago
chart-js-pointer-plugin v0.1.1
chart-js-pointer-plugin
ChartJS plugin that allows us to add pointer series of data to bar charts
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