Skip to content

Commit

Permalink
fix(readme): update instruction for import
Browse files Browse the repository at this point in the history
* Change list of chart types in header

* Update documentation import instrucion on http://valor-software.com/ng2-charts/
  • Loading branch information
SergeyKuryatnick authored and valorkin committed Dec 13, 2016
1 parent e46b5d1 commit a9f07a8
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 2 deletions.
7 changes: 6 additions & 1 deletion components/charts/readme.md
@@ -1,6 +1,11 @@
### Usage
```typescript
import { CHART_DIRECTIVES } from 'ng2-charts/ng2-charts';
import { ChartsModule } from 'ng2-charts/ng2-charts';

// In your App's module:
imports: [
ChartsModule
]
```

### Chart types
Expand Down
2 changes: 1 addition & 1 deletion demo/components/demo-header.ts
Expand Up @@ -4,10 +4,10 @@ import { Ng2BootstrapConfig, Ng2BootstrapTheme } from 'ng2-bootstrap/ng2-bootstr
let components = [
{name: 'Line Chart', href: 'lineChart'},
{name: 'Bar Chart', href: 'barChart'},
{name: 'Doughnut Chart', href: 'doughnutChart'},
{name: 'Radar Chart', href: 'radarChart'},
{name: 'Pie Chart', href: 'pieChart'},
{name: 'Polar Area Chart', href: 'polarAreaChart'},
{name: 'Doughnut Chart', href: 'doughnutChart'},
{name: 'Dynamic Chart', href: 'baseChart'}
];

Expand Down

0 comments on commit a9f07a8

Please sign in to comment.