GithubHelp home page GithubHelp logo

Comments (4)

bhavya0901 avatar bhavya0901 commented on September 24, 2024
Screencast.from.20-03-24.04.57.26.PM.IST.webm

Issue has been occurred in above video
I've open model when click on children column

from highcharts.

hubertkozik avatar hubertkozik commented on September 24, 2024

Hi @bhavya0901!

I think I'm missing something. The demo, which you provided in the first post works correctly for me. Can you describe what you mean by open model when click?

from highcharts.

bhavya0901 avatar bhavya0901 commented on September 24, 2024

Hi @bhavya0901!

I think I'm missing something. The demo, which you provided in the first post works correctly for me. Can you describe what you mean by open model when click?

Hi @hubertkozik above I've attached video of issue

-Chart initial showing unassigned teams 3 data in column -> when i on that column it showing which 3 data contain unassigned teams [children] -> then anyone click on that drilled data I'll open popup [model] and showing that click data into popup -> now close popup -> you can see in chart showing unassigned teams column but I expected when i close popup chart showing children columns data , breadcrumbs button showing we're inside children which is corrected as per my requirement but chart showing parent data [unassigned teams data]

from highcharts.

hubertkozik avatar hubertkozik commented on September 24, 2024

Oh, you mean "modal" as a popup, not model - sorry for that.

This issue is not a bug and it is not related to Highcharts, but to your usage of state variables in React. After clicking the close button in modal popup you are changing the variable state and the component rerenders. Your chart options are declared as a static variable and simply it is rendered with that static value.

Live demo: https://codesandbox.io/p/sandbox/react-bootstrap-5-forked-thwdw6

I suggest to read through our highcharts-react documentation here: https://github.com/highcharts/highcharts-react?tab=readme-ov-file#optimal-way-to-update

If you need help with chart configuration feel free to reach out to our other support channels, for example Highcharts forum, where our support engineers will help you with the configuration of your chart.

from highcharts.

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.