|
|
@ -92,13 +92,12 @@ public class VanChartGaugeSeriesPane extends VanChartAbstractPlotSeriesPane { |
|
|
|
if(attrLabel == null){ |
|
|
|
if(attrLabel == null){ |
|
|
|
return; |
|
|
|
return; |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
attrLabel.getAttrLabelDetail().getTextAttr().setFRFont(VanChartGaugePlot.THERMOMETER_LABEL_FONT); |
|
|
|
if(gaugeLayout.getSelectedIndex() == 0){ |
|
|
|
if(gaugeLayout.getSelectedIndex() == 0){ |
|
|
|
attrLabel.getAttrLabelDetail().setPosition(Constants.LEFT); |
|
|
|
attrLabel.getAttrLabelDetail().setPosition(Constants.LEFT); |
|
|
|
attrLabel.getAttrLabelDetail().getTextAttr().setFRFont(VanChartGaugePlot.THERMOMETER_VERTICAL_PERCENT_LABEL_FONT); |
|
|
|
|
|
|
|
attrLabel.getGaugeValueLabelDetail().setPosition(Constants.LEFT); |
|
|
|
attrLabel.getGaugeValueLabelDetail().setPosition(Constants.LEFT); |
|
|
|
} else { |
|
|
|
} else { |
|
|
|
attrLabel.getAttrLabelDetail().setPosition(Constants.BOTTOM); |
|
|
|
attrLabel.getAttrLabelDetail().setPosition(Constants.BOTTOM); |
|
|
|
attrLabel.getAttrLabelDetail().getTextAttr().setFRFont(VanChartGaugePlot.THERMOMETER_PERCENT_LABEL_FONT); |
|
|
|
|
|
|
|
attrLabel.getGaugeValueLabelDetail().setPosition(Constants.BOTTOM); |
|
|
|
attrLabel.getGaugeValueLabelDetail().setPosition(Constants.BOTTOM); |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|