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

Donuts chart on nodes #2787

Closed
EdouardPan opened this issue Nov 30, 2020 · 1 comment
Closed

Donuts chart on nodes #2787

EdouardPan opened this issue Nov 30, 2020 · 1 comment

Comments

@EdouardPan
Copy link

Description of new feature

This demand concerns the property 'Pie chart background'.

Currently you can draw a pie chart for each node. I do not see the possibility to create donut chart (if I am wrong, tell me, I will be delighted!). Would it be possible to consider it?

image

Or would it be possible to have the possibility to set pie drawing behind the basic node. So that, for instance, you can set the style node to:

{
   'label': 'xxxx',
   'background-opacity': 100,
   'background-color': 'white',
   'pie-size': '110%',
   'pie-order': 'background',    ##NEW PROPERTY## 
   'pie-1-background-opacity': ...,
   'pie-1-background-color': ...,
   'pie-1-background-size': ...
}

Thus the 'normal' node will be over the pie.

Or you could propose a property border for each slice of the pie:

{
   'pie-1-border-color': ...,
   'pie-1-border-width': ...
}

Thank you in advance.

@maxkfranz
Copy link
Member

Pie properties will be removed in v4. See #2019

There are many charting libraries that generate PNGs or SVGs for pie charts, doughnut charts, etc. You can use them as background images.

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

2 participants