Browse Source

CHART-15610 自定义标签格式不保留

feature/big-screen
白岳 4 years ago
parent
commit
452e0bf300
  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