Home › forums › Using CanvasJS › Cannot pass dataPoints.push() from string › Reply To: Cannot pass dataPoints.push() from string
The dataPoints that you’re pushing into data is a string which should be an array of objects. You can change the string of dataPoints to array of objects and assign it directly to dataPoints of chart. Please, take a look at this jsFiddle.
ASP.NET MVC Charts
ContactSales EnquiriesSupport ForumTwitter Support Handle