which all modules i should install

I am using Pie With Legend from Accumulation Charts in my angular component i am not able to bind any data to chart because the tags "ejs-accumulationchart" and "e-accumulation-series" are unkonwn.. so which all modules need to install??

3 Replies

BP Baby Palanidurai Syncfusion Team April 23, 2018 09:46 AM UTC

Hi Basavaraj, 

Thanks for using syncfusion products, 

We have analyzed your query.  You can install the accumulation chart packages from the below command, npm install @syncfusion/ej2-ng-charts –save”.  Now, you can start using the accumulation chart in your application by importing the modules in app.module.ts. Accumulation Chart component are segregated into individual feature-wise modules. In order to use a particular feature, you need to inject its feature service in the app.module.ts. For example, if you want to use pie charts with legend, you have to inject AccumulationPieSeries and AccumulationLegend  into @NgModule.Providers section. 

Kindly find the below help document link, 


Kindly find the below code snippet to achieve module injection requirement. 
import { AccumulationChartModule } from '@syncfusion/ej2-ng-charts'; 
import { AccumulationChartModule, AccumulationPieSeries, AccumulationLegend } from ‘syncfusion/ej2-ng-charts’; 
 
@NgModule ({ 
   // Accumulation  chart module imports 
       Imports : [AccumulationChartModule]
  // Module injection to providers section 
      Providers: [AccumulationPieSeries, AccumulationLegend ] 
}) 
Screenshot: 
 

Sample for your reference can be find from link, 


Kindly revert us, if you have any concerns. 

Thanks, 
Baby. 



BS Basavaraj Shirur April 24, 2018 07:30 AM UTC

Thank you for help i will try this..


BP Baby Palanidurai Syncfusion Team April 25, 2018 04:28 AM UTC

Hi Basavaraj, 

Thanks for your update, 

Please let us know, if you need any further assistance on this. 

Regards, 
baby 


Loader.
Up arrow icon