@@ -17,9 +17,9 @@ import { JSC } from 'jscharting-react';
1717
1818const samples = [
1919 {
20- name : 'Cooking ' ,
21- description : 'Cooking dashboard using JavaScript charts. ' ,
22- path : '/cooking '
20+ name : 'Master Detail ' ,
21+ description : 'A UI Slider control on one chart affects the zoom range on another. ' ,
22+ path : '/samples/master-detail '
2323 } ,
2424 {
2525 name : 'Calendar Events' ,
@@ -52,9 +52,9 @@ const samples = [
5252 path : '/samples/method-update'
5353 } ,
5454 {
55- name : 'Master Detail ' ,
56- description : 'A UI Slider control on one chart affects the zoom range on another. ' ,
57- path : '/samples/master-detail '
55+ name : 'Cooking ' ,
56+ description : 'Cooking dashboard using JavaScript charts. ' ,
57+ path : '/cooking '
5858 } ,
5959 {
6060 name : 'Data Grid' ,
@@ -115,14 +115,14 @@ export default class AppComponent extends React.Component {
115115 < div className = "examplesHead" >
116116 < a href = "https://jscharting.com" > < img src = "https://jscharting.com/images/jsc-react-logo.svg" style = { ( { width :200 } ) } title = "JSCharting" alt = "JSCharting JavaScript Chart Library" /> </ a >
117117 < div className = "examplesItems" >
118- < button style = { btnStyle ( 0 ) } onClick = { ( ) => this . handleSampleChange ( 0 ) } className = "examplesButton" > Infographic </ button >
118+ < button style = { btnStyle ( 0 ) } onClick = { ( ) => this . handleSampleChange ( 0 ) } className = "examplesButton" > Master Detail </ button >
119119 < button style = { btnStyle ( 1 ) } onClick = { ( ) => this . handleSampleChange ( 1 ) } className = "examplesButton" > Calendar - Events</ button >
120120 < button style = { btnStyle ( 2 ) } onClick = { ( ) => this . handleSampleChange ( 2 ) } className = "examplesButton" > Calendar - Heatmap</ button >
121121 < button style = { btnStyle ( 3 ) } onClick = { ( ) => this . handleSampleChange ( 3 ) } className = "examplesButton" > Radar</ button >
122122 < button style = { btnStyle ( 4 ) } onClick = { ( ) => this . handleSampleChange ( 4 ) } className = "examplesButton" > MicroCharts</ button >
123123 < button style = { btnStyle ( 5 ) } onClick = { ( ) => this . handleSampleChange ( 5 ) } className = "examplesButton" > Live Data</ button >
124124 < button style = { btnStyle ( 6 ) } onClick = { ( ) => this . handleSampleChange ( 6 ) } className = "examplesButton" > Method Update</ button >
125- < button style = { btnStyle ( 7 ) } onClick = { ( ) => this . handleSampleChange ( 7 ) } className = "examplesButton" > Master Detail </ button >
125+ < button style = { btnStyle ( 7 ) } onClick = { ( ) => this . handleSampleChange ( 7 ) } className = "examplesButton" > Infographic </ button >
126126 < button style = { btnStyle ( 8 ) } onClick = { ( ) => this . handleSampleChange ( 8 ) } className = "examplesButton" > Data Grid</ button >
127127 </ div >
128128 </ div >
@@ -132,15 +132,15 @@ export default class AppComponent extends React.Component {
132132 </ div >
133133
134134 < Switch >
135- < Redirect from = "/" to = "cooking " exact />
136- < Route path = "/cooking " component = { CookingComponent } />
135+ < Redirect from = "/" to = "/samples/master-detail " exact />
136+ < Route path = "/samples/master-detail " component = { MaterDetailComponent } />
137137 < Route path = "/calendar-events" component = { CalendarEventsComponent } />
138138 < Route path = "/calendar-injuries" component = { CalendarInjuriesComponent } />
139139 < Route path = "/radar-colInverted" component = { RadarColInvertedComponent } />
140140 < Route path = "/samples/micro-progress" component = { MicroProgressComponent } />
141141 < Route path = "/samples/live-data-line" component = { LiveDataLineComponent } />
142142 < Route path = "/samples/method-update" component = { MethodUpdateComponent } />
143- < Route path = "/samples/master-detail " component = { MaterDetailComponent } />
143+ < Route path = "/cooking " component = { CookingComponent } />
144144 < Route path = "/samples/data-grid" component = { DataGridComponent } />
145145 < Route path = "*" component = { NotFoundComponent } />
146146 </ Switch >
0 commit comments