App with examples of all the data visualizations available in the ngCatalyst package.
Clone this repo then run npm install
.
Next run ng serve
and explore the different visualizations available in NgCatalyst.
Go to http://localhost:4200 after running the project to see all the visualizations.
You can also experiment with each chart by changing their props in the app.component.ts
file.
- Append the following line inside tsconfig.json
"paths": { "@angular/*": ["node_modules/@angular/*"] }
- Replace the module import inside app.module.ts
import { NgcatalystModule } from "ngcatalyst";
becomes
import { NgcatalystModule } from "../../node_modules/ngcatalyst/dist/ngcatalyst/bundles/ngcatalyst.umd.js";
- Replace the style reference inside angular.json file
"node_modules/ngcatalyst/lib/styles.css"
becomes
"node_modules/ngcatalyst/dist/ngcatalyst/lib/styles.css"
- In terminal enter
npm run package
- In terminal enter
npm link
- In terminal enter
npm link ngcatalyst
- In terminal enter
npm start