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