Installation
Installation
Step 1 - Install the module
npm install ontimize-web-ngx-charts --save
Step 2 - Import in an application module
Include the library chart module into your app in the module where you want to use it.
...
import { OChartModule } from 'ontimize-web-ngx-charts';
...
@NgModule({
imports: [
OChartModule,
/* other imports */
],
declarations: ...
providers: ...
})
export class ExampleModule { }
Step 3 - Configure angular.json dependencies
You must add the module styles definition in your ‘.angular.json’ file styles array:
...
"styles": [
...
"../node_modules/ontimize-web-ngx-charts/styles.scss",
....
],
...