Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Allow all Highcharts series types #187

Open
cranedc opened this issue Apr 3, 2019 · 0 comments
Open

Allow all Highcharts series types #187

cranedc opened this issue Apr 3, 2019 · 0 comments

Comments

@cranedc
Copy link

cranedc commented Apr 3, 2019

Expected behaviour

When modifying the series type to "treemap" or "heatmap" via the Custom Code section I would expect any series type would work

Actual behaviour

Highcharts Error #17 occurs when trying to use certain series types. I ran into this error for the treemap and heatmap series. I wouldn't be surprised if other series types don't have the necessary extension file for the series type.

Reproduction steps

By using a function through data.parsed to modify the csv columns as well as the highchart object I am trying to change the series type to treemap. That's when I get the #17 error.

Highcharts.merge(true, options, {
    "data": {
        parsed: function (columns) {
          var series = [{
              type: 'treemap',
              layoutAlgorithm: 'squarified',
              name: 'Treemap',
              data: [{"name":6704,"value":0.016871545,"colorValue":-0.0000230512},{"name":"AL","value":0.005973506,"colorValue":-0.0000948869},{"name":"AMCX","value":0.019631263,"colorValue":-0.000643993},{"name":"AMG","value":0.012073988,"colorValue":-0.000250316},{"name":"AMGN","value":0.027474309,"colorValue":0.000983686}],
          }]
          this.chartOptions.series = series       
        }
    }
});

Editor version

Not sure, I am using a web version through Google Chrome: http://editor.highcharts.com/full.html

Affected browser(s)

I'm using Chrome, don't think this issue is browser specific

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant