0.1.5 • Published 6 years ago
chartjs-plugin-datapointer v0.1.5
chartjs-plugin-datapointer
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',
position: 'top',
label: 'Clifford',
data: ["50", "30", "60"],
}
});
How to use
See /dist/index.html for example