You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 2 Current »

すべてのメソッドには、対応する JavaScript 関数があり、パラメータ数も一致しています。ですから、Insert メソッドには Insert 関数が存在します。次の例では、引き渡された 2 つの値がデータ・テーブル値を埋めるために使用されています。

PROTOTYPE.Insert = function( Value, Caption )

{   

  var index = this.m_DataTable.addRow( [Caption, Value ] );


  this.DrawChart();

  return index;

}

  • No labels