chartjs / chartjs/chartjs-plugin-datalabels

Add boolean property to match the Datalabels color with the corresponding line/bar color

Open
#404 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
JavaScript
Stars
920
Forks
507
PR merge metrics
No merged PRs in 30d

Description

**Feature Proposal**
Currently, the data label's color is black and it can be changed to any fixed color.
Chartjs doesn't have a property though, to match the color of the dataset line/bar.

**Possible Implementation**
There are a few suggestions on the internet that currently work as workarounds only for bar. It should be possible either to match the data set colors with the datalabels', or to have access to the data[dataIndex]'s color.

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.