Comments (10)
I also discovered this. For some reason, this library defines ALL components as Chart components. You can see the issue right here:
declare module '@vue/runtime-core' {
export interface GlobalComponents {
[key: string]: DefineComponent<ChartProps, {}, {}>
}
}
This section aggressively defines all global components as having ChartProps
. Not sure why they did this. A short-term fix would be to use pnpm patch
or patch-package
to remove these lines.
from highcharts-vue.
I'm reopening this issue for now as I need to publish it to npm with v2.1.0 :)
from highcharts-vue.
I've authenticated the npm publish
now and it should be there in the registry so feel free to use it and report any issues that you encounter or potential features/enhancements.
from highcharts-vue.
perfect. thanks mate
from highcharts-vue.
from highcharts-vue.
Thanks for reporting! You're absolutely right. I've prepared a simple fix, could you please check if this works as expected?
[package.json]
"dependencies": {
"highcharts": "10.3.3",
"highcharts-vue": "https://github.com/highcharts/highcharts-vue.git#bug/259-global-types-problem"
},
If yes, I will merge it and release v2.1.0.
from highcharts-vue.
@jszuminski PNPM only works with this NPM format:
"highcharts-vue": "github:highcharts/highcharts-vue.git#bug/259-global-types-problem"
(See: https://docs.npmjs.com/cli/v10/configuring-npm/package-json#repository and this issue)
That said, it seems to work. Thanks!
from highcharts-vue.
checked PNPM fix - works perfect to me
thanks
from highcharts-vue.
Published v2.0.1 on npm, this should no longer be a problem. Please feel free to report any more issues in case you find any, I will try to solve them asap.
from highcharts-vue.
hmm. latest version on npm is still 2.0.0
from highcharts-vue.
Related Issues (20)
- How to use networkgraph in vue-highcharts HOT 2
- Bug with updating values HOT 2
- Chart object inaccessible since 1.4.1 HOT 6
- NPM version is updated to 1.4.1 but not in releases HOT 4
- Chart data update alters mouse hover behavior HOT 3
- Support for Dashboards HOT 1
- How to add custom series type for stock HOT 2
- Demo app fails to build HOT 1
- Highchart is not scaled correctly HOT 2
- Update doc to install HV globally as a plugin? HOT 3
- scrollablePlotArea not rendering lines but markers show on areas beyond width highcharts-vue v1.3.5 highcharts 8.1.1 HOT 8
- Insufficient check before calling .destroy() HOT 5
- Problem with using module exporting and highcharts-more in composition API vue 3 and with script setup HOT 3
- webpack failing since highcharts 11.2.0 HOT 11
- Query: Display days and month headings in Gantt style chart HOT 1
- demo_vue3 undable to run HOT 2
- Upgrading to Vue 3.4.5 breaks the charts HOT 14
- Charts ar broken in Vue.js DEV mode HOT 4
- Issue with flamechart in Vue HOT 4
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from highcharts-vue.