We use cookies to give you the best experience on our website. If you continue to browse, then you agree to our privacy policy and cookie policy. (Last updated on: November 16, 2018).
Unfortunately, activation email could not send to your email. Please try again.
Syncfusion Feedback

using ng-repeat to draw e-series in runtime

Thread ID:





131059 Jun 18,2017 12:57 PM UTC Jun 19,2017 12:41 PM UTC AngularJS 1
Tags: ejChart
weam ghalab
Asked On June 18, 2017 12:57 PM UTC

e-primaryxaxis-range-interval="1" e-primaryxaxis-valuetype="category" e-load=onchartload e-size-height="600px"
e-title-text="Projects Hrs" e-primaryyaxis-labelformat="dd/MM/yyyy" e-primaryxaxis-range-min="{{StartDate}}" e-primaryxaxis-range-max="{{EndDate}}"
e-primaryyaxis-title-text="Projects" e-primaryyaxis-range-min="0"
e-primaryyaxis-range-max="50" e-primaryyaxis-range-interval="5" e-commonseriesoptions-type="line"
e-commonseriesoptions-enableanimation="true" e-commonseriesoptions-tooltip-visible="true" e-commonseriesoptions-tooltip-template="Tooltip"
e-commonseriesoptions-marker-shape="circle" e-commonseriesoptions-marker-visible="true"

Dharanidharan Dharmasivam [Syncfusion]
Replied On June 19, 2017 12:41 PM UTC

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 

We have prepared a sample based on this. Please find the sample under the following location.
Sample Location : http://www.syncfusion.com/downloads/support/directtrac/149536/ze/Angular-232717496 

Please let us know if you have any concern. 



This post will be permanently deleted. Are you sure you want to continue?

Sorry, An error occured while processing your request. Please try again later.

Please sign in to access our forum

This page will automatically be redirected to the sign-in page in 10 seconds.

Warning Icon You are using an outdated version of Internet Explorer that may not display all features of this and other websites. Upgrade to Internet Explorer 8 or newer for a better experience.Close Icon