Comments (10)
It is fixed. It seems our github pages didn't get updated with the last version of Britecharts React. We should look into this instead.
from britecharts-react.
Hi @davegomez,
Yes! We are trying to do a new release, but we are having some issues with the deployment. Our OPS team will hopefully get to it soon and we will be good to go!
from britecharts-react.
I've been doing some research and seems to be related to the .style('display', 'none')
not rendering the element and .getBBox()
throwing an error in the tooltip.js file in Britecharts
There are two fixes for this that I've read so far, one of them is using .getBoundingClientRect()
instead of .getBBox()
, but it seems like some browsers calculate it different from others (some of them include stroke width in calculations and the others don't) so I don't know if it's the best option, the other solution is to use .style('visibility', 'hidden')
instead of display: none
.
Although, what I don't understand is why it's failing in britecharts-react
but not in britecharts
:(
from britecharts-react.
@Golodhros will this fix come to britechart-react? https://github.com/eventbrite/britecharts/issues/596
from britecharts-react.
Probably not, we would need to do the same for the Tooltip (that fix was for the mini-tooltip). That said, it shouldn't be hard to do!
from britecharts-react.
Is there a way to go around this? Right now my UI is breaking in FF and this might be happening because I'm using React 16 but I wonder if there is a way to go around this while is fixed.
Can someone link the code used to build the Line chart with Tooltips in the docs (I haven't been able to find it)?
from britecharts-react.
Hi @davegomez,
I think this will be fixed when we get to rework the Tooltip in Britecharts (https://github.com/eventbrite/britecharts/issues/113). It is the next thing in my list, but I cannot give an estimate.
We haven't tested in React 16, but we would love to launch v1 with react 16 support.
The tooltip code is in Britecharts: https://github.com/eventbrite/britecharts/blob/master/src/charts/tooltip.js
from britecharts-react.
Hello @Golodhros.
Any idea of when a new release of Britecharts React may happen including the latest fixes merged to the project?
from britecharts-react.
We have a new release, but this doesn't seem to be solved :(
from britecharts-react.
Well, it seems fixed in the CodePen, maybe it is an issue with the docs.
from britecharts-react.
Related Issues (20)
- Cant set tooltip title to empty string HOT 2
- Bar Chart Y-axis name value getting truncated to '...' HOT 14
- StackedArea chart doesn't render correctly HOT 2
- Support TypeScript HOT 16
- Add customMouseMove and customClick to Donut chart
- Importing withResponsiveness() helper HOT 7
- Update project's documentation HOT 5
- Update Node HOT 3
- Tooltip with StackedBar not being rendered HOT 10
- Parse error when when generating chart boilerplate via plop HOT 2
- Styling ticks to fix offset and overlap HOT 7
- highlightSliceById prop of Donut component is not working
- Chart does not render with Tooltip when data is progressively added HOT 4
- Feature Proposal HOT 7
- Support Locale in Bar Chart HOT 1
- Broken and unclear documentation HOT 10
- customClick method is not working HOT 3
- Move implementation into Hooks HOT 1
- Move into TypeScript HOT 1
- How to change the font-size for the x- and y-axes? HOT 3
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 britecharts-react.