chartjs / chartjs/Chart.js

[Bubble] radius function resize browser

Open
#11,486 1 comment 2 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

In bubble graph, I use radius function to update the radius dependant on width canvas. That's work on first time loading graph, but when I resize the canvas (by changing the browser size), the radius of bubble is not update (however, the radius function is well executed)

### Current behavior

![bubble](https://github.com/chartjs/Chart.js/assets/1622751/989ab024-3895-49ea-a159-7fce18a224af)

### Reproducible sample

https://jsfiddle.net/ty4wpce9/2/

### Optional extra steps/info to reproduce

I notice it's broken since v3.6 (with v3.5 that's work)

### Possible solution

_No response_

### Context

_No response_

### chart.js version

v4.4.0

### Browser name and version

Firefox v116

### 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.