1👍
At the moment the only way to achieve this is by setting the pointstyle option in the legend options like this:
options: {
plugins: {
legend: {
labels: {
usePointStyle: false,
pointStyle: 'cross',
}
},
}
}
The downside of this is that it will count for all datasets.
I have put in a pull request at chart.js to allow the posibility to give a pointStyle in the barChart dataset configuration so you can have multiple styles.
Github issue: https://github.com/chartjs/Chart.js/pull/8341
Source:stackexchange.com