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