1

我刚刚升级到最新版本,柱形图(动态更新)适用于 IE9(?!?)但不适用于最新的 Chrome IE截图

铬屏幕截图

4

2 回答 2

0

I think this is a highcharts bug that has been fixed. I tested their latest work (http://github.highcharts.com/master/highcharts.js) before reporting the bug, and the problem went away for me.

I believe this is the github issue: https://github.com/highslide-software/highcharts.com/issues/1623

于 2013-03-26T20:51:32.580 回答
0

我准备了动态添加列的示例(通过按钮)

http://jsfiddle.net/DQTMP/

 $('#container').highcharts({
        chart: {
            type: 'spline'
        },
        title: {
            text: 'Monthly Average Temperature'
        },
        series: [{
            name: 'Tokyo',
            data: [7.0, 6.9, 9.5, 14.5, 18.2, 21.5, 25.2, 23.3, 18.3, 13.9, 9.6]

        }]
    },function(chart){

        $('#btn').click(function(){
            chart.addSeries({
                type:'column',
                data:[1,2,3,4,5]
            });
        });

    });

如果您在 Chrome 中遇到此示例的问题,请告诉我。

于 2013-03-26T14:16:51.187 回答