Skip to content

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

Notifications You must be signed in to change notification settings

scotthsieh0503/chartjs-plugin-datapointer

Repository files navigation

chartjs-plugin-datapointer

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',
position: 'top',
label: 'Clifford',
data: ["50", "30", "60"],
}
});

How to use

See /dist/index.html for example

About

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

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published