We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
I want to be able to configure the styling of pie chart, especially the slice color.
Looks like the color is hardcoded (obtained via d3 somehow) and does not appear to be configurable:
mermaid/src/diagrams/pie/pieRenderer.js
Lines 73 to 75 in b23988c
Lines 95 to 97 in b23988c
Same with the font size:
Line 116 in b23988c
A documented way to apply styles to a pie chart which works in the live editor
None
The text was updated successfully, but these errors were encountered:
#1648, #1656 Making Pie Chart more configurable
37136c9
Merge pull request #2051 from mermaid-js/pie_chart_themeing
413bdce
ashishjain0512
No branches or pull requests
Is your feature request related to a problem? Please describe.
I want to be able to configure the styling of pie chart, especially the slice color.
Color
Looks like the color is hardcoded (obtained via d3 somehow) and does not appear to be configurable:
mermaid/src/diagrams/pie/pieRenderer.js
Lines 73 to 75 in b23988c
mermaid/src/diagrams/pie/pieRenderer.js
Lines 95 to 97 in b23988c
Font Size
Same with the font size:
mermaid/src/diagrams/pie/pieRenderer.js
Line 116 in b23988c
Others
Describe the solution you'd like
A documented way to apply styles to a pie chart which works in the live editor
Describe alternatives you've considered
None
Additional context
None
The text was updated successfully, but these errors were encountered: