In this example, the javascript code needed to invoke the stored procedure dbo.spGetIndustrialChart is:
attachDomReadyEventHandler(function() {
//Set Initial Options, using "CallProcedure" method, also set the procedure.
var options = { 'URL': '../DALService.svc/CallProcedure', 'DatabaseParameters': 'dbo.spGetIndustrialChart' };
//Create an Instance of IndustrialChart
ic = new IndustrialChart(document.getElementById('pIC'), options);
//Refresh Widget
ic.RefreshData();
});