- 浏览: 6740 次
- 性别:
- 来自: 北京
最新评论
文章列表
自己写了个简易的flex立状体图,效果如下:
flex:testSolidChart.mxml
<?xml version="1.0"?>
<!-- Simple example to demonstrate the ColumnChart and BarChart controls. -->
<s:Application xmlns:fx="http://ns.adobe.com/mxml/2009"
xmlns:s="library://ns.adobe.com/flex/spar ...
解决图表X轴LABEL显示不开的问题:效果如下:代码:
<?xml version="1.0"?>
<!-- Simple example to demonstrate the GridLines class. -->
<s:Application xmlns:fx="http://ns.adobe.com/mxml/2009"
xmlns:s="library://ns.adobe.com/flex/spark"
xmlns:mx="library ...
flex 共X轴图使用拼接效果图:如下
代码:
<?xml version="1.0" encoding="utf-8"?>
<s:Application xmlns:fx="http://ns.adobe.com/mxml/2009"
xmlns:s="library://ns.adobe.com/flex/spark"
xmlns:mx="library://ns.adobe.com/flex/mx"
width= ...
<s:iterator var="map" value="#request.combinelist" status="st">
<tr>
<td align="center">${map.scdtime } <!-- 时间 --></td>
<td align="center">${map.inflow } <!-- 入流 --></td>
< ...
List<Map<String, Object>> combinelist = new ArrayList<Map<String, Object>>();
Map<String, Object> newmap;
for(Map<String, Object> map:plantdlist){
newmap = new HashMap<String,Object>();
newmap.put("scdtime", map.get("scdtime").toStr ...