Browse Source

Merge pull request #252 in DESIGN/design from ~ZHENG/c-design:release/10.0 to release/10.0

* commit '459fa97fe401ab62312a4f122dcd895fc9fbd4bd':
  CHART-2492 910
master
zheng 6 years ago
parent
commit
157b12d0b9
  1. 5
      designer-chart/src/main/java/com/fr/van/chart/designer/other/VanChartInteractivePane.java

5
designer-chart/src/main/java/com/fr/van/chart/designer/other/VanChartInteractivePane.java

@ -183,7 +183,10 @@ public class VanChartInteractivePane extends AbstractVanChartScrollPane<Chart> {
private void checkZoomEnabled() {
if (zoomWidget != null && axisRotation != null) {
zoomWidget.setSelectedIndex(1);
if (axisRotation.getSelectedIndex() == 0) {
//只有开启坐标轴翻转,才需要将缩放控件强制关闭。
zoomWidget.setSelectedIndex(1);
}
checkZoomPane();
zoomWidget.setEnabled(axisRotation.getSelectedIndex() == 1);
}

Loading…
Cancel
Save