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.