- 博客(0)
- 资源 (1)
- 收藏
- 关注
Flex Olap完整项目源码,可直接运行
<?xml version="1.0" encoding="utf-8"?>
<mx:Application xmlns:mx="http://www.adobe.com/2006/mxml" layout="absolute" borderColor="#B7B8BA">
<mx:Script source="include/OLAPAppInFlex.as" />
<mx:Script source="include/Chart.as" />
<mx:Script source="include/FlexBIDataGrid.as" />
<mx:Script source="include/OLAPGridConfigure.as" />
<mx:Style source="css/DAXBI.css"/>
<mx:VDividedBox id="mainbox" width="100%" height="100%" x="10" y="10" creationComplete="addListeners()">
<mx:LinkBar dataProvider="{viewStack}" direction="horizontal" labelField="name" />
<mx:ViewStack id="viewStack" width="100%" height="75%" creationComplete="showData()" change="viewChanged(event)">
<mx:HBox id="columnBox" name="ColumnChart" width="100%">
<mx:ColumnChart id="columnChart" showDataTips="true" width="100%" height="100%"/>
<mx:Panel id="columnLegendPanel" horizontalScrollPolicy="off">
<mx:Box maxHeight="250" horizontalScrollPolicy="off">
<mx:Legend id="columnLegend" width="100%" />
</mx:Box>
</mx:Panel>
</mx:HBox>
<mx:HBox id="pieBox" name="PieChart" width="100%">
</mx:HBox>
<mx:HBox id="lineBox" name="LineChart" width="100%">
<mx:LineChart id="lineChart" showDataTips="true" width="100%" height="100%" />
<mx:Panel id="lineLegendPanel" horizontalScrollPolicy="off">
<mx:Box maxHeight="250" horizontalScrollPolicy="off">
<mx:Legend id="lineLegend" width="100%" />
</mx:Box>
</mx:Panel>
</mx:HBox>
</mx:ViewStack>
<mx:Canvas width="100%" height="25%">
<mx:OLAPDataGrid id="myOLAPDG" width="100%" height="100%" initialize="configureGrid()">
<!--<mx:OLAPDataGrid id="myOLAPDG" width="100%" height="100%">-->
</mx:OLAPDataGrid>
</mx:Canvas>
</mx:VDividedBox>
</mx:Application>
2012-06-12
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人