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

Composite bar charts should be supported #460

Open
camueller opened this issue Dec 25, 2023 · 2 comments
Open

Composite bar charts should be supported #460

camueller opened this issue Dec 25, 2023 · 2 comments
Labels
feature-request New feature or request that needs to be turned into Epic/Story details needs-triage Needs looking at to decide what to do size:L - 5 Sizing estimation point

Comments

@camueller
Copy link

camueller commented Dec 25, 2023

Description

Composite bar charts (sometimes also call stacked bar charts) are charts where each bar displays multiple data points stacked in a single row or column.
There are situations where no other diagram type can be used to express the intended conclusion. Also the use of 2 diagrams with identical X Axis but different Y axis would not be appropriate. Therefore composite bar charts are rellay needed!

Refer to https://www.goteachmaths.co.uk/composite-bar-charts/

To me it is not quite clear if Mermaid supports this type of diagram at the moment: mermaid-js/mermaid#4269 (comment)

@camueller camueller added feature-request New feature or request that needs to be turned into Epic/Story details needs-triage Needs looking at to decide what to do labels Dec 25, 2023
@joepavitt
Copy link
Collaborator

Thanks @camueller how would you expect to define the payloads in the msg for such a chart?

@camueller
Copy link
Author

camueller commented Dec 27, 2023

This doesn't really matter to me since I can use a Javascript node for any kind of data transformation.

BTW: Since mermaidcurrently has no support for composite charts I implemented it yesterday and today and created a PR for it: mermaid-js/mermaid#5167
Looking at the other PRs I don't expect a response soon althought I would like it.
If you look at this PR you can see the syntax I used for dataset of composite charts: https://github.com/mermaid-js/mermaid/pull/5167/files#diff-15b2d25f41bde2a210201a02bcfd09ba323c9e85136ae309d684aa6c4bcd4dea

I watched your Video about Dashboard 2.0 ( https://www.youtube.com/watch?v=7GTHYzRpQ9M ) and was surprised about your switch to Vue.js. Since 2018 I'm working as developer for one of (or the?) largested Vue.js projects in Europe (50+ devs) :-)

@joepavitt joepavitt added the size:L - 5 Sizing estimation point label Jan 3, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature-request New feature or request that needs to be turned into Epic/Story details needs-triage Needs looking at to decide what to do size:L - 5 Sizing estimation point
Projects
Status: Backlog
Development

No branches or pull requests

2 participants