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

  • SEARCH
  • Home
  • 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 7972423
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 4, 20262026-06-04T07:51:41+00:00 2026-06-04T07:51:41+00:00

Using HighCharts 2.2.3 in an ASP.NET site. See http://jsfiddle.net/wergeld/TDLvc/ for code example. My site

  • 0

Using HighCharts 2.2.3 in an ASP.NET site.
See http://jsfiddle.net/wergeld/TDLvc/ for code example.
My site setup is a little different than what the jsFiddle shows.
My function to change the series exists in an included JS file and the call to the function is not “in-line” with the chart creation JS code (although it is still wrapped in a document ready jquery).

I have two issues and one of which can be seen in the jsFiddle.
1) When changing chart type it looks like the yAxis designation gets lost. You can see I have originally 2 yAxis and after you change the chart type the top axis no longer has value labels (means that the chart data is using only the bottom axis (first yAxis)).
2) When running this under FF or IE I get an error on the line that calls:

data: serie.options.data

The error is:
c is not a constructor
Line 55
in highcharts.js (this is the min-ed file).

Using highcharts.src.js I can now see that the error is:
typeClass is not a constructor

This is on line 8789 in the src.js:
serie = new typeClass();

See updated jsFiddle: select Point as chart type: http://jsfiddle.net/wergeld/nS4Ny/1/.
This will throw that error.

  • 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-06-04T07:51:43+00:00Added an answer on June 4, 2026 at 7:51 am

    This issue is the capitalization of our drop-down values. Changed the check to do:

    newType = newType.toLowerCase();
    

    Now chart type changes great take effect. Full code:

    function changeType(chart, series, newType) {
            newType = newType.toLowerCase();
            for (var i = 0; i < series.length; i++) {
                series = series[0];
                try {
                    series.chart.addSeries({
                        type: newType,
                        stack: series.stack,
                        yaxis: series.yaxis,
                        name: series.name,
                        color: series.color,
                        data: series.options.data
                    },
                    false);
                    series.remove();
                } catch (e) {
                    alert(newType & ': ' & e);
                }
            }
        }
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I am using Highcharts plugin for my web site. So, I have a requirement
I've got this code I'm using to insert data into Highcharts def self.amount_on(date) where(date(created_at)
I am learning JS from scratch and implementing HighCharts code using JS. Seeing one
I am using HighCharts for a line graph and i am attemping to change
I'm using highcharts to make a piechart but I'm having trouble loading a custom
I've set up some charts using highcharts, populating it's series column using the brilliant
I am using DotNet.Highcharts in conjunction with Visual Studio 2010. I have created an
Using LINQ on collections, what is the difference between the following lines of code?
I'm using Highcharts to represent groups of time series. So, data points collected from
I'm using highcharts for graphical showcase of statistics. As I understand it,highcharts uses UTC

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.