Flex Hero and Mx Charts

I have a requirement to use mx.charts in my mobile application, as suggested in the below article
http://www.adobe.com/devnet/flex/articles/mobile_development_hero_burrito.html#articlecont entAdobe_numberedheader_3g
I have added the datavisualization.swc and mx.swc into the library path , but am still not able to refrence any charts. Am not sure if i need to change the namespace or something.
If anyone has created a mobile application using Hero and mx.charts please let me know what i need to do to solve this ..
Thanks in advance.

I have managed to get mx charts to compile and deploy in Burrito Mobile Applications by creating custom name spaces, for example:
             xmlns:charts="mx.charts.*"
             xmlns:series="mx.charts.series.*"
             xmlns:chartClasses="mx.charts.chartClasses.*"
Then referencing these in the charts:
                                <chartClasses:CartesianChart....
I have included datavisualization.swc, mx.swc and sparkskins.swc in my path.

Similar Messages

  • Xoom Development With Flex Hero / FB Burrito

    Hello:
    I have been developing an app for Xoom using the Java SDK. We would like to use Flash so the app is more protable. I just got the Burrito beta with Flex Hero and since Xoom doesn't support flash yet there isn't much I can do except back end coding.
    Will there be an emulator for Xoom?
    Does developing using Flash create an APK that you can publish to the market? Obviously they'd need to update their device to support flash ...
    I am at a cross road, continue with Java or switch to Flash. I need some advice!
    Thanks.

    Hi,
    There's a difference between an app running on Android with the AIR runtime,
    vs a Flash web app running in the browser. Currently Xoom supports the AIR
    runtime, so you can create apps with AIR for Android and deploy them to the
    device now, without needing the Flash Player in the browser. By March 18,
    the Flash Player for the browser will be available to the Xoom. Flash Player
    in the browser is separate from the AIR runtime.
    When creating apps with Flash or Flex using the AIR for Android deployment
    option (currently in FB Burrito or Flash CS5 latest update) you can create a
    .apk file that can be installed onto any Android device that supports AIR:
    http://www.adobe.com/flashplatform/certified_devices/
    iBrent

  • How to display html content in flex hero..

    i need to display html content using flex hero for balckberry playbook..i could not find a component for it..i have tried with spark text area by setting its html text property via MobileTextField. bt i need a webview to load html content to execute javascript and all....Is there any component for it???? Please help....

    Hello,
    The only current way is to use an iFrame, or if you only need some html tags you could use the Text Layout Framework.
    Here this is the iFrame approach:
    http://code.google.com/p/flex-iframe/
    If the swc do not work in Flex4 just use its ource code which works...
    ...it is basically based on this:
    http://www.deitte.com/archives/2008/07/dont_use_iframe.htm
    see also and vote, please:
    http://bugs.adobe.com/jira/browse/SDK-12291
    http://bugs.adobe.com/jira/browse/SDK-13740
    Regards
    Marc

  • Download Flex hero SDK ASDOCS

    Hi,
    Where can I download the asdocs? The SDk contains a small directory asdocs with a build.xml. I tried to build it, but get: 4.5.0\asdoc\build.xml:47: FLEX_HOME must be set to use the Flex Ant Tasks
    (I have set FLEX_HOME)
    The online help is no longer available: http://help.adobe.com/en_US/Flex/4.5/UsingFlashBuilder/AH_HOME.html
    Thanks,
    ropoboy

    The actual answer is to go to the main Developer Documentation page (http://opensource.adobe.com/wiki/display/flexsdk/Developer+Documentation), ignore the Flex Hero content and that there is no reference to Flex 4.5, click the 'General Flex 4 Documentation' link under 'Flex 4', this will take you to Flex 4.5 documentation, where you will find a link to the 'Full Documentation Set (zip)'.
    However the ASDoc documentation that is included here is partially broken. The "Show packages and classes list" link at the top doesn't work in Google Chrome on Mac. It does work in Firefox and Safari on Mac.
    It would be nice if Adobe could:
    1. Update their main Developer Documentation page so that Flex 4.5 content can be found under a link to Flex 4.5 content rather then have it be buried under Flex 4. Similarily it would be nice if Flex 4 content could be found under the link to Flex 4 content.
    2. Consider fixing the ASDoc that is included in the full documentation set for Flex 4.5 so it works in Chrome.

  • Flex Hero - Links in HTML component does not works.

    WebView-app.xml
    <?xml version="1.0" encoding="utf-8" standalone="no"?>
    <application xmlns="http://ns.adobe.com/air/application/2.5">
    WebView.mxml
    <?xml version="1.0" encoding="utf-8"?>
    <s:WindowedApplication xmlns:fx="http://ns.adobe.com/mxml/2009"
       xmlns:s="library://ns.adobe.com/flex/spark"
       xmlns:mx="library://ns.adobe.com/flex/mx">
    <mx:HTML location="http://google.com/" />
    </s:WindowedApplication>
    I can see google homepage in my test desktop application.
    But all links are not work in html document.
    Flex 4.0 and 4.1 SDK works well. Only Flex Hero has this problem.
    How can I fix it?
    Thanks.

    Hi Kevin,
    I had the same problem. This 4.5 build from 11/30/2010 fixed the HTML component issue.
    http://opensource.adobe.com/wiki/display/flexsdk/download?build=4.5.0.18623&pkgtype=1

  • Historical data and Column Chart

    Hello
    I am trying to retrive historical data from the repository and show it as a column chart through flex UI Implementation.
    My Metric is defined as below and it has two columns defined as KEY columns
    <Metric NAME="EnergyConsumptionCost" TYPE="TABLE" USAGE_TYPE="VIEW_COLLECT" FORCE_CACHE="TRUE">
    <Display>
    <Label NLSID="flex_energyCosumptionCost">Energy Consumption Cost Metric</Label>
    </Display>
    <TableDescriptor>
    <ColumnDescriptor NAME="DeviceID" TYPE="STRING" IS_KEY="FALSE">
    <Display>
    <Label NLSID="flex_DeviceID">Device ID</Label>
    </Display>
    </ColumnDescriptor>
    <ColumnDescriptor NAME="DeviceName" TYPE="STRING" IS_KEY="TRUE">
    <Display>
    <Label NLSID="flex_deviceName">Device Name</Label>
    </Display>
    </ColumnDescriptor>
    <ColumnDescriptor NAME="EnergyCost" TYPE="NUMBER" IS_KEY="FALSE">
    <Display>
    <Label NLSID="flex_EnergyCost">Energy Cost</Label>
    </Display>
    </ColumnDescriptor>
    <ColumnDescriptor NAME="CurrencySymbol" TYPE="STRING" IS_KEY="FALSE">
    <Display>
    <Label NLSID="flex_Currency">Currency</Label>
    </Display>
    </ColumnDescriptor>
    <ColumnDescriptor NAME="EnergyConsumption" TYPE="NUMBER" IS_KEY="FALSE">
    <Display>
    <Label NLSID="flex_energyConsumption">Energy Consumption</Label>
    </Display>
    </ColumnDescriptor>
    <ColumnDescriptor NAME="Unit" TYPE="STRING" IS_KEY="FALSE">
    <Display>
    <Label NLSID="flex_Unit">Unit</Label>
    </Display>
    </ColumnDescriptor>
    <ColumnDescriptor NAME="PerUnitRate" TYPE="NUMBER" IS_KEY="FALSE">
    <Display>
    <Label NLSID="flex_PerUnitRate">Unit Rate</Label>
    </Display>
    </ColumnDescriptor>
    <ColumnDescriptor NAME="DateCollected" TYPE="STRING" IS_KEY="TRUE">
    <Display>
    <Label NLSID="flex_DateCollected">Metric Collection Date</Label>
    </Display>
    </ColumnDescriptor>
    <ColumnDescriptor NAME="ExtraDetails" TYPE="STRING" IS_KEY="FALSE">
    <Display>
    <Label NLSID="flex_extraDetails">Extra Details</Label>
    </Display>
    </ColumnDescriptor>
    </TableDescriptor>
    <QueryDescriptor FETCHLET_ID="OSLineToken">
    <Property NAME="scriptsDir" SCOPE="SYSTEMGLOBAL">scriptsDir</Property>
    <Property NAME="classpath" SCOPE="GLOBAL">$CLASSPATH:%scriptsDir%/EnergyDashboardEjbBeanService-Client.jar</Property>
    <Property NAME="command" SCOPE="GLOBAL">java -cp %classpath% com.avocent.trellis.oem.plugin.energy.insight.proxy.EnergyDashboardEjbBeanServicePortClient GraphRequest %DeviceID% %StartDate% %EndDate% </Property>
    <Property NAME="startsWith" SCOPE="GLOBAL">ext_result=</Property>
    <Property NAME="delimiter" SCOPE="GLOBAL">|</Property>
    </QueryDescriptor>
    </Metric>
    I am implement the UI now using flex programming and below is the code of my page contoller class
    public class emersontrellisflexHomePageController extends ActivityController
    private var page:emersontrellisflexHomePage;
    [Bindable]
    public var metricDataArrayCollection:ArrayCollection;
    public function emersontrellisflexHomePageController()
    override public function init(pg:IActivity):void
    super.init(pg);
    page = pg as emersontrellisflexHomePage;
    // get EnergyConsumptionCost metric to get energy consumption cost information
    var procMetric:Metric = ApplicationContext.getTargetContext().getMetric("EnergyConsumptionCost");
    var procSelector:MetricSelector = procMetric.getSelector(['DeviceID', 'DeviceName','EnergyCost','CurrencySymbol','EnergyConsumption','Unit','PerUnitRate','DateCollected','ExtraDetails']);
    procSelector.getData(energyConsumptionCostHandler, MetricCollectionTimePeriod.CURRENT, page.getBatchRequest());
    // structure of the data is as follows:
    // MetricResultSet -- contains an Array (results) of all the datapoints. If the
    // time period is LAST_* then this will be multiple datapoints for each timestamp.
    // results[] -- each row in results is a TimestampMetricData datapoint.
    // TimestampMetricData -- a datapoint that includes a timestamp and then a table (data) of
    // data for all keys included in the sample. If the metric does not have any keys
    // then the table will only have a single row.
    // data -- the data table, each row is a KeyMetricData object
    // KeyMetricData -- the data row, it includes a MetricKeyValue (metricKey) that
    // identifies the key associated with that row (if there is one). All other
    // data is available via a direct reference by column name, e.g. data[n]['ColumnId']
    public function energyConsumptionCostHandler(procResult:MetricResultSet, fault:ServiceFault):void
    if(fault != null)
    MpLog.logError(fault, "Get Processes");
    return;
    if(procResult!=null)
    var dataLength:int = 0;
    var dp:TimestampMetricData = procResult.results[0];
    if(dp != null)
    dataLength = dp.data.length;
    var metricData:EcecObject ;
    var data:KeyMetricData;
    metricDataArrayCollection= new ArrayCollection();
    for(var i:int=0; i<dataLength; i++)
    data= dp.data;
    Alert.show("Data["+i+"]="+dp.data[i].toString());
    metricData= new EcecObject();
    metricData.deviceID=dp.data[i]['DeviceID'];
    metricData.deviceName=dp.data[i]['DeviceName'];
    metricData.energyCost=dp.data[i]['EnergyCost'];
    metricData.currencySymbol=dp.data[i]['CurrencySymbol'];
    metricData.energyConsumption=dp.data[i]['EnergyConsumption'];
    metricData.unit=dp.data[i]['Unit'];
    metricData.perUnitRate=dp.data[i]['PerUnitRate'];
    metricData.dateCollected=dp.data[i]['DateCollected'];
    metricData.extraDetails=dp.data[i]['ExtraDetails'];
    metricDataArrayCollection.addItem(metricData);
    page.setModel("metricDataCollection",metricDataArrayCollection);
    } //End of function energyConsumptionCostHandler
    } //End of class
    In the handler code I am populating the ArrayCollection with the objects of class "EcecObject" which is defined by me and looks as below
    package mpcui
    [Bindable]
    public class EcecObject
    public function EcecObject()
    public var deviceID:String;
    public var deviceName:String;
    public var energyCost:Number;
    public var currencySymbol:String;
    public var energyConsumption:Number;
    public var unit:String;
    public var perUnitRate:Number;
    public var dateCollected:String;
    public var extraDetails:String;
    public function toString():String
    // TODO Auto Generated method stub
    var result:String= "DeviceId="+deviceID+" DeviceName="+deviceName+" EnergyCost="+energyCost+" CurrencySymbol="+currencySymbol+" EnergyComsumption="+energyConsumption+" Unit="+unit+" unitRate="+this.perUnitRate+" dateCollected="+dateCollected+" ExtraDetails="+extraDetails;
    return result;
    Sample below shows the data populated in the object of type "EcecObject"
    (mx.collections::ArrayCollection)#0
    filterFunction = (null)
    length = 15
    list = (mx.collections::ArrayList)#1
    length = 15
    source = (Array)#2
    [0] (mpcui::EcecObject)#3
    currencySymbol = ".25"
    dateCollected = (null)
    deviceID = "KWH"
    deviceName = (null)
    energyConsumption = NaN
    energyCost = NaN
    extraDetails = "d6ffcc59-ec5a-424d-a950-dcf3944059c9"
    perUnitRate = NaN
    unit = "Dollar"
    So if we see in the attribute "currencySymbol" the "perUnitRate" is poulated even if my handler code has the following statement
    metricData.currencySymbol=dp.data[i]['CurrencySymbol'];
    Want to know why the data is swaped in most of the cases. Any correction to be done in the handler code.
    Appreciate your help.
    Regards
    Anand.

    The design depends on how much data you are having. If you have lot of data its better to use them separately.
    When you create a cube you load historical data from source systems through a full load and later you will be doing delta loads to process new records.
    As for as the data is conccerned a cube can contain both historical and transaction data.

  • Flash to Android = Flex Hero?

    Flex Hero, is that Actionscript to native Android code???
    Or is it just apps on adobe air on top of Android OS example user would need to have adobe air on their android phones to use your apps, or can they use your apps without installing air???

    WOW, that'd be really nice...
    I tried developing for android using eclipse and the android sdk etc..
    1. it took forever to setup...them opensource type stuff isn't meant to be easy...wish they would make a setup.exe or something.  It's like copy this here, change this file and then spend hours figuring out they missed a step in their instructions.  And the instructions were from google themselves.
    2. Then there was the idea of having to learn java...*sigh*
    Eclipse and Android development setting up process and development is bunk compared to visual studio and windows 7 phone development.  Visual studio development for windows 7 phone is like WOW.  Easy setup, and really nice work flow.  The emulator is much faster as well, anyhow too bad no one uses windows 7 phones though.
    If that's the direction that ADOBE is going with Flex, that's great...flex builder enviroment and work flow using action script creating native android apps would be like WOW!

  • How to create a Power View bringing barchart and line chart together in same graph

    We are planning to create power view report that has bar and line charts on same graph. Could you please let us know whether it is feasible in Power View & how to add trend line in power view .
    Thanks,
    Sandeep.

    This is not possible with Power View. It is possible with Power BI (Online at PowerBI.com) See image below.
    Please vote or mark as answer if you found the response helpful.
    Regards, Avi
    www.powerpivotpro.com
    Wiki:How to ask a Power Pivot Question to get a prompt, accurate and helpful response

  • I am not able to access the "featured" and "top charts" in the app store

    I am not able to access the "featured" and "top charts" icons in the app store.  Everything else works fine.

    Here I am using Java Type IV for database
    connection.
    So,there was no necessity of creating DNS.How your app communicates with db shouldn't matter for the end user. Still, you may want to use a functional network name also for the thin client driver connection string.
    So,is there any other way to solve this problem.What is the problem really? Do you not use dns for network naming? Maybe you have to manage the hosts file on every client then.

  • Flex SDK and AIR runtime version in mobile

    Hi, guys.
    I'm trying to make my first Flex mobile app.
    I'm a little confused about the relationship between Flex SDK and AIR  runtime versions for mobile development.
    In the "Developing Mobile Applications with ADOBE FLEX 4.6 and ADOBE FLASH BUILDER 4.6" pdf document, it says:
    "AIR requirements
    Flex mobile projects and ActionScript mobile projects require AIR 2.6 or a higher version. You can run mobile projects on physical devices that support AIR 2.6 or a higher version of AIR.
    You can install AIR 2.6 or a higher version only on supported Android devices that run Android 2.2 or a higher version. For the complete list of supported Android devices, see Certified Devices. Also, review the minimum system requirements to run Adobe AIR on Android devices at Mobile System Requirements.
    Note: If you do not have a device that supports AIR 2.6 or a higher version of AIR, you can use Flash Builder to launch and debug mobile applications on the desktop."
    So, I go and check the Certified devices in http://www.adobe.com/devnet-apps/flashruntimes/certified-devices.html and find that the minimun FLASH PLAYER version accepted by ALL devices is FP 10.1
    1. Does this mean that if I want to release an app to target ALL mobile devices, then I can only use Flex 4.5?
    2. Do support for Flash Player mean the same than support for Adobe AIR? Or the application will prompt the user to install whatever version of the AIR runtime and all of them would be supported by the device, even in the FLASH PLAYER support is for a lesser version?
    Thanks!

    Thanks for your help, Flex harUI,
    The first impression that comes to mind is that FP version is indeed only for the web browser plugin. Then, why does the official Flex 4.6 mobile development documentation have a link to that page that only speaks about the supported FP version in mobiles under the title "AIR requirements"??
    This makes it way too confusing.
    Do you know whether there is something like an equivalent matrix/list of mobile devices with their supported AIR runtime versions?  I went a great deal in trying to keep my original app under 400kb... I didn't know that in the end it would end up weighing 9.5Mb... :S
    Thanks again,

  • Bar chart and Line chart in a single chart??

    Hello,
    Was wondering if there is any way to create a bar chart and line chart in a single Flash or SVG chart? If not, are there any plans to introduce such a chart type in the future releases?
    Regards,
    Dev

    Dev,
    I don't think you can do that using standard Flash or SVG. However, you can do this
    using my XML Chart Package
    http://htmldb.oracle.com/pls/otn/f?p=31517:58
    and the instructions given on
    http://www.maani.us/xml_charts/index.php?menu=Gallery&submenu=Composite
    You can modify the package to do that for you.
    Denes Kubicek
    http://deneskubicek.blogspot.com/
    http://htmldb.oracle.com/pls/otn/f?p=31517:1
    -------------------------------------------------------------------

  • Flex 2 and Actionscript 3  Workshop in LA

    It's a late notice, but important to any Flash professional
    out there. I just want everyone to know about this rare
    opportunity. Fly out to LA if you have to!
    Flex Builder 2 & Action Script 3 Training Workshop
    Date: Thu, Fri, & Sat, May 11,12, & 13 (9a-5p, ~20
    classroom hours)
    Location: Venice, California 90291
    Instructor: Zach Stepek
    Price: $690
    Description: Flex expert and Stateline (Illinois) Macromedia
    User Group Manager Zach Stepek will lead an in-depth three-day
    workshop on the new generation of Flex -- the first tool for the
    Flash Platform that utilizes the awesome processing power of AS3!
    --

    Might be an idea to post this in the Flex2 or AS3 forums
    where people who
    are interested in these can read it.
    "JonJonMenendez" <[email protected]> wrote
    in message
    news:e3ouru$fm1$[email protected]..
    > It's a late notice, but important to any Flash
    professional out there. I
    > just
    > want everyone to know about this rare opportunity. Fly
    out to LA if you
    > have to!
    > Flex Builder 2 & Action Script 3 Training Workshop
    > Date: Thu, Fri, & Sat, May 11,12, & 13 (9a-5p,
    ~20 classroom hours)
    > Location: Venice, California 90291
    > Instructor: Zach Stepek
    > Price: $690
    > Description: Flex expert and Stateline (Illinois)
    Macromedia User Group
    > Manager Zach Stepek will lead an in-depth three-day
    workshop on the new
    > generation of Flex -- the first tool for the Flash
    Platform that utilizes
    > the
    > awesome processing power of AS3! --
    >

  • WORKING example of BlazeDS with Flex 3 and FlexBuilder

    Can someone point me to an actual working example with BlazeDS used with Flex 3 and Eclipse?
    The examples on livedocs are broken or imcomplete. Others work to varying degrees but fail at some point.
    What I'd like to see is the following:
    1. How to create a project using
         a. Flex 3.0
         b. BlazeDS
         c. Eclipse - FULL project creation and deployment instructions.
         d. An example where the project is NOT created within the BlazeDS webapp that comes with the BlazeDS/Tomcat combo.
         e. An example where the ENTIRE project can be compiled and deployed to Tomcat in one shot.
         f.  An example where a DB can he altered using standard CRUD methods with the display displaying updated records without and event being used to
             refresh the view of the records.
    This shouldn't be too much to ask if Flex is to be expected to be taken seriously in data-driven applications. I've looked all over the web for weeks for something likethis and have come up with nothing. I don't need Spring or Hibernate at this point. Any help would be greatly appreciated as I'm working on a proof-of-concept at this time and the pressure is mounting to come up with something.
    Thanks!

    here is some stuff I wrote while back(they both have recorded video you can watch);
    http://ledtechdesign.com/2009/02/blazeds-tutorial-part-i-simple-remoting/
    http://ledtechdesign.com/2009/02/tutorial-blazeds-simple-remoting-part-ii-flex/

  • Flex 3 and Java - Integrated Development on Eclipse

    I am new to flex as well as to eclipse. I have downloaded
    Adobe Flex Builder 3.0 and installed it. I want to use java at the
    back-end, but I don't have Java perspective option in eclipse.
    Therefore, I am currently using 2 IDE(s), one is
    flex-builder, and other is Eclipse for Web tool platform
    (eclipse-jee-europa-winter-win32.zip).
    Is there anyway that I can benefit integrated development of
    Flex and java using same IDE?

    I wouldn't try it really... it's not worth the issues you'd
    probably run into and the work of getting it setup, if it's even
    possible. I just run Eclipse and FB separate. If you have a gig of
    ram you should be fine doing this I think.
    If you *really* want to get rid of one, you can use the Flex
    plugin for Eclipse, but I've heard people complain about it not
    playing nice with Java.

  • Flex 3 and LCDS Integration

    Hello,
    I am trying to build an application which needs remoting. I
    was trying to implement this using Flex 3 and LCDS.
    I have some experience with flex, but I am pretty new to
    LCDS. Can any one please direct me to a good tutorial on getting a
    web app to work with flex and lcds? The documentation on Adobe
    website doesn't help much.
    Thanks in advance
    Cheers
    Phanindra

    The documentation should help,
    why not start with something simple with Blaze-DS??
    Ries

Maybe you are looking for