mirror of
https://github.com/akveo/ngx-admin.git
synced 2025-12-19 00:40:12 +01:00
feat(charts): add chart.js examples page
This commit is contained in:
parent
626da294c4
commit
cf23f972d1
22 changed files with 657 additions and 264 deletions
|
|
@ -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 { }
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue