@@ -45,60 +45,60 @@ import { GroupingPieComponent } from './grouping.component';
45
45
import { InversedAxisChartComponent } from './inversed.component' ;
46
46
import { SharedModule } from '../common/shared.module' ;
47
47
export const chartAppRoutes : Object [ ] = [
48
- { path : 'chart/line' , component : LineChartComponent , name : 'Line' , order :'01' , category : 'Series' } ,
49
- { path : 'chart/column' , component : ColumnChartComponent , name : 'Column' , order :'01' , category : 'Series' } ,
50
- { path : 'chart/bar' , component : BarChartComponent , name : 'Bar' , order :'01' , category : 'Series' } ,
51
- { path : 'chart/area' , component : AreaChartComponent , name : 'Area' , order :'01' , category : 'Series' } ,
52
- { path : 'chart/spline' , component : SplineChartComponent , name : 'Spline' , order :'01' , category : 'Series' } ,
53
- { path : 'chart/stacked-column' , component : StackedColumnChartComponent , name : 'Stacked Column' , order :'01' , category : 'Series' } ,
54
- { path : 'chart/stacked-column100' , component : PercentStackedColumnChartComponent , name : '100% Stacked Column' ,
48
+ { path : ':theme/ chart/line' , component : LineChartComponent , name : 'Line' , order :'01' , category : 'Series' } ,
49
+ { path : ':theme/ chart/column' , component : ColumnChartComponent , name : 'Column' , order :'01' , category : 'Series' } ,
50
+ { path : ':theme/ chart/bar' , component : BarChartComponent , name : 'Bar' , order :'01' , category : 'Series' } ,
51
+ { path : ':theme/ chart/area' , component : AreaChartComponent , name : 'Area' , order :'01' , category : 'Series' } ,
52
+ { path : ':theme/ chart/spline' , component : SplineChartComponent , name : 'Spline' , order :'01' , category : 'Series' } ,
53
+ { path : ':theme/ chart/stacked-column' , component : StackedColumnChartComponent , name : 'Stacked Column' , order :'01' , category : 'Series' } ,
54
+ { path : ':theme/ chart/stacked-column100' , component : PercentStackedColumnChartComponent , name : '100% Stacked Column' ,
55
55
order : '01' , category : 'Series' } ,
56
- { path : 'chart/stacked-bar' , component : StackedBarChartComponent , name : 'Stacked Bar' , order :'01' , category : 'Series' } ,
57
- { path : 'chart/stacked-bar100' , component : PercentStackedBarChartComponent , name : '100% Stacked Bar' , order : '01' , category : 'Series' } ,
58
- { path : 'chart/stacked-area' , component : StackedAreaChartComponent , name : 'Stacked Area' , order :'01' , category : 'Series' } ,
59
- { path : 'chart/stacked-area100' , component : PercentStackedAreaChartComponent , name : '100% Stacked Area' , order :'01' , category : 'Series' } ,
60
- { path : 'chart/range-column' , component : RangeColumnChartComponent , name : 'Range Column' , order :'01' , category : 'Series' } ,
61
- { path : 'chart/step-line' , component : StepLineChartComponent , name : 'StepLine' , order :'01' , category : 'Series' } ,
62
- { path : 'chart/step-area' , component : StepAreaChartComponent , name : 'StepArea' , order :'01' , category : 'Series' , type :'new' } ,
63
- { path : 'chart/scatter' , component : ScatterChartComponent , name : 'Scatter' , order :'01' , category : 'Series' } ,
64
- { path : 'chart/bubble' , component : BubbleChartComponent , name : 'Bubble' , order :'01' , category : 'Series' } ,
65
- { path : 'chart/combination-series' , component : CombinationSeriesChartComponent , name : 'Combination Series' ,
56
+ { path : ':theme/ chart/stacked-bar' , component : StackedBarChartComponent , name : 'Stacked Bar' , order :'01' , category : 'Series' } ,
57
+ { path : ':theme/ chart/stacked-bar100' , component : PercentStackedBarChartComponent , name : '100% Stacked Bar' , order : '01' , category : 'Series' } ,
58
+ { path : ':theme/ chart/stacked-area' , component : StackedAreaChartComponent , name : 'Stacked Area' , order :'01' , category : 'Series' } ,
59
+ { path : ':theme/ chart/stacked-area100' , component : PercentStackedAreaChartComponent , name : '100% Stacked Area' , order :'01' , category : 'Series' } ,
60
+ { path : ':theme/ chart/range-column' , component : RangeColumnChartComponent , name : 'Range Column' , order :'01' , category : 'Series' } ,
61
+ { path : ':theme/ chart/step-line' , component : StepLineChartComponent , name : 'StepLine' , order :'01' , category : 'Series' } ,
62
+ { path : ':theme/ chart/step-area' , component : StepAreaChartComponent , name : 'StepArea' , order :'01' , category : 'Series' , type :'new' } ,
63
+ { path : ':theme/ chart/scatter' , component : ScatterChartComponent , name : 'Scatter' , order :'01' , category : 'Series' } ,
64
+ { path : ':theme/ chart/bubble' , component : BubbleChartComponent , name : 'Bubble' , order :'01' , category : 'Series' } ,
65
+ { path : ':theme/ chart/combination-series' , component : CombinationSeriesChartComponent , name : 'Combination Series' ,
66
66
order :'01' , category : 'Series' } ,
67
- { path : 'chart/performance' , component : PerformanceChartComponent , name : 'Performance' , order :'01' , category : 'Series' } ,
68
- { path : 'chart/default-pie' , component : DefaultPieComponent , name : 'Pie' , order : '02' , category : 'Accumulation Series' , type : 'new' } ,
67
+ { path : ':theme/ chart/performance' , component : PerformanceChartComponent , name : 'Performance' , order :'01' , category : 'Series' } ,
68
+ { path : ':theme/ chart/default-pie' , component : DefaultPieComponent , name : 'Pie' , order : '02' , category : 'Accumulation Series' , type : 'new' } ,
69
69
{
70
- path : 'chart/default-doughnut' , component : DefaultDoughnutComponent , name : 'Pie With Legend' , order : '02' ,
70
+ path : ':theme/ chart/default-doughnut' , component : DefaultDoughnutComponent , name : 'Pie With Legend' , order : '02' ,
71
71
category : 'Accumulation Series' , type : 'new'
72
72
} ,
73
73
{
74
- path : 'chart/semi-pie' , component : SemiPieComponent , name : 'Semi Accumulation Series' , order : '02' ,
74
+ path : ':theme/ chart/semi-pie' , component : SemiPieComponent , name : 'Semi Accumulation Series' , order : '02' ,
75
75
category : 'Accumulation Series' , type : 'new'
76
76
} ,
77
77
{
78
- path : 'chart/smart-labels' , component : SmartLabelsComponent , name : 'Smart Labels' , order : '02' ,
78
+ path : ':theme/ chart/smart-labels' , component : SmartLabelsComponent , name : 'Smart Labels' , order : '02' ,
79
79
category : 'Accumulation Series' , type : 'new'
80
80
} ,
81
81
{
82
- path : 'chart/drilldown-pie' , component : DrilldownPieComponent , name : 'Drilldown' , order : '02' ,
82
+ path : ':theme/ chart/drilldown-pie' , component : DrilldownPieComponent , name : 'Drilldown' , order : '02' ,
83
83
category : 'Accumulation Series' , type : 'new'
84
84
} ,
85
85
{
86
- path : 'chart/grouping' , component : GroupingPieComponent , name : 'Grouping' , order : '02' ,
86
+ path : ':theme/ chart/grouping' , component : GroupingPieComponent , name : 'Grouping' , order : '02' ,
87
87
category : 'Accumulation Series' , type : 'new'
88
88
} ,
89
- { path : 'chart/local-data' , component : LocalDataChartComponent , name : 'Local Data' , order :'03' , category : 'Data Binding' } ,
90
- { path : 'chart/remote-data' , component : RemoteDataChartComponent , name : 'Remote Data' , order :'03' , category : 'Data Binding' } ,
91
- { path : 'chart/numeric-axis' , component : NumericAxisChartComponent , name : 'Numeric Axis' , order :'04' , category : 'Chart Axes' } ,
92
- { path : 'chart/datetime' , component : DateTimeAxisChartComponent , name : 'DateTime Axis' , order :'04' , category : 'Chart Axes' } ,
93
- { path : 'chart/category' , component : CategoryChartComponent , name : 'Category Axis' , order :'04' , category : 'Chart Axes' } ,
94
- { path : 'chart/logarithmic' , component : LogarithmicAxisChartComponent , name : 'Logarithmic Axis' , order :'04' , category : 'Chart Axes' } ,
95
- { path : 'chart/multiple-axes' , component : MultipleAxesChartComponent , name : 'Multiple Axes' , order :'04' , category : 'Chart Axes' } ,
96
- { path : 'chart/inversed' , component : InversedAxisChartComponent , name : 'Inversed Axes' , order :'04' , category : 'Chart Axes' , type : 'new' } ,
97
- { path : 'chart/symbols' , component : SymbolsChartComponent , name : 'Symbols' , order :'05' , category : 'Chart Symbols' } ,
98
- { path : 'chart/selection' , component : SelectionChartComponent , name : 'Selection' , order :'06' , category : 'User Interaction' } ,
99
- { path : 'chart/crosshair' , component : CrosshairChartComponent , name : 'Crosshair' , order :'06' , category : 'User Interaction' } ,
100
- { path : 'chart/trackball' , component : TrackBallChartComponent , name : 'TrackBall' , order :'06' , category : 'User Interaction' } ,
101
- { path : 'chart/zooming' , component : ZoomingChartComponent , name : 'Zooming and Panning' , order :'06' , category : 'User Interaction' } ,
89
+ { path : ':theme/ chart/local-data' , component : LocalDataChartComponent , name : 'Local Data' , order :'03' , category : 'Data Binding' } ,
90
+ { path : ':theme/ chart/remote-data' , component : RemoteDataChartComponent , name : 'Remote Data' , order :'03' , category : 'Data Binding' } ,
91
+ { path : ':theme/ chart/numeric-axis' , component : NumericAxisChartComponent , name : 'Numeric Axis' , order :'04' , category : 'Chart Axes' } ,
92
+ { path : ':theme/ chart/datetime' , component : DateTimeAxisChartComponent , name : 'DateTime Axis' , order :'04' , category : 'Chart Axes' } ,
93
+ { path : ':theme/ chart/category' , component : CategoryChartComponent , name : 'Category Axis' , order :'04' , category : 'Chart Axes' } ,
94
+ { path : ':theme/ chart/logarithmic' , component : LogarithmicAxisChartComponent , name : 'Logarithmic Axis' , order :'04' , category : 'Chart Axes' } ,
95
+ { path : ':theme/ chart/multiple-axes' , component : MultipleAxesChartComponent , name : 'Multiple Axes' , order :'04' , category : 'Chart Axes' } ,
96
+ { path : ':theme/ chart/inversed' , component : InversedAxisChartComponent , name : 'Inversed Axes' , order :'04' , category : 'Chart Axes' , type : 'new' } ,
97
+ { path : ':theme/ chart/symbols' , component : SymbolsChartComponent , name : 'Symbols' , order :'05' , category : 'Chart Symbols' } ,
98
+ { path : ':theme/ chart/selection' , component : SelectionChartComponent , name : 'Selection' , order :'06' , category : 'User Interaction' } ,
99
+ { path : ':theme/ chart/crosshair' , component : CrosshairChartComponent , name : 'Crosshair' , order :'06' , category : 'User Interaction' } ,
100
+ { path : ':theme/ chart/trackball' , component : TrackBallChartComponent , name : 'TrackBall' , order :'06' , category : 'User Interaction' } ,
101
+ { path : ':theme/ chart/zooming' , component : ZoomingChartComponent , name : 'Zooming and Panning' , order :'06' , category : 'User Interaction' } ,
102
102
] ;
103
103
104
104
export const chartRouter : ModuleWithProviders = RouterModule . forChild ( chartAppRoutes ) ;
0 commit comments