score:6
Faced the same issue. Highcharts released a new version 7.1.0 two days back. They have fixed an issue(10232) which is causing this error. You can use https://code.highcharts.com/5.0.14/modules/solid-gauge.js this particular version instead of the latest one. It's working for me now.
score:0
Yes I was also facing the same issue... i have resolved it by replacing js files with updated version Highcharts JS v7.2.1
score:0
Happened to me when I was trying to use react-highcharts. To resolve this, I switched to highcharts-react-official instead:
import React from "react";
import { render } from "react-dom";
// Import Highcharts
import Highcharts from "highcharts";
import HighchartSankey from "highcharts/modules/sankey";
import HighchartsWheel from "highcharts/modules/dependency-wheel";
import HighchartsReact from "highcharts-react-official";
HighchartSankey(Highcharts);
HighchartsWheel(Highcharts);
const Viz = () => {
return (
<HighchartsReact
highcharts={Highcharts}
options={{
series: [{
type: "dependencywheel",
data: [{
from: "Category1",
to: "Category2",
weight: 2
}, {
from: "Category1",
to: "Category3",
weight: 5
}]
}]
}}
/>
);
};
render(<Viz />, document.getElementById("root"));
score:6
If you encounter this error, you might want to check that your app is not server rendered. In the case that it is server rendered then the following should fix the issue:
Check that highcharts is a type of 'object'
, because on the server it is of type 'function'
. If it is an object then you want to execute the module you want. Kindly see below:
import Highcharts from 'highcharts/highcharts';
import HighchartsReact from 'highcharts-react-official';
import highchartsBellCurve from 'highcharts/modules/histogram-bellcurve';
if (typeof Highcharts === 'object') {
highchartsBellCurve(Highcharts); // Execute the bell curve module
}
Source: stackoverflow.com
Related Query
- Highcharts cannot read property 'series' of undefined
- Uncaught TypeError: Cannot read property 'chart' of undefined in highcharts
- highcharts heatmap Uncaught TypeError: Cannot read property 'prototype' of undefined
- Using Highcharts formatter causes Cannot read property 'length' of undefined
- highcharts canvas-tools: Cannot read property 'prototype' of undefined
- Cannot read property 'type' of undefined highcharts highstock
- Uncaught TypeError: Cannot read property 'xAxis' of undefined Highcharts
- Uncaught TypeError: Cannot read property '0' of undefined javascript error and with highcharts
- Highcharts 5: TypeError: Cannot read property 'chart' of undefined at e.Chart.reflow
- Changing chart type give: Uncaught TypeError: Cannot read property 'length' of undefined Highcharts
- Uncaught TypeError: Cannot read property '0' of undefined - highcharts
- HighCharts Sankey + NextJS: TypeError: Cannot read property 'Core/Series/Point.js' of undefined
- Highcharts angular cannot read property 'series' of undefined
- Angular 2 Highcharts Cannot read property 'info' of undefined
- highcharts-angular : Cannot read property 'chart' of undefined
- Uncaught TypeError: Cannot read property 'mouseIsDown' of undefined
- Highcharts: Cannot read property 'parts/Globals.js' of undefined
- ERROR TypeError: Cannot read property '0' of undefined in angular-highcharts
- Cannot read property 'addEvent' of undefined
- Highcharts: Cannot read property 'chart' of undefined
- Highcharts :Cannot read property 'parentGroup' of undefined with AngularJS
- highcharts-ng: Cannot read property 'setExtremes' of undefined
- Uncaught TypeError: Cannot read property 'addPoint' of undefined ( Highstock live data)
- Cannot read property 'cum' of undefined -- when creating a stacked area chart with xAxis.type=datetime
- Highcharts - TypeError: Cannot read property 'isResponsiveOptions' of null
- highcharts: TypeError: Cannot read property '0' of undefined
- Cannot read property 'info' of undefined
- Highcharts/Highmaps Uncaught TypeError: Cannot read property '0' of undefined error
- highcharts Cannot read property 'legendBackgroundColor'
- Highcharts Javascript - Synchronize Chart and Table not working - Cant read property cell of undefined
More Query from same tag
- Angular Highcharts - How to clone chart dynamically
- How to plot a line and column chart in react-highstock?
- Multipane on Highstock
- Highcharts - Get container ID from barclick
- individual point settings in a scatter/line plot
- How to select point on map programmatically?
- How to show highchart graph depends on select tag from HTML
- In highcharts how can I provide data with values x, y, title so that I can put the title in the tooltip?
- Tooltips sometimes appear empty under splite-plot-bands highcharts
- Highchart remove decimal places
- Highcharts, have all but first series turned off on chart load
- Highchart changes chart width when user hides the graph lines
- Max & Min highchart line
- Responsive Line Chart using High Charts & Bootstrap 3
- highcharts col width and border-top
- Highcharts - load and refresh csv
- JavaScript / JSF2 data (rectangle) visualization in a cartesian coordinate system
- how to get dynamic color change based on values in highcharts
- can not display date properly after extract json data, highcharts
- HighChart - Save Image into myChart.png file
- Highcharts line chart doesn't respect legend customization
- HighCharts Heatmap yAxis title
- Using Highcharts formatter causes Cannot read property 'length' of undefined
- tooltip formatter Highcharts not work with Firefox ? - Bug?
- Highchart long y-axis title may overlap with title when chart.styledMode set to true
- Combine multiple Ajax load functions
- can't enter django chartit formatter field
- setting the categories using ajax in highcharts
- spline chart highchart to fill the color in series
- Highchart limiting number of series by default