feat(charts): add chart.js examples page

This commit is contained in:
Alexander Zhukov 2017-05-16 19:02:54 +03:00
parent 626da294c4
commit cf23f972d1
22 changed files with 657 additions and 264 deletions

View file

@ -4,6 +4,27 @@ import { NgaChartsModule } from '@nga/theme';
import { SharedModule } from '../../shared.module';
import { ChartsRoutingModule, routedComponents } from './charts-routing.module';
import { ChartJsBarComponent } from './chart.js/bar/bar.component';
import { ChartJsLineComponent } from './chart.js/line/line.component';
import { ChartJsPieComponent } from './chart.js/pie/pie.component';
import { D3BarComponent } from './d3/bar/bar.component';
import { D3LineComponent } from './d3/line/line.component';
import { D3PieComponent } from './d3/pie/pie.component';
import { EchartsLineComponent } from './echarts/line/line.component';
import { EchartsPieComponent } from './echarts/pie/pie.component';
import { EchartsBarComponent } from './echarts/bar/bar.component';
const components = [
ChartJsBarComponent,
ChartJsLineComponent,
ChartJsPieComponent,
D3BarComponent,
D3LineComponent,
D3PieComponent,
EchartsLineComponent,
EchartsPieComponent,
EchartsBarComponent,
];
@NgModule({
imports: [
@ -13,6 +34,7 @@ import { ChartsRoutingModule, routedComponents } from './charts-routing.module';
],
declarations: [
...routedComponents,
...components,
],
})
export class ChartsModule { }