mirror of
https://github.com/akveo/ngx-admin.git
synced 2025-12-21 09:50:13 +01:00
feat(charts): add the charts demos
This commit is contained in:
parent
cf9ccf1850
commit
dd7acac528
25 changed files with 925 additions and 228 deletions
|
|
@ -10,12 +10,13 @@ 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';
|
||||
import { ChartjsRadarComponent } from './chartjs/chartjs-radar.component';
|
||||
import { D3BarComponent } from './d3/d3-bar.component';
|
||||
import { D3LineComponent } from './d3/d3-line.component';
|
||||
import { D3PieComponent } from './d3/d3-pie.component';
|
||||
import { D3PlotComponent } from './d3/d3-plot.component';
|
||||
import { D3AreaStackComponent } from './d3/d3-area-stack.component';
|
||||
import { D3PolarComponent } from './d3/d3-polar.component';
|
||||
import { D3AdvancedPieComponent } from './d3/d3-advanced-pie.component';
|
||||
import { EchartsLineComponent } from './echarts/echarts-line.component';
|
||||
import { EchartsPieComponent } from './echarts/echarts-pie.component';
|
||||
import { EchartsBarComponent } from './echarts/echarts-bar.component';
|
||||
|
|
@ -30,12 +31,13 @@ const components = [
|
|||
ChartjsPieComponent,
|
||||
ChartjsMultipleXaxisComponent,
|
||||
ChartjsBarHorizontalComponent,
|
||||
ChartjsRadarComponent,
|
||||
D3BarComponent,
|
||||
D3LineComponent,
|
||||
D3PieComponent,
|
||||
D3PlotComponent,
|
||||
D3AreaStackComponent,
|
||||
D3PolarComponent,
|
||||
D3AdvancedPieComponent,
|
||||
EchartsLineComponent,
|
||||
EchartsPieComponent,
|
||||
EchartsBarComponent,
|
||||
|
|
@ -46,16 +48,7 @@ const components = [
|
|||
];
|
||||
|
||||
@NgModule({
|
||||
imports: [
|
||||
SharedModule,
|
||||
ChartsRoutingModule,
|
||||
AngularEchartsModule,
|
||||
NgxChartsModule,
|
||||
Ng2Charts,
|
||||
],
|
||||
declarations: [
|
||||
...routedComponents,
|
||||
...components,
|
||||
],
|
||||
imports: [SharedModule, ChartsRoutingModule, AngularEchartsModule, NgxChartsModule, Ng2Charts],
|
||||
declarations: [...routedComponents, ...components],
|
||||
})
|
||||
export class ChartsModule { }
|
||||
export class ChartsModule {}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue