Comments (5)
@EgilSandfeld yes for example. It all depends on how you apply CSS rules in your project.
from sunburst-chart.
@NextiaDev you can change that by applying some CSS overrides. Look here for the relevant rules:
https://github.com/vasturiano/sunburst-chart/blob/master/src/sunburst.css#L14
For example doing the following will hide the white background:
.sunburst-viz text .text-contour {
display: none;
}
from sunburst-chart.
Thanks for the response! I have another question. Is there a way to increase the tooltip size? The categories are overflowing (Parent > Children > etc ) when it reaches the fourth level.
from sunburst-chart.
@NextiaDev thanks for reporting that. To fix it from the consumer side, you can CSS override just like above, this css property:
https://github.com/vasturiano/sunburst-chart/blob/master/src/sunburst.css#L39
from sunburst-chart.
@NextiaDev you can change that by applying some CSS overrides. Look here for the relevant rules:
https://github.com/vasturiano/sunburst-chart/blob/master/src/sunburst.css#L14For example doing the following will hide the white background:
.sunburst-viz text .text-contour { display: none; }
Sorry, but where do you apply these overrides? In an external CSS file?
from sunburst-chart.
Related Issues (20)
- Chart getting duplicated for every useEffect call in react app HOT 8
- M.svg.transition is not a function HOT 1
- Tooltips sometimes appear invisible when using browser zoom HOT 2
- Image or text in centre of chart
- focusOnNode is not a function HOT 3
- Labels not showing though it fits both angular or radial HOT 5
- Optionally truncate labels instead of hiding them entirely HOT 2
- Add Feature to Onclick HOT 3
- Tooltip is not showing HOT 5
- Event on click outer ring segment HOT 3
- Chart based on month, date, hour and minutes. HOT 10
- Using sunburst with react+typescript gives: Property "Xyz" does not exist on type after renaming jsx file to tsx HOT 4
- Tooltip shown when tried in codesandbox but never shown when run in local react app HOT 3
- Hide node are not working properly HOT 2
- How to add custom behaviour on click event of any slice of sunburst component in react? HOT 4
- Styling colors
- How to stop onClick from overriding the default focusOnNode method? HOT 3
- Argument of type '(d: any, parent: any) => any' is not assignable to parameter of type 'Accessor<Node, string>'.
- Export svg
- Node size is not showing correctly according to the size value HOT 4
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from sunburst-chart.