|
|
@ -10,6 +10,7 @@ import com.fr.plugin.chart.type.GradientType; |
|
|
|
import com.fr.van.chart.designer.component.VanChartBeautyPane; |
|
|
|
import com.fr.van.chart.designer.component.VanChartBeautyPane; |
|
|
|
|
|
|
|
|
|
|
|
import javax.swing.JPanel; |
|
|
|
import javax.swing.JPanel; |
|
|
|
|
|
|
|
import javax.swing.SwingUtilities; |
|
|
|
import java.awt.BorderLayout; |
|
|
|
import java.awt.BorderLayout; |
|
|
|
import java.awt.Component; |
|
|
|
import java.awt.Component; |
|
|
|
import java.awt.event.ActionEvent; |
|
|
|
import java.awt.event.ActionEvent; |
|
|
@ -57,7 +58,9 @@ public class VanChartGaugeBeautyPane extends VanChartBeautyPane { |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
private void checkGradientBarVisible() { |
|
|
|
private void checkGradientBarVisible() { |
|
|
|
|
|
|
|
SwingUtilities.invokeLater(() -> { |
|
|
|
gradientBarPane.setVisible(getGradientTypeBox().getSelectedIndex() == 1); |
|
|
|
gradientBarPane.setVisible(getGradientTypeBox().getSelectedIndex() == 1); |
|
|
|
|
|
|
|
}); |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
protected String[] getNameArray() { |
|
|
|
protected String[] getNameArray() { |
|
|
|