Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
Highcharts チャートの各系列のデータ ポイントの数を決定する方法はありますか?
最初のシリーズから取得したいとします。
console.log(chart.series[0].data.length);
デモ
chartjQuery を使用し、チャートを...という名前の変数として定義したと仮定します。
chart
$.each( chart.series, function(){ console.log(this.name + ": " + this.data.length + " data points."); } );