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

Treemap series doesn't exist #406

Open
ghost opened this issue Jun 20, 2018 · 5 comments
Open

Treemap series doesn't exist #406

ghost opened this issue Jun 20, 2018 · 5 comments

Comments

@ghost
Copy link

ghost commented Jun 20, 2018

Using series type as treemap gives me a series doesn't exist error.

...
import ReactHighMaps from "react-highcharts/ReactHighmaps";

class TreeMap extends React.Component {
    render() {
        const config = {
            colorAxis: {
                minColor: '#FFFFFF',
                maxColor: ReactHighcharts.Highcharts.getOptions().colors[0]
            },
            series: [{
                type: 'treemap',
                layoutAlgorithm: 'squarified',
                data: [{
                    name: 'A',
                    value: 6,
                    colorValue: 1
                }, {
                    name: 'B',
                    value: 6,
                    colorValue: 2
                }, {
                    name: 'C',
                    value: 4,
                    colorValue: 3
                }, {
                    name: 'D',
                    value: 3,
                    colorValue: 4
                }, {
                    name: 'E',
                    value: 2,
                    colorValue: 5
                }, {
                    name: 'F',
                    value: 2,
                    colorValue: 6
                }, {
                    name: 'G',
                    value: 1,
                    colorValue: 7
                }]
            }],
            title: {
                text: 'Highcharts Treemap'
            }
        }
        return <ReactHighMaps config={config}/>
    }
}
@Antbrooksuk
Copy link

+1

@278kunal
Copy link

I am also facing the same issue, can the developer please provide an update on this.

@kirjs
Copy link
Owner

kirjs commented Oct 13, 2019

Please help us by reproducing your issue here:
https://stackblitz.com/fork/react-highcharts-demo

@abhi-2020
Copy link

Still facing the same issue. Did anyone figure out any solution?

@arpisunny
Copy link

is this issue fixed now ?
can I use treemap?

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

5 participants