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

stacking column graph and threshold: null #7420

Closed
netwang opened this issue Nov 17, 2017 · 1 comment
Closed

stacking column graph and threshold: null #7420

netwang opened this issue Nov 17, 2017 · 1 comment

Comments

@netwang
Copy link

@netwang netwang commented Nov 17, 2017

Try this:
http://jsfiddle.net/gh/get/library/pure/highcharts/highcharts/tree/master/samples/highcharts/plotoptions/series-stacking-column/

for this graph, after adding threshold: null, no graph is displayed.

Highcharts.chart('container', {
    chart: {
        type: 'column'
    },
    xAxis: {
        categories: ['Jan', 'Feb', 'Mar', 'Apr', 'May', 'Jun', 'Jul', 'Aug', 'Sep', 'Oct', 'Nov', 'Dec']
    },

    plotOptions: {
        series: {
            stacking: 'normal',
            threshold: null
        }
    },

    series: [{
        data: [29.9, 71.5, 106.4, 129.2, 144.0, 176.0, 135.6, 148.5, 216.4, 194.1, 95.6, 54.4]
    }, {
        data: [144.0, 176.0, 135.6, 148.5, 216.4, 194.1, 95.6, 54.4, 29.9, 71.5, 106.4, 129.2]
    }],

    tooltip: {
        pointFormat: '{series.name}: <b>{point.y}</b> ({point.percentage:.1f}%)<br/>'
    }
});
@pawelfus
Copy link
Contributor

@pawelfus pawelfus commented Nov 20, 2017

Hi @netwang

Thank you for reporting this issue.

Workaround:
Set startFromTreshold to false: http://jsfiddle.net/hnf5ogw6/

Internal note:
It's a regression after cc29bc5

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

Successfully merging a pull request may close this issue.

None yet
2 participants