Hi Weam,
Thanks for contacting Syncfusion support.
We have analyzed your query. As of now, we don’t have support for ng-repeat in series, so we have logged a feature request for this requirement and this will be available in any of our upcoming release.
You can communicate with us regarding the open features at any time using the “Contact” option.
However, if you want to add more series using collection, you can achieve this using e-load event as follows,
|
e-load="addSeries" // event
angular.module('syncApp', ['ejangular'])
.controller('Chart', function ($scope) {
$scope.addSeries = function (sender) {
for (var i = 0; i < obj.length; i++) {
sender.model.series[i] = {
dataSource: obj[i].data, // assign datasource
xName:"Day",
yName:"John"
}
}
} }); |
Please let us know if you have any concern.
Thanks,
Dharani.