question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

drilldown issue: TypeError: g.doDrilldown is not a function

See original GitHub issue

Ever since updating to 8.0.2 from 7.x, I get this error when doing drilldowns: TypeError: g.doDrilldown is not a function

This is the code in the module that imports everything:

import React, {Component, PropTypes} from 'react'
import Highcharts from 'highcharts'
import ReactHighcharts from 'react-highcharts'
import HighchartsData from 'highcharts-data'
import HighchartsDrilldown from 'highcharts-drilldown'

HighchartsData(ReactHighcharts.Highcharts)
HighchartsDrilldown(ReactHighcharts.Highcharts)

Issue Analytics

  • State:closed
  • Created 8 years ago
  • Comments:11 (5 by maintainers)

github_iconTop GitHub Comments

2reactions
kirjscommented, Mar 10, 2016
var HighchartsMore = require('highcharts-more');
HighchartsMore(ReactHighcharts.Highcharts);

This is how more does it, see if you can do the same for the drilldown

0reactions
Theraghavcommented, Feb 4, 2018

I am using highcharts and meteor. There are two different charts on different pages where using highcharts drilldown module. Had to remove importing drill-down from the second module and the error was gone.

So I had to import highcharts in both the places but import drilldown module only once.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Uncaught TypeError: e.doDrilldown is not a function - Highcharts
The reason why the error occurred is that Drilldown(Highcharts) is called multiple times. A Highcharts module works in the way that they ...
Read more >
TypeError: g.isFunction is not a function - Highcharts
I just swapped out the graph options, and then that graph works without issue. I have tested this with several other graph types....
Read more >
How to fix "Uncaught TypeError: x is not a function" in JavaScript
JS Casts 01 - How to fix "Uncaught TypeError : x is not a function " in JavaScript.Visit https://javascriptcasts.com/episodes/01 for a summary ...
Read more >
Uncaught TypeError | Is Not A Function | Solution - YouTube
Have you encountered an error like:- Uncaught TypeError - Some selector is not a function - jQuery is not a function - owlCarousel...
Read more >
Incident Response - Hybrid Analysis
Not all malicious and suspicious indicators are displayed. Get your own cloud service or the full version to view all details.
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found