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

Posibility of change label style #115

Open
EfrainPizarroBamboo opened this issue Feb 29, 2024 · 1 comment
Open

Posibility of change label style #115

EfrainPizarroBamboo opened this issue Feb 29, 2024 · 1 comment

Comments

@EfrainPizarroBamboo
Copy link

When including this visualization to my project, I would like to customize it further to align with the defined graphic style. What generates the most dissonance is the style of the labels with the pronounced white border.

It would be great to be able to edit these styles.

@vasturiano
Copy link
Owner

@EfrainPizarroBamboo you can use css to style those, by overriding the styles in this file: https://github.com/vasturiano/sunburst-chart/blob/master/src/sunburst.css

F.e. to remove the text white borders:

.sunburst-viz .text-contour {
  stroke: none !important;
}

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