flash Builder4.0 之BUG一两个

1.Chart Tootip Bug

Tootip显示为半透明全黑色

修改:

 加TooTip样式代码如下:

@namespace chartClasses "mx.charts.chartClasses.*";

chartClasses|DataTip {

 font-Family: "Verdana";

 font-Size: 12px; 

 color: #000000;

 background-color: #FFFFFF;

 font-style:normal; 

 leading: 0; 

 text-align:center; 

}

结果:

2、LineChart 自字义颜色的BUG

var storkt:SolidColorStroke=new SolidColorStroke();
                        storkt.color=_yFieldConfigAC[i]["type"];
                        storkt.weight = 3;
                        lineSer.setStyle("lineStroke",storkt);
                        lineSer.setStyle("fill",_yFieldConfigAC[i]["type"]);

Legend全部显示黑色

修改方法:

1、

var storkt:Stroke=new Stroke();
                        storkt.color=_yFieldConfigAC[i]["type"];
                        storkt.weight = 3;
                        lineSer.setStyle("lineStroke",storkt);
                        lineSer.setStyle("fill",_yFieldConfigAC[i]["type"]);

2、

lineSer.setStyle("radius",5);
                        lineSer.setStyle("adjustedRadius",2);
                        lineSer.setStyle("itemRenderer",new ClassFactory(CircleItemRenderer)); 

结果为:

 

posted @ 2012-08-21 18:09  Tammy Qin  阅读(109)  评论(0)    收藏  举报