Browse Source

Pull request #2253: CHART-15610 自定义标签格式不保留

Merge in DESIGN/design from ~BJORN/design:release/10.0 to release/10.0

* commit '452e0bf30093c7a7dd1d93d49afdcc121db047c2':
  CHART-15610 自定义标签格式不保留
feature/big-screen
Bjorn 4 years ago
parent
commit
8f91aa446d
  1. 2
      designer-chart/src/main/java/com/fr/van/chart/designer/type/AbstractRectanglePlotPane.java

2
designer-chart/src/main/java/com/fr/van/chart/designer/type/AbstractRectanglePlotPane.java

@ -68,6 +68,8 @@ public abstract class AbstractRectanglePlotPane extends AbstractVanChartTypePane
VanChartAxis vanChartAxis = vanChartRectanglePlot.getValueAxisList().get(0); VanChartAxis vanChartAxis = vanChartRectanglePlot.getValueAxisList().get(0);
cloneAxis.setFormat(vanChartAxis.getFormat()); cloneAxis.setFormat(vanChartAxis.getFormat());
cloneAxis.setPercentage(vanChartAxis.isPercentage()); cloneAxis.setPercentage(vanChartAxis.isPercentage());
cloneAxis.setCommonValueFormat(vanChartAxis.isCommonValueFormat());
cloneAxis.setHtmlLabel(vanChartAxis.getHtmlLabel());
} }
return clonePlot; return clonePlot;
} catch (CloneNotSupportedException ex) { } catch (CloneNotSupportedException ex) {

Loading…
Cancel
Save