In this example, the javascript code needed to invoke the stored procedure dbo.getChartData(Date) is:
attachDomReadyEventHandler(function() { var ConnectionParams = new ConnectionParameters(); ConnectionParams.add('Date', 'DATETIME', '2010-04-04'); var options = { 'URL': '../DALService.svc/CallProcedure', 'Procedure': 'dbo.getChartData' }; ch = new Chart(document.getElementById('chartContainer'), options); ch.RefreshData(ConnectionParams); });