明天的明天 永远的永远 未知的一切 我与你一起承担 ??

是非成败转头空 青山依旧在 几度夕阳红 。。。
随笔 - 1277, 文章 - 0, 评论 - 214, 阅读 - 321万
  博客园  :: 首页  :: 管理
< 2025年3月 >
23 24 25 26 27 28 1
2 3 4 5 6 7 8
9 10 11 12 13 14 15
16 17 18 19 20 21 22
23 24 25 26 27 28 29
30 31 1 2 3 4 5

 

复制代码
<?xml version="1.0"?> 
<mx:Application xmlns:mx="http://www.adobe.com/2006/mxml" 
        layout
="vertical" 
        verticalAlign
="middle" 
        backgroundColor
="white"> 
  
    
<mx:Script> 
        
<![CDATA[ 
            import mx.charts.chartClasses.IAxis; 
  
            private function linearAxis_labelFunc(item:Object, prevValue:Object, axis:IAxis):String { 
                return currFormatter.format(item); 
            } 
        
]]> 
    
</mx:Script> 
  
    
<mx:CurrencyFormatter id="currFormatter" precision="2" /> 
  
    
<mx:XMLListCollection id="dp"> 
        
<mx:source> 
            
<mx:XMLList> 
                
<quote date="8/1/2007" open="40.29" close="39.58" /> 
                
<quote date="8/2/2007" open="39.4" close="39.52" /> 
                
<quote date="8/3/2007" open="39.47" close="38.75" /> 
                
<quote date="8/6/2007" open="38.71" close="39.38" /> 
                
<quote date="8/7/2007" open="39.08" close="39.42" /> 
                
<quote date="8/8/2007" open="39.61" close="40.23" /> 
                
<quote date="8/9/2007" open="39.9" close="40.75" /> 
                
<quote date="8/10/2007" open="41.3" close="41.06" /> 
                
<quote date="8/13/2007" open="41" close="40.83" /> 
                
<quote date="8/14/2007" open="41.01" close="40.41" /> 
                
<quote date="8/15/2007" open="40.22" close="40.18" /> 
                
<quote date="8/16/2007" open="39.83" close="39.96" /> 
                
<quote date="8/17/2007" open="40.18" close="40.32" /> 
                
<quote date="8/20/2007" open="40.55" close="40.74" /> 
                
<quote date="8/21/2007" open="40.41" close="40.13" /> 
                
<quote date="8/22/2007" open="40.4" close="40.77" /> 
                
<quote date="8/23/2007" open="40.82" close="40.6" /> 
                
<quote date="8/24/2007" open="40.5" close="40.41" /> 
                
<quote date="8/27/2007" open="40.38" close="40.81" /> 
            
</mx:XMLList> 
        
</mx:source> 
    
</mx:XMLListCollection> 
  
    
<mx:LineChart id="lineChart" 
            showDataTips
="true" 
            dataProvider
="{dp}" 
            width
="100%" 
            height
="100%"> 
  
        
<!-- vertical axis --> 
        
<mx:verticalAxis> 
            
<mx:LinearAxis baseAtZero="false" 
                    title
="Price" 
                    labelFunction
="linearAxis_labelFunc" /> 
        
</mx:verticalAxis> 
  
        
<!-- horizontal axis --> 
        
<mx:horizontalAxis> 
            
<mx:CategoryAxis id="ca" 
                    categoryField
="@date" 
                    title
="Date" /> 
        
</mx:horizontalAxis> 
  
        
<!-- horizontal axis renderer --> 
        
<mx:horizontalAxisRenderers> 
            
<mx:AxisRenderer axis="{ca}" 
                    canDropLabels
="true" /> 
        
</mx:horizontalAxisRenderers> 
  
        
<!-- series --> 
        
<mx:series> 
            
<mx:LineSeries yField="@open" 
                    form
="curve" 
                    displayName
="Open" /> 
        
</mx:series> 
  
        
<!-- series filters --> 
        
<mx:seriesFilters> 
            
<mx:Array /> 
        
</mx:seriesFilters> 
    
</mx:LineChart> 
  
</mx:Application>
复制代码
编辑推荐:
· AI与.NET技术实操系列:基于图像分类模型对图像进行分类
· go语言实现终端里的倒计时
· 如何编写易于单元测试的代码
· 10年+ .NET Coder 心语,封装的思维:从隐藏、稳定开始理解其本质意义
· .NET Core 中如何实现缓存的预热?
阅读排行:
· 25岁的心里话
· 闲置电脑爆改个人服务器(超详细) #公网映射 #Vmware虚拟网络编辑器
· 零经验选手,Compose 一天开发一款小游戏!
· 因为Apifox不支持离线,我果断选择了Apipost!
· 通过 API 将Deepseek响应流式内容输出到前端
历史上的今天:
2008-10-20 WinForm 修改Internet选项安全属性 。。。。。。。。。。
2006-10-20 神奇的 DataGrid··········
2006-10-20 Datagrid根据选择的checkbox编辑和更新多行记录····
2006-10-20 创建完全可编辑的 DataGrid··············
2006-10-20 DataGrid使用技巧················CSDN 收藏地址。。
点击右上角即可分享
微信分享提示