Giter VIP home page Giter VIP logo

Comments (5)

jszuminski avatar jszuminski commented on September 26, 2024 1

Hi, thanks for reporting!

Unfortunately, I've struggled to recreate this issue.

Let me tell you what I did step-by-step:

  1. I've created a Vue project with Vite with npm create vite@latest
  2. I've ran the following commands:
    npm i
    npm i highcharts highcharts-vue
    npm run dev
  3. I've created a simple chart

And everything seems to work correctly. Try to install both highcharts and highcharts-vue packages and everything should work.

If it does not, please try to reproduce this issue so I could take a closer look at how to fix it.

from highcharts-vue.

jszuminski avatar jszuminski commented on September 26, 2024 1

Sure, no problem.

You can set the chart.backgroundColor: transparent.
Here's a demo: https://jsfiddle.net/BlackLabel/p7x8hgma/

from highcharts-vue.

xalteropsx avatar xalteropsx commented on September 26, 2024
Could not resolve "highcharts"

    node_modules/highcharts-vue/dist/highcharts-vue.min.js:1:90:
      1 │ !function(t,e){"object"==typeof exports&&"object"==typeof module?module.exports=e(require("highcharts"),require("vue")):"function"==typeof define&&define.amd?define(["highcharts","vue"],e):"object"==typeof exports?expo... 
        ╵                                                                                           ~~~~~~~~~~~~

  You can mark the path "highcharts" as external to exclude it from the bundle, which will remove
  this error. You can also surround this "require" call with a try/catch block to handle this
  failure at run-time instead of bundle-time.

from highcharts-vue.

xalteropsx avatar xalteropsx commented on September 26, 2024

thank u bro that npm i highcharts solved it

from highcharts-vue.

xalteropsx avatar xalteropsx commented on September 26, 2024

thank u very much @jakubSzuminski

from highcharts-vue.

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.