<永洪tech>雷达图想要脚本控制图例中颜色的显示
var colors = [];
colors[0] = new Color(java.awt.Color.BLUE);
colors[1] = new Color(java.awt.Color.YELLOW);
colors[2] = new Color(java.awt.Color.RED);
var color=new DiscreteColorGuide()
color.setColor("2月",colors[0])
color.setColor("3月",colors[1])
color.setColor("4月",colors[2])
图表1.binding.markCol["Sum_冰箱","Sum_家用","Sum_洗衣机","Sum_环电","Sum_电脑"].colorGuide=color
|
|
|
|
|