Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

On stacked graphs (completed and failed), fill colours are merged #43

Open
nigeldeakin opened this issue Feb 5, 2018 · 0 comments
Open

Comments

@nigeldeakin
Copy link
Contributor

The fill colours used with stacked charts (i.e. completed and failed) do not match the fill colours shown in the legend.

See this screenshot:
screenshot from 2018-02-05 15-36-42

In the "completed" graph, see how the legend shows the path /hello-cold-async-a2 as having a blue fill colour, but the actual fill colour used is a kind of green.

The green colour appears to be caused by the yellow fill extending from Y=30 all the way down to the X-axis, and being combined with the blue colour below Y=20.

This was reported in the following chart.js issues:
chartjs/Chart.js#2579
chartjs/Chart.js#2380

The second of these suggests a workaround. This should be applied. If it can't we should reconsider whether we should use a fill colour (and whether these graphs should be stacked at all).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant