0
highcharts
スプライン・チャートの問題があります。問題は、クロムブラウザアニメーションが滑らかではないことです。他のブラウザアニメーションはうまく機能します。 問題は、Chromeがグラフを処理していないことが何であるかということです。Chromeでハイチャートのアニメーションがスムーズでない
$(function() {
history_points_graph = new Highcharts.Chart({
chart: {
renderTo: 'container',
animation: true,
type: 'spline',
events: {
load: function(){
//history_points_graph = this;
//applyFilterGraph_1(1,1);
}
}
},
title: {
text: null
},
xAxis: {
type: 'datetime',
tickPixelInterval: 150,
maxZoom: 20 * 1000
},
yAxis: {
minPadding: 0.2,
maxPadding: 0.2
},
legend: {
enabled: false
},
plotOptions: {
area: {
marker: {
radius: 2
},
lineWidth: 4,
states: {
hover: {
lineWidth: 3
}
}
}
},
series: [{
name: 'Random data',
dataGrouping:false,
enableMouseTracking:false,
animation:{
duration:1000
},
data: [[1096063200,524],[1285624800,429]]
}]
});
});
どうすれば解決できますか?
エラーがあるかどうかをコンソールで確認してください。 – Shaggy
エラーはありません...エラーがあればうれしいです。たぶんコンテナCSSに何か問題がありますか? – Ales
チャートのライブサンプルを投稿して問題を調査できますか? –