forked from valor-software/ng2-charts
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat(schematics): Add
ng2-charts-schematics
npm package
Add schematics for generating components with charts. Fore example `ng generate ng2-charts-schematics:line my-line` will create a component called `my-line` which contains a line chart.
- Loading branch information
Showing
25 changed files
with
2,505 additions
and
5 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
{ | ||
// Use IntelliSense to learn about possible attributes. | ||
// Hover to view descriptions of existing attributes. | ||
// For more information, visit: https://go.microsoft.com/fwlink/?linkid=830387 | ||
"version": "0.2.0", | ||
"configurations": [ | ||
{ | ||
"type": "chrome", | ||
"request": "launch", | ||
"name": "Launch Chrome against localhost", | ||
"url": "http://localhost:4200", | ||
"webRoot": "${workspaceFolder}", | ||
"runtimeArgs": [ | ||
"--preserve-symlinks" | ||
] | ||
} | ||
] | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
# Outputs | ||
src/**/*.js | ||
src/**/*.js.map | ||
src/**/*.d.ts | ||
|
||
# IDEs | ||
.idea/ | ||
jsconfig.json | ||
.vscode/ | ||
|
||
# Misc | ||
node_modules/ | ||
npm-debug.log* | ||
yarn-error.log* | ||
|
||
# Mac OSX Finder files. | ||
**/.DS_Store | ||
.DS_Store |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
# Ignores TypeScript files, but keeps definitions. | ||
*.ts | ||
!*.d.ts |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
# Schematics for `ng2-charts` | ||
|
||
## Installation | ||
|
||
```bash | ||
npm install --save-dev ng2-charts-schematics | ||
``` | ||
|
||
## Usage | ||
|
||
Generate a component with a line chart: | ||
|
||
```bash | ||
ng generate ng2-charts-schematics:line my-line-chart | ||
``` | ||
|
||
Supported chart types are `line`, `bar`, `radar`, `pie`, `polar-area`, `doughnut`, `bubble` and `scatter`. |
Oops, something went wrong.