0

更新時にハイストックをアニメーション化する方法を探しています。ドキュメントには、アニメーションのデフォルト値は true であると記載されていますが、この highstock の例ではアニメーションが表示されませんでした:

chart : {
        events : {
            load : function() {

                // set up the updating of the chart each second
                var series = this.series[0];
                setInterval(function() {
                    var x = (new Date()).getTime(), // current time
                    y = Math.round(Math.random() * 100);
                    series.addPoint([x, y], true, true);
                }, 1000);
            }
        }
    },

完全なコード: http://jsfiddle.net/gh/get/jquery/1.9.1/highslide-software/highcharts.com/tree/master/samples/stock/demo/dynamic-update/

4

0 に答える 0