Comments (4)
@patryk-wlaz thanks for logging your case.
As for your follow-up question, the CSS that's causing the opacity transition is here:
sunburst-chart/src/sunburst.css
Lines 27 to 30 in b12e607
You should be able to override those style on your application. Do you wish to cancel the opacity effect on hover, or just make the opacity transition immediate?
from sunburst-chart.
I wish to cancel opacity and make color change immediate. Thank you for pointing out styles, but I've already found them. I've managed to target them by scss mentioned before. This is what I see in developer tools:
On hover:
I'm starting to feel that I do some silly mistake here, like overwriting css styles in a wrong way :) But I think forcing opacity to be one and transition to be none should work...
from sunburst-chart.
Just setting opacity: 1
on your (s)css should cancel the opacity hover effect. Are you not observing that?
from sunburst-chart.
Yeah I thought so, but I addd transition just to be sure. As you see, it doesn't work - I don't know what am I doing wrong here see video of my screen captured
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
- Posibility of change label style HOT 1
- Not able to change style in Angular.
- Support fully managed integration with React. Willing to contribute. HOT 1
- Rendering more charts HOT 2
- Sunburst folded until page refresh ( ERROR TypeError b.focusOnNode.__dataNode is undefined ) HOT 2
- 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.