2017-05-11 18:31:55 +03:00
|
|
|
import { NgModule } from '@angular/core';
|
2018-01-04 15:49:27 +03:00
|
|
|
import { NgxEchartsModule } from 'ngx-echarts';
|
2017-06-13 20:40:08 +03:00
|
|
|
import { NgxChartsModule } from '@swimlane/ngx-charts';
|
2017-08-29 10:54:30 +03:00
|
|
|
import { ChartModule } from 'angular2-chartjs';
|
|
|
|
|
|
2017-08-04 19:27:16 +03:00
|
|
|
import { ThemeModule } from '../../@theme/theme.module';
|
2017-05-16 19:02:54 +03:00
|
|
|
|
2017-07-26 19:59:47 +03:00
|
|
|
import { ChartsRoutingModule, routedComponents } from './charts-routing.module';
|
|
|
|
|
import { ChartjsBarComponent } from './chartjs/chartjs-bar.component';
|
|
|
|
|
import { ChartjsLineComponent } from './chartjs/chartjs-line.component';
|
|
|
|
|
import { ChartjsPieComponent } from './chartjs/chartjs-pie.component';
|
|
|
|
|
import { ChartjsMultipleXaxisComponent } from './chartjs/chartjs-multiple-xaxis.component';
|
|
|
|
|
import { ChartjsBarHorizontalComponent } from './chartjs/chartjs-bar-horizontal.component';
|
2017-07-27 12:06:50 +03:00
|
|
|
import { ChartjsRadarComponent } from './chartjs/chartjs-radar.component';
|
2017-07-26 19:59:47 +03:00
|
|
|
import { D3BarComponent } from './d3/d3-bar.component';
|
|
|
|
|
import { D3LineComponent } from './d3/d3-line.component';
|
|
|
|
|
import { D3PieComponent } from './d3/d3-pie.component';
|
|
|
|
|
import { D3AreaStackComponent } from './d3/d3-area-stack.component';
|
|
|
|
|
import { D3PolarComponent } from './d3/d3-polar.component';
|
2017-07-27 12:06:50 +03:00
|
|
|
import { D3AdvancedPieComponent } from './d3/d3-advanced-pie.component';
|
2017-07-26 19:59:47 +03:00
|
|
|
import { EchartsLineComponent } from './echarts/echarts-line.component';
|
|
|
|
|
import { EchartsPieComponent } from './echarts/echarts-pie.component';
|
|
|
|
|
import { EchartsBarComponent } from './echarts/echarts-bar.component';
|
|
|
|
|
import { EchartsMultipleXaxisComponent } from './echarts/echarts-multiple-xaxis.component';
|
|
|
|
|
import { EchartsAreaStackComponent } from './echarts/echarts-area-stack.component';
|
|
|
|
|
import { EchartsBarAnimationComponent } from './echarts/echarts-bar-animation.component';
|
|
|
|
|
import { EchartsRadarComponent } from './echarts/echarts-radar.component';
|
|
|
|
|
|
2017-05-16 19:02:54 +03:00
|
|
|
const components = [
|
2017-07-26 19:59:47 +03:00
|
|
|
ChartjsBarComponent,
|
|
|
|
|
ChartjsLineComponent,
|
|
|
|
|
ChartjsPieComponent,
|
|
|
|
|
ChartjsMultipleXaxisComponent,
|
|
|
|
|
ChartjsBarHorizontalComponent,
|
2017-07-27 12:06:50 +03:00
|
|
|
ChartjsRadarComponent,
|
2017-05-16 19:02:54 +03:00
|
|
|
D3BarComponent,
|
|
|
|
|
D3LineComponent,
|
|
|
|
|
D3PieComponent,
|
2017-07-26 19:59:47 +03:00
|
|
|
D3AreaStackComponent,
|
|
|
|
|
D3PolarComponent,
|
2017-07-27 12:06:50 +03:00
|
|
|
D3AdvancedPieComponent,
|
2017-05-16 19:02:54 +03:00
|
|
|
EchartsLineComponent,
|
|
|
|
|
EchartsPieComponent,
|
|
|
|
|
EchartsBarComponent,
|
2017-07-26 19:59:47 +03:00
|
|
|
EchartsMultipleXaxisComponent,
|
|
|
|
|
EchartsAreaStackComponent,
|
|
|
|
|
EchartsBarAnimationComponent,
|
|
|
|
|
EchartsRadarComponent,
|
2017-05-16 19:02:54 +03:00
|
|
|
];
|
2017-05-11 18:31:55 +03:00
|
|
|
|
|
|
|
|
@NgModule({
|
2018-01-04 15:49:27 +03:00
|
|
|
imports: [ThemeModule, ChartsRoutingModule, NgxEchartsModule, NgxChartsModule, ChartModule],
|
2017-07-27 12:06:50 +03:00
|
|
|
declarations: [...routedComponents, ...components],
|
2017-05-11 18:31:55 +03:00
|
|
|
})
|
2017-07-27 12:06:50 +03:00
|
|
|
export class ChartsModule {}
|