Define a Widget Property
The SetTitle function corresponds to the Title property and is used to set the value. In this example, the value is received and applied directly to the graph.
PROTOTYPE.setTitle = function( Title )
{
this.m_Title = Title;
this.DrawChart();
}