zoukankan      html  css  js  c++  java
  • 真正的AmChart破解教程和RadarChart使用(转)

    1.首先上官方网站下载插件amcharts_flex_components_1.6.1.1.zip

    在amcharts_flex_components_1.6.1.1.zip\Build\amChartsFB4.swc(因为我用的是Flex4)

    将amChartsFB4.swc拷贝到Flex相中lib目录下面

    然后写继承类:

    1.我用到的是他的雷达图所以我继承破解了他的雷达图,你用到那个你就破解那个。

    package tool
    {
     import com.amcharts.AmRadarChart;
     
     public class AmRadarChart extends com.amcharts.AmRadarChart
     {
      public function AmRadarChart()
      {
       super();
      }
      public function onClick():void{
       this;
      }
      override protected function createChildren():void{
       super.createChildren();
       if (_amchartsLink){
        _amchartsLink.visible=false;
        /*
        _amchartsLink.alpha=0;
        _amchartsLink.width=0;
        _amchartsLink.height=0;
        */
       }
      }
     }
    }
    

    2.然后我在页面应用这个破击组件

    <tool:AmRadarChartid="chart" categoryField="Name" width="100%" height="235" startDuration="1">
        <tool:valueAxes>
         <amcharts:ValueAxis fillAlpha="0.05" fillColor="0x000000" axisAlpha="0.3" gridAlpha="0.05" fontWeight="bold" min="0"/>
        </tool:valueAxes>
        
        <tool:graphs>
         <amcharts:AmGraph 
          title="客流量" 
          valueField="InSum" 
          bullet="bubble" 
          balloonText="客流量: [[value]]"/>                
         <amcharts:AmGraph 
          title="交易笔数" 
          valueField="TransactionNumber" 
          bullet="round"
          markerType="square" 
          balloonText="交易笔数: [[value]]"/>   
         <amcharts:AmGraph 
          title="销售额" 
          valueField="SalesAmount" 
          bullet="square" 
          balloonText="销售额: [[value]]"/>                
         <amcharts:AmGraph 
          title="集客力" 
          valueField="UnitAreaAttraction" 
          bullet="custom"
          markerType="square" 
          balloonText="集客力: [[value]]"/>  
         <amcharts:AmGraph 
          title="坪效" 
          valueField="SalesPerUnitArea" 
          bullet="triangleDown" 
          balloonText="坪效: [[value]]"/>                
         <amcharts:AmGraph 
          title="提袋率" 
          valueField="ConversionRate" 
          bullet="triangleUp"
          markerType="square" 
          balloonText="提袋率: [[value]]"/>  
        </tool:graphs>    
        
       </tool:AmRadarChart>
       <amcharts:AmLegend fontSize="12" markerType="triangleDown" dataProvider=" {chart}" align="left" textClickEnabled="false" width="100%" borderAlpha="1.0"/>    
    

      

  • 相关阅读:
    lastz
    Ctrl + c 强制退出
    jobs|ps|杀死nohup
    查询节点qhost
    great vision|be quite honest with you
    golang viper ReadRemoteConfig error
    使用cat和EOF生成 shell 脚本时会自动解析变量的解决办法
    centos install ruby
    golang 性能提升
    查询车系特定口碑信息
  • 原文地址:https://www.cnblogs.com/wyqx/p/2120690.html
Copyright © 2011-2022 走看看