Browse Source

Merge remote-tracking branch 'origin/release/10.0' into release/10.0

final/10.0
Jinbokai 6 years ago
parent
commit
c48fda7f28
  1. 3
      designer-chart/src/main/java/com/fr/van/chart/designer/other/VanChartInteractivePane.java

3
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) {
if (axisRotation.getSelectedIndex() == 0) {
//只有开启坐标轴翻转,才需要将缩放控件强制关闭。
zoomWidget.setSelectedIndex(1);
}
checkZoomPane();
zoomWidget.setEnabled(axisRotation.getSelectedIndex() == 1);
}

Loading…
Cancel
Save