@ -102,21 +102,21 @@ public class VanChartAxisScrollPaneWithTypeSelect extends AbstractVanChartScroll
if ( ComparatorUtils . equals ( axis . getAxisType ( ) , AxisType . AXIS_CATEGORY ) ) {
textAxisPane . updateBean ( axis ) ;
} else {
axis = new VanChartAxis ( axis . getAxisName ( ) , axis . getPosition ( ) , axis . getGridLineType ( ) ) ;
axis = new VanChartAxis ( axis . getAxisName ( ) , axis . getPosition ( ) , axis . getGridLineType ( ) , axis . getMainGridColor ( ) ) ;
textAxisPane . updateBean ( axis ) ;
}
} else if ( ComparatorUtils . equals ( index , AxisType . AXIS_TIME . ordinal ( ) ) ) {
if ( ComparatorUtils . equals ( axis . getAxisType ( ) , AxisType . AXIS_TIME ) ) {
timeAxisPane . updateBean ( axis ) ;
} else {
axis = new VanChartTimeAxis ( axis . getAxisName ( ) , axis . getPosition ( ) , axis . getGridLineType ( ) ) ;
axis = new VanChartTimeAxis ( axis . getAxisName ( ) , axis . getPosition ( ) , axis . getGridLineType ( ) , axis . getMainGridColor ( ) ) ;
timeAxisPane . updateBean ( axis ) ;
}
} else if ( ComparatorUtils . equals ( index , AxisType . AXIS_VALUE . ordinal ( ) ) ) {
if ( ComparatorUtils . equals ( axis . getAxisType ( ) , AxisType . AXIS_VALUE ) ) {
valueAxisPane . updateBean ( axis ) ;
} else {
axis = new VanChartValueAxis ( axis . getAxisName ( ) , axis . getPosition ( ) , axis . getGridLineType ( ) ) ;
axis = new VanChartValueAxis ( axis . getAxisName ( ) , axis . getPosition ( ) , axis . getGridLineType ( ) , axis . getMainGridColor ( ) ) ;
valueAxisPane . updateBean ( axis ) ;
}
}