Git Product home page Git Product logo

Comments (4)

willhuang1997 avatar willhuang1997 commented on May 18, 2024 1

Hi @Lexachoc , the fullscreen button is a streamlit full screen button.

Also, thanks for letting me know the bug is there for candlestick charts!

from plotly.js.

alexcjohnson avatar alexcjohnson commented on May 18, 2024

Thanks @willhuang1997 - please note, plotly-latest is stuck on v1.x; to use v2.x you need to use an explicit version number. Can you update the fiddles to use v2.29.1? Is the behavior still buggy? If so, say more about exactly what you've observed - is there a specific sequence of clicks that consistently causes problems?

from plotly.js.

willhuang1997 avatar willhuang1997 commented on May 18, 2024

Hi @alexcjohnson , thanks for getting back to me!

I updated this fiddle to 2.29.1. The behavior is still buggy from my perspective.

What I expect: I click once I see the hover label and the bar should highlight.
What I observe: I click once I see the hover label appear on the screen. The clicks inconsistently highlight the bar that is currently showing the hoverlabel.

When you see the label disappear, it means that I am clicking in this gif.
Here is a gif to demonstrate such:
Screen_Recording_2024-02-14_at_7 14 15 PM_V1

I have tried registering the onClick behavior with saving state within some react component as to what point as been clicked and that consistently works. However, I didn't understand how to change the color of the marker that is clicked with a developer that is using plotly.express while making everything else opaque. It's important from product perspective for the users to understand what has been selected through the graph so we started using the clickmode: "event+select" in order to get that highlighting through the plotly library. However, we noticed that clicks are inconsistent as can be seen in the gif above.

from plotly.js.

Lexachoc avatar Lexachoc commented on May 18, 2024

@willhuang1997 Hi there, good demo app!
I wonder if the full screen button in the upper right corner is the Streamlit feature or your customization for Plotly?
image

BTW, I also noticed that a rangeslider bug in https://chart-selections-demo.streamlit.app/#selections-for-a-candlestick-chart and in your JSFiddle examples, that you might want to follow if you think it's relevant, see the issue I asked recently.

from plotly.js.

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.