Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • Home
  • SEARCH
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 6915175
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 27, 20262026-05-27T09:26:32+00:00 2026-05-27T09:26:32+00:00

Highcharts doesn’t really do error reporting, as some of you have probably found out.

  • 0

Highcharts doesn’t really do error reporting, as some of you have probably found out. So far, I learned that the error Uncaught TypeError: Cannot set property 'innerHTML' of null often means you neglected to add a renderTo element in the chart config. Now I need to figure out this error:

Uncaught TypeError: Cannot read property 'length' of undefined

I am dynamically generating my config object, but this is what it looks like (in JSON format):

{
    "chart": {
        "renderTo": "someId",
        "type": "line"
    },
    "xAxis": {},
    "yAxis": {
        "title": {}
    },
    "series": [
        {
            "name": "a",
            "data": [
                1,
                2
            ]
        },
        {
            "name": "b",
            "data": [
                1,
                3
            ]
        },
        {
            "name": "c",
            "data": [
                2,
                4
            ]
        }
    ],
    "credits": {
        "enabled": false
    },
    "tooltip": {}
}

Can anyone help me see the problem?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-27T09:26:32+00:00Added an answer on May 27, 2026 at 9:26 am

    Ok, I actually figured it out. The problem comes from the fact that I’m using Highcharts in an unconventional way. In a javascript class constructor, I was doing something like this:

    function MyGraph(options) {
      // Manipulate options, generate my own defaults
      Highcharts.Chart.call(this, options);
    }
    

    Highcharts no likey, so I just did this instead:

    function MyGraph(options) {
      // Manipulate options, generate my own defaults
      $.extend(this, Highcharts.Chart(options));
    }
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

Good morning, I'm having a really annoying issue with Highcharts, such that the x-axis
I am using Highcharts plugin for my web site. So, I have a requirement
I have a big problem using highcharts, because I have been trying for hours
I have developed a webpage containing charts using HighCharts . It works fine on
Has anyone used the Highcharts Javascript charting library? I have a few questions about
I'm trying to do a datetime chart in Highcharts, but only some of my
We are planning to incorporate a traffic reporting system into our web application that
I'm using Highcharts to create some vertical bars (a.k.a. column charts) a lot like
I am using HighCharts to produce some graphs. For some reason the graph axis
I have gone through Highcharts options needed to be set for xAxis properties to

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.