Browse Source

修改范围图例显示不全

master
mengao 7 years ago
parent
commit
f789fc0a8f
  1. 4
      designer_chart/src/com/fr/plugin/chart/range/component/LegendGradientBar.java

4
designer_chart/src/com/fr/plugin/chart/range/component/LegendGradientBar.java

@ -39,7 +39,7 @@ public class LegendGradientBar extends JComponent implements ColorSelectable, UI
//主题色
private Color subColor;
private int max = 154;
private int max = 150;
private int min = 4;
//选中的颜色
@ -77,7 +77,7 @@ public class LegendGradientBar extends JComponent implements ColorSelectable, UI
iniListener();
this.setPreferredSize(new Dimension(10 + max, MAX_VERTICAL));
this.setPreferredSize(new Dimension(5 + max, MAX_VERTICAL));
}
private void initColorsAndDist() {

Loading…
Cancel
Save