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

Is it possible to List the Sum of all Flow into one node? #55

Open
cschar opened this issue Oct 19, 2021 · 2 comments
Open

Is it possible to List the Sum of all Flow into one node? #55

cschar opened this issue Oct 19, 2021 · 2 comments
Labels
enhancement New feature or request

Comments

@cschar
Copy link

cschar commented Oct 19, 2021

Hi, Love the repo... way easier to get going than d3js...

I was wondering, say if I have 3 flows going into one endpoint, and the endpoint simply says 'foo'.

Is there someway to have it say 'foo (300 $)' , if the summation of flows going in is 3x100?

Thanks

Edit: maybe related to #38

@kurkle
Copy link
Owner

kurkle commented Oct 19, 2021

Thanks for the compliment :)

If you'd like to see the summation in a tooltip, then I'd close this as a duplicate of #38
But if you'd like for the static label (or a new static label on the node itself) to say that, the this is a different issue.

I haven't really tried this with the datalabels plugin, which could just work too.

@cschar
Copy link
Author

cschar commented Oct 19, 2021

Yeah, I think it may be 'static', see this example builder here:
https://sankeymatic.com/build/
The numbers just 'sit' beside the node names

I'll check out the datalabels plugin!

@kurkle kurkle added the enhancement New feature or request label Feb 5, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants