Giter Site home page Giter Site logo

Comments (5)

groob avatar groob commented on June 5, 2024 2

For my issue, I was able to debug and get a fix, though not necessarily a correct one:

diff --git a/src/Internal/Junk.elm b/src/Internal/Junk.elm
index 11f86be..d1bd43a 100644
--- a/src/Internal/Junk.elm
+++ b/src/Internal/Junk.elm
@@ -180,7 +180,7 @@ hover system x styles =

     containerStyles =
       [ if shouldFlip system x
-          then ( "transform", "translate(-100%, -50%)" )
+          then ( "transform", "translate(0, -50%)" )
           else ( "transform", "translate(0, -50%)" )
       ]
       ++ styles
@@ -209,7 +209,7 @@ hoverAt system x y styles view =
     containerStyles =
       standardStyles ++ posititonStyles ++ styles
   in
-  Html.div (List.map (\(p,v) -> Html.Attributes.style p v) styles) view
+  Html.div (List.map (\(p,v) -> Html.Attributes.style (Debug.log "internal.p" p) (Debug.log "internal.v" v)) styles) view

from line-charts.

terezka avatar terezka commented on June 5, 2024

Thanks for reporting! Will check it out

from line-charts.

groob avatar groob commented on June 5, 2024

I am also encountering this issue, or at least something similar. I have less than 310 points though.
Here's the example I was tinkering with.
https://gist.github.com/groob/9bac21dc0980de9871187665cb2c86e0

from line-charts.

groob avatar groob commented on June 5, 2024

I realize now that this is makes sense on the demo where the widget flips halfway through. If my chart was properly styled I wouldn't have the bug =)

from line-charts.

johnhydroware avatar johnhydroware commented on June 5, 2024

That fix worked for my problem also!

from line-charts.

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.