score:1
Accepted answer
i think the cause of the issue is this config:
optimizedeps: {
exclude: ['highcharts'], // ❌ don't do this
}
the solution would be to remove highcharts
from optimizedeps.exclude
.
also, you don't need a babel config when using vite. that might be another source of the problem.
score:0
here's a working example of vue3
+ highcharts-vue
: https://codesandbox.io/s/vue3-highcharts-example-k98kyz
be sure to update to the latest versions, and to use babel or any other transpilers to work with esm packages.
Source: stackoverflow.com
Related Query
- Vue 3 - Dynamic require of "highcharts" is not supported
- Dynamic Highcharts is not updating
- Angular Highcharts dynamic x-axis not working
- Highcharts Column Chart Not Displaying Dynamic Values
- Highcharts version 6 dynamic annotations not applied when running getSVG()
- Highcharts dynamic set category update the chart but shows only points but not lines
- render a dynamic number of highcharts charts is not working
- highcharts dynamic categories not working
- HighCharts angular not working with dynamic data from Angular service
- Decimals on yAxis are not being displayed, even if that same code works on highcharts jsfiddle
- How to modify the code so that Highcharts graph does not cover fixed navigation bar at the top of the page?
- Highcharts - Dynamic + Multiple charts not rendering
- HighCharts with Dynamic Data not working
- Dynamically changing Highcharts Theme through Jquery code not working
- Highcharts code with same set of code/data works in PHP but does not work in JSfiddle
- The graph is not equal on the basis of the addition code in Highcharts
- Responsive Highcharts not sizing correctly until window resize
- Highcharts - how to have a chart with dynamic height?
- Highcharts :Uncaught TypeError: $(...).highcharts is not a function
- How do I rotate my HighCharts bar chart so its vertical, not horizontal?
- How to get rid of Function calls are not supported in decorators in Angular aot compiling?
- Highcharts yAxis max not working
- Highcharts area fillOpacity do not work when changing the color
- Highcharts Error #16: charts not showing on the same page
- Highcharts does not resize charts inside tabs
- Highcharts saying undefined is not a function when trying to add a new chart
- How to export the whole page or html content with Highcharts not just the chart?
- HighCharts - How to create dynamic chart that exports EVERYTHING
- Highcharts - set maximum range for yAxis but keep axis dynamic within that range
- Highcharts dynamic (re-)sizing in AngularJS tabs
More Query from same tag
- Highcharts : Show ticker on the start of plot
- Locking the zoom in on Mapview?
- Highcharts Combo graphs with common legend click
- Draw a exrta line at specific angle in high chart
- Highchart.js: use bootstrap glyphicons instead of symbols on contextbutton
- Export Highchart + HTML as Image in angularjs app
- HighCharts - Add vertical lines from a desire point
- bullet chart configuration in highcharts
- Range Selector date always goes to 1970-01-01 in Highcharts.Chart()
- Highcharts - tooltip using click event doesn't appear all times
- Highcharts exceeds the container in chrome
- Highchart drilldown subtitle change
- Highcharts: is it possible to set up top border radius for the columns in Column chart?
- How to use data in rChart Highcharts
- Accessing an element of an array according to a variable for a HighCharts object
- Highcharts tooltip missing if shadow: true
- highcharts - how do I do custom labels on heatmap legend
- How to add multiple axis without multiple series on highchart?
- Can color of data label be different inside and outside of the bar in Highchart, even if it has negative numbers?
- Wrong data display when i set multiple series type in highstock chart
- Load event issue: unable to add hover event on pie chart's legend
- Highcharts.js: how can stacked area graph animations be smooth?
- HighCharts: Compare the series data with each other and show percentage
- How do I add a real gap in high stocks so it would be visible on the chart?
- Plot heatmap from CSV file [Highcharts]
- How to create a Highcharts extension for an Angular 6 Component
- Is there a way to use some of the highcharts-stocktools-toolbar items?
- What would be an alternative to running Twig for loop inside javascript?
- Legend is disappearing on HighCharts pie refreshing
- highcharts exporting - Java approach