Page History
Show Contents List
You are here:
...
All methods will have a corresponding JavaScript function with a matching number of parameters. Thus, the Insert method will have an Insert function. This example has two values passed in that are used to populate a table of data.
Wiki Markup
PROTOTYPE.Insert = function( Value, Caption )
...
{
...
var index = this.m_DataTable.addRow( \[Caption, Value \] );
...
this.DrawChart();
...
return index;
}