Any quick Flex 3 charting tutorials or examples

I'm looking for basic Flex 3 charting tutorials or examples.
So far everything i've found works in Flex 2.

Thanks for the response. I tried a Flex 2 Charting tut and i
get a binding error. Here's the error and code below.
Parse error at '\n\n\t[Bindable]\n\tprivate var
stats:ArrayCollection;\n\t\n\tprivate function
dataRequestHandler(event:ResultEvent):void {\n\tstats =
event.result.data.row;\n\t}\n\t\n\tprivate function
dataRequestFaultHandler(event:FaultEvent):void
{\n\tAlert.show(event.fault.message);\n\t}\n\t\n\t\n\t\n\t'.
ChartingTutorial/src ChartingTutorial.mxml line 12 1213301783191
474
<?xml version="1.0" encoding="utf-8"?>
<mx:Application xmlns:mx="
http://www.adobe.com/2006/mxml"
layout="absolute" creationComplete="dataRequest.send()">
<mx:HTTPService id="dataRequest" url="stats.xml"
result="dataRequestResultHandler(event);"
fault="dataRequestFaultHandler(event);" />
<mx:Script>
<![CDATA[
import mx.controls.Alert;
import mx.rpc.events.FaultEvent;
import mx.rpc.events.ResultEvent;
import mx.collections.ArrayCollection;
]]>
</mx:Script>
[Bindable]
private var stats:ArrayCollection;
private function dataRequestHandler(event:ResultEvent):void
stats = event.result.data.row;
private function
dataRequestFaultHandler(event:FaultEvent):void {
Alert.show(event.fault.message);
<mx:ColumnChart x="164" y="154" id="columnchart"
dataProvider="{stats}">
<mx:series>
<mx:ColumnSeries displayName="Expenses"
yField="expenses"/>
<mx:ColumnSeries displayName="Revenue"
yField="revenue"/>
<mx:ColumnSeries displayName="Profit"
yField="profit"/>
</mx:series>
</mx:ColumnChart>
<mx:Legend dataProvider="{columnchart}"/>
</mx:Application>

Similar Messages

  • Are there any ActiveX tutorials or examples for CVI??

    I've tried to use ActiveX controls but just don't seem to get it.  Are there any tutorials or examples I could reference?
    Thanks
    JPS

    CVI ships with 37 examples of ActiveX: you can use the example finder:
    Help / Find Examples... in the Search tab use the keyword ActiveX

  • Need Help In Flash/Flex Line Charts...Output should be like stock exchange chart

    Hello Friends,
    I need a small help from you guys.
    I want to do a line chart example in flash cs3 or in flex. Actually my requirement is getting the data from external file ie xml and with that i want to display a line chart with some time interval just like stock exchange charts for example.
    I have to do this either in flex or in flash cs3. i dont have any ideas how to proceed. can anyone help me out on this. i need it asap.
    Thanks
    Rajesh

    hi
    flex has charting components you can use. see: http://help.adobe.com/en_US/FlashPlatform/reference/actionscript/3/mx/charts/LineChart.htm l (example at the bottom of page)

  • Flex Line Chart Vertical marker

    Hi, I have a flex line chart and what I want to do is have an
    a vertical marker that extends to the outside the chart area at the
    last point.
    Does anyone have any ideas?
    Very smilar to this...
    http://tomgutz.wordpress.com/2007/12/17/flex-custom-chart/
    Thanks

    Here is a perfect example of what I cannot decipher:
    http://flex.amcharts.com/examples/chart_with_multiple_value_axes
    ^ You can even see the source code here. I believe they call it a "chart cursor".
    Any idea what the mouse is doing, and how to get that line into a standard FLEX Linechart?
    I see this a lot but have no idea what it's called....

  • Flex mobile charting issue

    I tried to create column chart using the data model from the previous view, I used var object to transfer the data but the chart does not work. Help PLEASEEEEEE  and if you have tips for passing data to a view please.
    <?xml version="1.0" encoding="utf-8"?>
    <s:View xmlns:fx="http://ns.adobe.com/mxml/2009"
      xmlns:s="library://ns.adobe.com/flex/spark"
      xmlns:mx="library://ns.adobe.com/flex/mx"
      backgroundColor="#adacac" title="ColumnChart"
      xmlns:charts="mx.charts.*"
      xmlns:series="mx.charts.series.*"
      xmlns:Legend="mx.Legend.*">
    <fx:Declarations>
    </fx:Declarations> 
    <fx:Script>
      <![CDATA[
                import mx.charts.ColumnChart;
       import mx.collections.*;
       [Bindable]
       public var myAC:ArrayCollection = new ArrayCollection([
        {Month:"January", Profit:30},
        {Month:"February", Profit:50},
        {Month:"March", Profit:70},
        {Month:"April", Profit:90}
       private function setTitles():void {
        la1.title="{data.Yaxis}";
       private function updateChart ():void {
        myAC.getItemAt(0).litres = Number("{data.Ydata1}");
        myAC.getItemAt(1).litres = Number("{data.Ydata2}");
        myAC.getItemAt(2).litres = Number("{data.Ydata3}");
        myAC.getItemAt(3).litres = Number("{data.Ydata4}");
        myAC.getItemAt(0).Month =("{data.Xdata1}");
        myAC.getItemAt(1).Month =("{data Xdata2}");
        myAC.getItemAt(2).Month =("{data Xdata3}");
        myAC.getItemAt(3).Month =("{data Xdata4}");
      ]]>
    </fx:Script>
    <s:Panel title="{data.TitleText}" x="28" y="59" width="265" height="273" >
         <charts:ColumnChart id="myChart" x="10" y="14" width="244" height="216" dataProvider="{myAC}"
             showDataTips="true" type="clustered">
          <charts:horizontalAxis>
           <charts:CategoryAxis title="{data.Xaxis}" categoryField="Month" dataProvider="{myAC}" />
          </charts:horizontalAxis>
          <charts:verticalAxis>
           <charts:LinearAxis id="la1"/>
            </charts:verticalAxis>
               <charts:series>
           <series:ColumnSeries dataProvider="{myAC}" yField="Profit" xField="Month" displayName="{data.label}" />
               </charts:series>
         </charts:ColumnChart>
      <charts:Legend x="174" y="26" width="29" height="30" dataProvider="{myChart}"/>
      </s:Panel>
    </s:View>

    Mobile charting should support animations just like on desktop.
    You should be able to Google for Flex chart animation tutorials, for example: http://blog.flexexamples.com/2007/10/15/using-data-effects-to-animate-chart-data/

  • Adobe Flex Pie Chart

    Hi,
        I want to populate data from a query template to a adobe flex pie chart. I am doing this because business user prefers beautiful objects ;).
    Can anyone help me out in how to achieve this. I have some knowledge about flex.
    Thanx in Advance

    Hi,
       You can see a Video tutorial on xMII-Flex integration made by Abesh
    at /people/abesh.bhattacharjee/blog/2007/08/27/use-xmii-services-in-adobe-flex-20-video
    Coming to your question
    you should declare the web service in your flex application as
    <mx:HTTPService id="ServiceName"/>
    then you can call it in a function let's say Hi()
    private function Hi():void{
    ServiceName.url=encodeURI("http://xMIIServerIP/Lighthammer/Illuminator?QueryTemplate="PathToQueryTemplate"&IllumLoginName="LoginName"&IllumLoginPassword="Password"&content-type=text/xml");
                   ServiceName.send();
    You can call this function in any event according to your requirements.
    Note: The URL is specific to 11.5 version of xMII. You may need to change it accordingly for 12.0.
    Regards,
    Musarrat

  • Compiling flex 2 charts.swc ?

    Hello,
    I am working with Flex 2 charting and am hoping to find an
    ant build file (similar to build_framework.xml) that would allow me
    to re-compile the charting source. I have a license, and already
    have the source files themselves, but am not really sure how to
    compile them.
    Is there a publicly available build file with an appropriate
    ant task for this? I have searched extensively online and have
    found nothing. Thank you in advance for any help!
    -Chris

    Unfortunately, all SWCs linked into a SWF have to be the same version.  You
    will need to recompile your SWC using the more recent SDK.

  • How to use Flex mx.charts component in flash project?

    Can anyone enlighten me on how I can use the Flex mx.charts component in my Flash Project? I am using Flash Professional CS4
    Are there any tutourials on the subject.
    Thanks in advance.

    http://www.designscripting.com/2011/03/filtering-flex-chart-data-by-consuming-xml-data/
    http://www.roseindia.net/tutorial/flex/flex4/components/chartactionscript.html
    Or otherwise you can use the below link to use the fusioncharts components
    http://www.fusioncharts.com/

  • Using Flex 3D Charts in Flex Builder 3

    Hi all,
    has anyone successfully used the Flex 3D Charts library in FlexBuilder 3?
    The component is at
    http://www.adobe.com/cfusion/exchange/index.cfm?event=extensionDetail&loc=en_us&extid=1047 990
    and having trawled back there was some chatter about the library back in 2007, but few people seemed to have got it to work.
    I can draw a blank chart area (ie carefully not adding a data series to the chart) but as soon as a series is added I get an error starting
    Cannot access a property or method of a null object reference.
        at com.adobe.flex.extras.charts.series::Column3DSeries/describeData()[C:\perforce\depot\flex \components\FlexComponents\com\adobe\flex\extras\charts\series\Column3DSeries.as:870]
    with a whole load of stack trace following on. This happens whether I use MXML or create at runtime in an AS class.
    I notice that the library only claims compatribility with FB 2.0 but had hoped there would be backwards compatibility.
    Thanks,
    Richard

    We have added 3d versions of the charts to our Spark based Flex charting framework : http://blog.flexicious.com/post/Flexicious-30-Release-Flex-Spark-Charts-with-Skinning-Supp ort.aspx

  • I just rented a film using my apple TV and was then asked to enter a code - which I haven't been asked for in long time. I have forgotten the code. Any quick solutions to the problem?

    I just rented a film using my apple TV and was then asked to enter a code - which I haven't been asked for in long time. I have forgotten the code. Any quick solutions to the problem?

    Hello anetsa
    It sounds like you have restrictions setup on your Apple TV. If you do not know your passcode to unlock it, then you will need to restore your Apple TV. Check out the articles below for more information about Restrictions as well as restoring your Apple TV.
    Apple TV: Understanding Restrictions (parental controls)
    http://support.apple.com/kb/HT200198
    Apple TV (2nd and 3rd generation): Restoring your Apple TV
    http://support.apple.com/kb/HT4367
    Regards,
    -Norm G.

  • I recently installed a 2nd drive in my Mac Pro.  I wanted my pictures on the new drive so I moved the Picture file there.  I also upgraded my iPhoto.  Now iPhoto doesn't know where many of the photos are.  Any quick fix?

    I recently installed a 2nd drive in my Mac Pro.  I wanted my pictures on the new drive so I moved the Picture file there.  I also upgraded my iPhoto.  Now iPhoto doesn't know where many of the photos are.  Any quick fix?

    Launch iPhoto with the Option key held down and select the library on the other hard drive from those listed in the window:
    OT

  • Flex line chart

    hi i have a flex line chart with some line series. What I
    wanted to do is get access to the items property of the series. (
    this contains the x, y values etc).
    Question is at what stage during of rending do i need to do
    this?
    Ive tried the following but at each attempt the items
    collection was 0.
    Creation complete of the chart
    creation complete of the series
    thanks

    There is info about accessing the properties of the series in
    the docs here:
    http://livedocs.adobe.com/flex/3/html/charts_eventsandeffects_12.html
    hth,
    matt horn
    flex docs

  • Suggestive PDF,Tutorials with examples or links for Oracle 11g

    Hi,
    Can anyone suggest me to have tutorials covering all the concepts in ADF 11g as previously i worked on ADF 10g and currently requiring to work on 11g project .
    Please provide helpfull links,pdf's,tutorials with examples as it would be helpfull for me to have compatibility in my new project.
    Regards,
    RK

    Hi !
    Thanks ! Plz find the E-Mail ID:-
    Formal ID:- [email protected]
    Personal ID:- [email protected]
    Regards,
    RK

  • I get an error  code 1604 when I try to restore my 3gs. Any quick fix?

    I get an error  code 1604 when I try to restore my 3gs. Any quick fix?

    Trash – Can’t Empty or Move File To Trash
    Trash – Empty When File is Locked or in Use
    Try holding down the option button while trying to delete the Trash. If that doesn’t work, here is some more information.
    Trash – Error Code 8003
    Trash FAQ          
    Trash Permission Error
    Trash Permission Error (2)

  • Despite resetting the SMC, the battery still does not charge. Any quick fix here?

    My MacBook Air is unable to charge the battery. Have tried resetting the SMC by pressing shift-ctrl-alt and the power at the same time and release them all at the same time. Hereafter I have pressed power on. Still it will not charge beyond 1%. Have tried an alternative power cord and adaptor for another MacBook Air from the same household, but no change here. Any quick fix ideas? My MacBook Air runs OS X Version 10.9.4. 1.4 GHz Intel Core iS, 4 GB 1600 MHz DDR3.

    Sorry but it is in Danish language. Any good?
    Batterioplysninger:
      Modeloplysninger:
      Serienummer:           C014311007QF90LAP
      Producent:                DP
      Enhedsnavn:             bq20z451
      Pack Lot Code:         0
      PCB Lot Code:           0
      Firmware-version:   511
      Hardwarerevision:   000a
      Cellerevision:           1210
      Oplysninger om batterispænding:
      Resterende kapacitet (mAh):   38
      Fuldt opladt:                               Nej
      Oplader:                                      Nej
      Fuld ladekapacitet (mAh):        7504
      Oplysninger om batteritilstand:
      Antal cykler:   3
      Betingelse:      Normal
      Batteri installeret:                               Ja
      Strømstyrke (mA):                              0
      Spænding (mV):                                  7107
    Energiindstillinger til system:
      AC-strømforsyning:
      Interval for vågeblus for system (minutter):      1
      Interval for vågeblus for disk (minutter):           10
      Interval for vågeblus for skærm (minutter):       10
      Afbryd vågeblus ved ændret spændingskilde:  Nej
      Afbryd vågeblus, når skærmen slås op:             Ja
      Afbryd vågeblus via LAN:                                      Ja
      AutoPowerOff Delay:                                              14400
      AutoPowerOff Enabled:                                          1
      Aktuel strømkilde:                                                  Ja
      DarkWakeBackgroundTasks:                                 1
      Vågeblus dæmper lysstyrken:                              Ja
    PrioritizeNetworkReachabilityOverSleep:            0
      Standby Delay:                                                         10800
      Standby Enabled:                                                    1
      Batteri:
      Interval for vågeblus for system (minutter):      1
      Interval for vågeblus for disk (minutter):           10
      Interval for vågeblus for skærm (minutter):       2
      Afbryd vågeblus ved ændret spændingskilde:  Nej
      Afbryd vågeblus, når skærmen slås op:             Ja
      AutoPowerOff Delay:                                              14400
      AutoPowerOff Enabled:                                          1
      DarkWakeBackgroundTasks:                                 0
      Vågeblus dæmper lysstyrken:                              Ja
      Formindsk lysstyrke:                                              Ja
      Standby Delay:                                                         10800
      Standby Enabled:                                                    1
    Hardwarekonfiguration:
      UPS installeret:   Nej
    Oplysninger om oplader:
      Tilsluttet:           Ja
      Id:                       0x07a1
      Watt (W):            45
      Familie:              0x0085
      Serienummer:   0x00f18097
      Oplader:            Nej

Maybe you are looking for