|
|
|
@ -123,7 +123,7 @@ public class VanChartGaugeLabelDetailPane extends VanChartPlotLabelDetailPane {
|
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
protected Component[][] getLabelPaneComponents(Plot plot, double p, double[] columnSize) { |
|
|
|
|
if (hasLabelAlign(plot)) { |
|
|
|
|
if (hasLabelAlignPane()) { |
|
|
|
|
|
|
|
|
|
return new Component[][]{ |
|
|
|
|
new Component[]{getDataLabelContentPane(), null}, |
|
|
|
@ -222,6 +222,10 @@ public class VanChartGaugeLabelDetailPane extends VanChartPlotLabelDetailPane {
|
|
|
|
|
return getGaugeStyle() == GaugeStyle.THERMOMETER && !((VanChartGaugePlot) plot).getGaugeDetailStyle().isHorizontalLayout(); |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
protected boolean hasLabelAlignPane() { |
|
|
|
|
return getGaugeStyle() == GaugeStyle.THERMOMETER; |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
public void populate(AttrLabelDetail detail) { |
|
|
|
|
super.populate(detail); |
|
|
|
|
|
|
|
|
|