0
votes

As the title states, highcharts is only loading the title and subtitle, yet none of the subsequent chart information or it's relevant theme. Hitting my head against a wall trying to get this to work. Really hoping someone else here has had this problem.

jsfidizzle

The first half of the fiddle is the highcharts theme. All the logic starts kicking off at #transitfunding

2

2 Answers

5
votes

Very simple fix... you need to move your series data outside of your plotOptions: like so:

        plotOptions: {
            column: {
                stacking: 'normal'
            },

        },
        series: [{
                name: 'Other',
                data: [0, 0, -5400000, 1, 1, 0, 3, 0, 8016805, -8435419, -28900000]
            }, {
                name: 'Gas Tax',
                data: [119221, 627705, 234646, 6685080, 1341871, 1990937, 3187208, 6911715, 10002605, -14282137, -10555715 ]
            }]

A working fiddle can be seen here.

1
votes

you have misplace the series section.

series(that contains data) is the sibling of plotOptions not its child.

so it should be like

plotOptions: {
            column: {
                stacking: 'normal'
            },
        },
        series: [{
            name: 'Other',
            data: [0, 0, -5400000, 1, 1, 0, 3, 0, 8016805, -8435419, -28900000]
        }, {
            name: 'Gas Tax',
            data: [119221, 627705, 234646, 6685080, 1341871, 1990937, 3187208, 6911715, 10002605, -14282137, -10555715 ]
        }]

I've updated your js fiddle here