chartjs / chartjs/Chart.js

colors don't change after update()

Open
#11,096 1 comment 3 reactions 0 assignees View on GitHub
type: bug
Dominant language
JavaScript
Stars
67.7k
Forks
11.9k
Avg merge
7h 39m
Merged PRs (30d)
5

Description

### Expected behavior

grid colors should be taken from Chart.defaults after update() if not set

### Current behavior

colors are not updated for all elements

### Reproducible sample

https://codesandbox.io/s/vue-chart-3-chart-js-issue-template-forked-bp5dov?file=/src/App.vue

### Optional extra steps/info to reproduce

all in playground

### Possible solution

all in playground

### Context

_No response_

### chart.js version

v4.2.0

### Browser name and version

Google Chrome 109.0.5414.119

### Link to your project

_No response_

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.