Git Product home page Git Product logo

Comments (1)

hcpchris avatar hcpchris commented on May 17, 2024 1

Hmm - odd. This had been working fine prior to the release of Highcharts (JS) v.11. I'll have to look into what caused the issue. However, removing the new in the JS literal serialization definitely seems to solve the problem, and seems to be stable (my tests so far have not uncovered any issues). I'll finish running through my CI/CD pipeline and push a new version out that patches this problem within the next couple of hours.

The other issue you mentioned - namely the need to specify a container - is the intended behavior. When using Chart.display(), Highcharts for Python will supply a default container name for you for convenience, but when serializing directly to a JS literal string using Chart.to_js_literal() there is no default container name assumed.

This is by design, since you might be doing various other things with the JS literal code in your Javascript, so the assumption is that if you have not specified a container explicitly, you are doing so by design. You can address this when producing a JS literal by simply setting Chart.container = container or by setting the container property when instantiating your chart: my_chart = Chart(container = 'container', ...).

This issue will auto-close when the new version is being released (technically, it will auto-close when the fix is merged into the master branch, which should happen 1 - 2 minutes prior to the new version being available on PyPi).

from highcharts-core.

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.