npm.io
15.3.0 • Published 7 months ago

ontimize-web-ngx-charts

Licence
Apache-2.0
Version
15.3.0
Deps
3
Size
1.8 MB
Vulns
0
Weekly
0
Stars
2

Ontimize Web Charts

An implementation of @swimlane/ngx-charts for Ontimize Web.

Github

Ontimize Web Charts module is stored in github{:target="_blank"} where you can also see/add todos, bugs or feature requests in the issues{:target="_blank"} section.

Examples

Check out examples demo:

Installation

  npm install ontimize-web-ngx-charts --save

Usage

Finally, you can use ontimize-web-ngx-charts in your Ontimize Web project.

Configure angular-cli.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",
  ....
],
...
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 { }

Keywords