GithubHelp home page GithubHelp logo

Comments (10)

Golodhros avatar Golodhros commented on July 19, 2024 2

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.

Golodhros avatar Golodhros commented on July 19, 2024 1

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.

rubenmoya avatar rubenmoya commented on July 19, 2024

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.

karlAlnebratt avatar karlAlnebratt commented on July 19, 2024

@Golodhros will this fix come to britechart-react? https://github.com/eventbrite/britecharts/issues/596

from britecharts-react.

Golodhros avatar Golodhros commented on July 19, 2024

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.

davegomez avatar davegomez commented on July 19, 2024

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.

Golodhros avatar Golodhros commented on July 19, 2024

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.

davegomez avatar davegomez commented on July 19, 2024

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.

Golodhros avatar Golodhros commented on July 19, 2024

We have a new release, but this doesn't seem to be solved :(

from britecharts-react.

Golodhros avatar Golodhros commented on July 19, 2024

Well, it seems fixed in the CodePen, maybe it is an issue with the docs.

from britecharts-react.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.