+ -
当前位置:首页 → 问答吧 → 求助,Flex CategoryAxis 坐标轴字体样式修改

求助,Flex CategoryAxis 坐标轴字体样式修改

时间:2011-11-17

来源:互联网

我查找过网上的文章,几乎都是labelFunction方法,例如:
<mx:horizontalAxis>
<mx:CategoryAxis id="ca"
categoryField="@date" title="August 2007" labelFunction="categoryAxisLabelFun" />
</mx:horizontalAxis>

 private function formaLabel(categoryValue:Object, previousCategoryValue:Object, axis:CategoryAxis, categoryItem:Object):String{
  if(categoryItem.wanda>1800){
  return "<font color='#ff0000'>"+categoryValue.toString() +"</font>";
  }else{
  return categoryValue.toString();
  }
  }
但是我照这写后,出现这种情况

如何解决呀!

作者: a798192588   发布时间: 2011-11-17

2011最新免费刷q币方法_怎么刷QB_如何刷qb http://www.txss88.com

作者: mhw1511813188   发布时间: 2011-11-30