|
|
@ -192,6 +192,10 @@ public class VanChartGaugeDetailAxisPane extends VanChartValueAxisPane { |
|
|
|
@Override |
|
|
|
@Override |
|
|
|
protected void populateLabel(VanChartAxis axis) { |
|
|
|
protected void populateLabel(VanChartAxis axis) { |
|
|
|
VanChartGaugeAxis gaugeAxis = (VanChartGaugeAxis) axis; |
|
|
|
VanChartGaugeAxis gaugeAxis = (VanChartGaugeAxis) axis; |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
if (showLabel != null) { |
|
|
|
|
|
|
|
showLabel.setSelectedIndex(axis.isShowAxisLabel() ? 0 : 1); |
|
|
|
|
|
|
|
} |
|
|
|
if (mainTickColor != null) { |
|
|
|
if (mainTickColor != null) { |
|
|
|
mainTickColor.setSelectObject(gaugeAxis.getMainTickColor()); |
|
|
|
mainTickColor.setSelectObject(gaugeAxis.getMainTickColor()); |
|
|
|
} |
|
|
|
} |
|
|
@ -210,6 +214,10 @@ public class VanChartGaugeDetailAxisPane extends VanChartValueAxisPane { |
|
|
|
@Override |
|
|
|
@Override |
|
|
|
protected void updateLabel(VanChartAxis axis) { |
|
|
|
protected void updateLabel(VanChartAxis axis) { |
|
|
|
VanChartGaugeAxis gaugeAxis = (VanChartGaugeAxis) axis; |
|
|
|
VanChartGaugeAxis gaugeAxis = (VanChartGaugeAxis) axis; |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
if (showLabel != null) { |
|
|
|
|
|
|
|
axis.setShowAxisLabel(showLabel.getSelectedIndex() == 0); |
|
|
|
|
|
|
|
} |
|
|
|
if (mainTickColor != null) { |
|
|
|
if (mainTickColor != null) { |
|
|
|
gaugeAxis.setMainTickColor(mainTickColor.getSelectObject()); |
|
|
|
gaugeAxis.setMainTickColor(mainTickColor.getSelectObject()); |
|
|
|
} |
|
|
|
} |
|
|
|