chartjs / chartjs/Chart.js

How can I create waterfall with related stacked bars? It's problem, when -Y appers on graphic (some bars ''jumps'' from random position in stack). I will add my example code with screens.

Open
#11,290 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
JavaScript
Stars
67.7k
Forks
11.9k
Avg merge
7h 39m
Merged PRs (30d)
5

Description

How can I create waterfall with related stacked bars? It's problem, when -Y appears on graphic (some bars ''jumps'' from random position in stack). I will add my example code with screens.

Case: I have any Parent-bar, that have point to reach by stacked bars. On the second group (look at screen) I have situation, when one of bars ''jumps'' from its position I specified in script. In the first group it's okay. How can I solve it?

![image](https://github.com/chartjs/Chart.js/assets/101640557/3e52d8f9-60b8-44ea-87f5-f1a9003f57a9)
[For solve the problem.zip](https://github.com/chartjs/Chart.js/files/11478910/For.solve.the.problem.zip)

_Originally posted by @Deni083 in https://github.com/chartjs/Chart.js/discussions/11289_

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.