Multiple initializers for property 'dataProvider'. (note: 'dataProvider' is the default property of 'mx.charts.LineChart')

Hi ,
    I am using VeiwStack in my application and I am planning to display Line Charts in them.But I am stuck up with the this error.Here is the code
<mx:LineChart id="linechart4"  dataProvider="{chart_data}"
                showDataTips="true" width="400" height="80">
                 <mx:horizontalAxis>
                     <mx:LinearAxis baseAtZero="true"  title="Timestamp" minimum="{x_min}" maximum="{x_max}" />
                 </mx:horizontalAxis>
                <mx:verticalAxis>
                     <mx:LinearAxis id="v1r1"  title ="Mode"/>
                </mx:verticalAxis>
                <mx:verticalAxisRenderers>
                    <mx:AxisRenderer placement="left" axis="{v1r1}" titleRenderer="events.CustomChartTitleRenderer"/>
                </mx:verticalAxisRenderers>       
                    <mx:series>
                    <mx:LineSeries  xField="t_value" yField="e_value" >
                        <mx:lineStroke>
                            <mx:Stroke
                                color="0x032771"
                                weight="1"
                                alpha="1"
                            />
                        </mx:lineStroke>
                    </mx:LineSeries>
                </mx:series>
                <mx:Text text="Upstream LQI" fontWeight="bold" fontSize="12"/>
            </mx:LineChart>
        </mx:VBox>
         </mx:ViewStack>
    <mx:ControlBar>
        <mx:ToggleButtonBar dataProvider="{vs}" id="toggle" toolTip="{togToolTip}"/>
    </mx:ControlBar>
  Any Suggestions  are invited
Regards
Kalavati Singh
[email protected]

Hi,
set <mx:Text text="Upstream LQI" fontWeight="bold" fontSize="12"/>
after </mx:LineChart>
and all will be ok.

Similar Messages

  • Multiple initializers for property dataProvider

    All I'm trying to do is display xml data from a Rails application in a list., but it doesn't like this:
                        dataProvider="{student_requests.student_request}"
    It tells me "multiple initializers for property dataProvider".
    Any idea of how to address this? Thanks.
      <fx:Script>
            <![CDATA[
                import mx.controls.Alert;
                import mx.rpc.events.FaultEvent;
                import mx.rpc.events.ResultEvent;   
                [Bindable]
                private var student_requests:XML;
                private const CONTEXT_URL:String = "http://localhost:3000";
                private function initApp():void {
                    student_requestsIndex.send();
                protected function textInput_enterHandler():void
                    currentState='List';
                protected function list_changeHandler():void
                    currentState='Detail';
                protected function button_clickHandler():void
                    currentState='List';
                protected function button_clickHandler_1():void
                    currentState='Search';
            ]]>
        </fx:Script>
        <s:states>
            <s:State name="Detail"/>
            <s:State name="List"/>
            <s:State name="Search"/>
        </s:states>
        <fx:Declarations>
            <s:HTTPService
                id="student_requestsIndex"
                url="{CONTEXT_URL}/student_requests.xml"
                resultFormat="e4x"
                result="student_requests=event.result as XML"/>       
            <s:HTTPService
                id="student_requestsCreate" url="{CONTEXT_URL}/student_requests.xml"
                method = "POST"
                resultFormat="e4x"
                contentType="application/xml"
                result="student_requestsIndex.send()"/>
            <s:HTTPService
                id="student_requestsUpdate" url="{CONTEXT_URL}/student_requests/{student_requestsGrid.selectedItem.id}/confirm_reques t"
                method="POST"
                resultFormat = "e4x"
                contentType="application/xml"
                headers="{{X_HTTP_METHOD_OVERRIDE: 'PUT'}}" />
        </fx:Declarations>
            <fx:DesignLayer d:id="49" ai:objID="644a1270" d:userLabel="LeftPanel" visible.Search="false" id="designlayer2">
            <s:List skinClass="components.DataList3" x="65" y="96"
                        change="list_changeHandler()"
                        id="list1"
                        dataProvider="{student_requests.student_request}"
                        labelField="student_request">
                    <s:ArrayCollection>
                        <fx:String></fx:String>
                        <fx:String></fx:String>
                        <fx:String></fx:String>
                        <fx:String></fx:String>
                        <fx:String></fx:String>
                    </s:ArrayCollection>
                </s:List>
            </fx:DesignLayer>

    Yeah I removed it but still no data.
    I was referencing this:
    http://www.adobe.com/devnet/flashcatalyst/articles/building_datacentric_app_flas hcast_flashbuilder_03.html
    But he uses Coldfusion, and I tried using the HTTP to connect to data, but the data would never display properly. So I was forced to use HTTPService declarations, which prompted me to change code around. And this was one of it. His approach generated this:
                <s:List skinClass="components.DataList3" x="65" y="96" change="list_changeHandler()" id="list1" creationComplete="list1_creationCompleteHandler(event)" dataProvider="{TypeUtility.convertToCollection(indexResult.lastResult)}" labelField="student_request">
                </s:List>

  • Short key for copy does not work all the time now.

    After I have installed the latest OSX - Yosemite, my short key for copy does not work all the time.  It is infrequent how it works. I'm using the same keyboard that I have always used, my wireless logitech keyboard for mac.  Please help.

    I've plugged in my default mac keyboard and the short key copy still does not work.

  • The ELResolvers for JSF were not registered with the JSP container

    I'm trying to configure mojarra on tomcat6 (because I want to use Elastic Beanstalk). tomcat complains:
    Feb 8, 2011 10:24:17 AM com.sun.faces.lifecycle.ELResolverInitPhaseListener populateFacesELResolverForJsp
    INFO: JSF1027: [null] The ELResolvers for JSF were not registered with the JSP container.
    I have tried all sorts of combinations of replacing EL2.2 libs in tomcat/lib, putting the libs in WEB-INF/lib, and the context param:
    <context-param>
    <param-name>com.sun.faces.expressionFactory</param-name>
    <param-value>com.sun.el.ExpressionFactoryImpl</param-value>
    </context-param>
    JSF pages seem to work but I'd rather have a clean startup. Please assist. Thx in advance.

    Thx for replying.
    I have jstl-1.2.jar:
         <dependency>
                   <groupId>javax.servlet</groupId>
                   <artifactId>jstl</artifactId>
                   <version>1.2</version>
    <scope>provided</scope>
              </dependency>
    Which version numbers are you referring to in *.xml? The following?
    <web-app xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
    xmlns="http://java.sun.com/xml/ns/javaee"
    xmlns:web="http://java.sun.com/xml/ns/javaee/web-app_2_5.xsd"
    xsi:schemaLocation="http://java.sun.com/xml/ns/javaee http://java.sun.com/xml/ns/javaee/web-app_2_5.xsd"
    version="2.5">
    <faces-config xmlns="http://java.sun.com/xml/ns/javaee"
    xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
    xsi:schemaLocation="http://java.sun.com/xml/ns/javaee
    http://java.sun.com/xml/ns/javaee/web-facesconfig_2_0.xsd"
    version="2.0">

  • TS1702 The app game that I bought for iphone is not available in the itunes store anymore. How can I get it back on my iphone 4

    The app game that I bought for iphone is not available in the itunes store anymore. How can I get it back on my iphone 4

    If it's no longer in the store then you won't be able to re-download it - do you have a copy of it on your computer's iTunes (or on a backup) that you could sync back to your phone ?

  • I am new to Muse so I am following the tutorial for Katie's Cafe.  I downloaded the sample files.  The problem is not all the files are in the folder as are on the tutorial.  The colour sample for instance is not there.  The CC Getting Started Katies.muli

    I am new to Muse so I am following the tutorial for Katie's Cafe.  I downloaded the sample files.  The problem is not all the files are in the folder as are on the tutorial.  The colour sample for instance is not there.  The CC Getting Started Katies.mulib file is also not there so you cannot automatically download all the necessary library files.  Can anyone help?

    found it in another area
    Where do I find the cc getting started Katies.mulib File ?

  • [svn:fx-trunk] 12936: -make sure the bundles directory for airspark is not included in the package fixes bug SDK-24552

    Revision: 12936
    Revision: 12936
    Author:   [email protected]
    Date:     2009-12-14 19:40:23 -0800 (Mon, 14 Dec 2009)
    Log Message:
    -make sure the bundles directory for airspark is not included in the package fixes bug SDK-24552
    -remove (from svn) the en_US/docs directories for textLayout because these directories and dita files are created by asdoc in the doc target
    -updated the main build.xml to not include the playerglobal project
    -updated fat-swc targets in osmf,automation_spark,automation_flashflexkit,automation,airspark, and textlayout to remove the doc directory.
    QE notes: make sure copylocales works properly
    Doc notes: no
    Bugs: SDK-24552
    Reviewer:
    Tests run: checkintests
    Is noteworthy for integration: no
    Ticket Links:
        http://bugs.adobe.com/jira/browse/SDK-24552
        http://bugs.adobe.com/jira/browse/SDK-24552
    Modified Paths:
        flex/sdk/trunk/build.xml
        flex/sdk/trunk/frameworks/projects/airspark/build.xml
        flex/sdk/trunk/frameworks/projects/automation/build.xml
        flex/sdk/trunk/frameworks/projects/automation_flashflexkit/build.xml
        flex/sdk/trunk/frameworks/projects/automation_spark/build.xml
        flex/sdk/trunk/frameworks/projects/osmf/build.xml
        flex/sdk/trunk/frameworks/projects/textLayout/build.xml
    Removed Paths:
        flex/sdk/trunk/frameworks/projects/airframework/bundles/en_US/docs/
        flex/sdk/trunk/frameworks/projects/automation/bundles/en_US/docs/
        flex/sdk/trunk/frameworks/projects/automation_flashflexkit/bundles/en_US/docs/
        flex/sdk/trunk/frameworks/projects/automation_spark/bundles/en_US/docs/
        flex/sdk/trunk/frameworks/projects/framework/bundles/en_US/docs/
        flex/sdk/trunk/frameworks/projects/rpc/bundles/en_US/docs/
        flex/sdk/trunk/frameworks/projects/textLayout/bundles/en_US/docs/

    Well, I've tried compiling a package and I have modified the PKGBUILD file to look like this now. (Keeping it as simple as possible)
    pkgname=dvbcut-svn
    pkgver=16
    pkgrel=1
    pkgdesc="DVBCUT-svn is an application that allows you to
    edit MPEG files. ie: Remove TV ads. (SVN version: Fri, 01 Dec 2006)."
    url="http://dvbcut.sourceforge.net"
    depends=('qt' 'libao')
    makedepends=('subversion' 'scons')
    conflicts=('dvbcut' 'ffmpeg')
    provides=('dvbcut')
    source=()
    md5sums=()
    _svntrunk=https://svn.sourceforge.net/svnroot/dvbcut/trunk
    _svnmod=dvbcut
    build() {
    cd $startdir/src
    svn co $_svntrunk --config-dir ./ -r $pkgver $_svnmod
    cd $_svnmod
    msg "SVN checkout done or server timeout"
    msg "Starting make..."
    make || return 1
    # vim:syntax=sh
    I then run makepkg PKGBUILD and let it do its thing
    It ends with this...
    scons: done building targets.
    ==> Removing info/doc files...
    ==> Compressing man pages...
    ==> Stripping debugging symbols from libraries...
    ==> Stripping symbols from binaries...
    ==> Generating .PKGINFO file...
    ==> Generating .FILELIST file...
    tar: *: Cannot stat: No such file or directory
    tar: Error exit delayed from previous errors
    ==> Compressing package...
    tar: *: Cannot stat: No such file or directory
    tar: Error exit delayed from previous errors
    ==> Finished making: dvbcut-svn  (Sun Jan 21 19:08:28 UTC 2007)
    I'm not sure what's causing this error message.
    tar: *: Cannot stat: No such file or directory
    tar: Error exit delayed from previous errors
    I'll try installing it and see how it goes.

  • Call logs for August are not accessible until the 22nd when my bill is ready but I need this info today

    Call logs for August are not accessible until the 22nd when my bill is ready. I need them before the 22nd and Verizon chat operator was unable to access these files. Is there anyway to obtain this before the 22nd?

    Log onto your account at verizonwireless.com and click on the bar that shows the minutes. Then select the line and you can download it to a spreadsheet.

  • Why is the decline button for phone calls not available when the phone is locked? I need that button and it shows only when the phone is not locked on iOS 7

    Why is the decline button for phone calls not available when the phone is locked? I need that button and it shows only when the phone is not locked on iOS 7

    Yep. You need to touch the sleep/power button once to silence the ring, and twice in order for the call to go directly to Voicemail.
    Personally, I dont understand why Apple eliminated this. If you wish to give Apple feedback, do it here:
    www.apple.com/feedback

  • Pointer does not move to the default button in the dialog box

    example: when cleaning out trash the pointer does not go to the default button in the dialog box, you have to manually go there.
    This happens all the time.

    Hi Abhishek,
    In SAP this job shows completed till the 3rd step. and no error in the job log. but it does not execute the 4th and the 5th steps. And in Redwood, it shows completed for 1st and 2nd steps, 3rd step is in Error but has no error log. The 4th and 5th steps are in chained status. I have not amended the job chain after import. I have just scheduled it as it was running in the SAP system.
    Let me know if you need some further information on this.
    Regards
    madhu

  • My "go to in point" and "go to out point" keyboard shortcuts are not working, and the default keys arnt either? any help would be amazing!

    my "go to in point" and "go to out point" keyboard shortcuts are not working, and the default keys aren't either? any help would be amazing!  I use these keys a million times a hour and since I have switched to cc I cant get them to work. track selection makes no difference or if there are markers on the timeline or not. 
    Anyone else feel me on this?
    any help?

    Well that still didn't make any kind of difference.  I would just do without it but I've becomes really use to it with Avid for so long.  I have to admit there are a lot of small moments like this that makes me miss Avid.  Any other suggestions? I have checked the keyboard shortcuts a few times and maybe I'm just missing something here...

  • TS2776 Outlook cannot open the file because it is not associated with the default identity.

    Outlook cannot open the file because it is not associated with the default identity.

    I've had the same problem. Even though you check the box to save it as Keynote '08, it does not open in ')8 (I get the same message)...you need to reopen it in '09.
    I have even changed the name of the file in '08 and eventually get the same message.
    I believe that once you open it in '09, you're committed to that.
    Let me know if you have better luck.

  • Schema not imported to the default tablespace of the user

    I exported a schema. Then when I tried to import it in an existing schema, all the objects are successfully imported. But they are not imported in the default tablespace of that particular user. Why? How can I force the import to the default tablespace of that user?

    Did you attempt to import the objects into a new schema or into the existing one? If you are attempting to migrate the objects to a new schema you need to use the parameters:
    fromuser=<old_schema> touser=<new_schema>
    Or if you are attempting to migrate the objects to a new tablespace pre-create them as described above and import with the ignore=y.
    Message was edited by:
    klichten

  • FIXED type Attribute value not equal to the default

    Hi
    I am in the processing of doing AP Inbound process. During My process I have created Invoice XML and XSD and mapped with XML Gateway OAG XSD.
    BPEL able to pool the directory and process the XML file. But I am getting below error at XML Gateway error log.
    FIXED type Attribute value not equal to the default
    value ''.
    Could any body let me know when do I get normally this kind of error.
    Regards
    Kiran Akkiraju

    If you have imported the source code you could use a workaroud i have found. Create a new workspace and a new Project. In it create with the wizard a new Struts Controller Page Flow. After, create a action class, and some jsp pages.Then put some Struts components with the Components Palette.Be sure that in the newly created pages, jdeveloper has put the struts taglib. Now you can rebuild your project.
    It seems that jdeveloper does some internal libraries configuration, but when you import the source code, it doesn't do it.
    Hope it helps
    Nicolas Fonnegra M.

  • For no reason the MMC for WSUS is not connectiing to the server

    All,
    I rebooted the WSUS server after a windows update and now I cannot connect to the WSUS server.  I get error: connection error.  I've reviewed all posts for this issue, but none of them help.  This is ridiculous as I finally got it working
    and once again, right after an update, it screws up!!!  What is going on?
    Here's the details of the error when copied to clipboard:
    The WSUS administration console was unable to connect to the WSUS Server via the remote API.
    Verify that the Update Services service, IIS and SQL are running on the server. If the problem persists, try restarting IIS, SQL, and the Update Services Service.
    The WSUS administration console has encountered an unexpected error. This may be a transient error; try restarting the administration console. If this error persists,
    Try removing the persisted preferences for the console by deleting the wsus file under %appdata%\Microsoft\MMC\.
    System.IO.IOException -- The handshake failed due to an unexpected packet format.
    Source
    System
    Stack Trace:
       at System.Net.Security.SslState.StartReadFrame(Byte[] buffer, Int32 readBytes, AsyncProtocolRequest asyncRequest)
       at System.Net.Security.SslState.StartReceiveBlob(Byte[] buffer, AsyncProtocolRequest asyncRequest)
       at System.Net.Security.SslState.CheckCompletionBeforeNextReceive(ProtocolToken message, AsyncProtocolRequest asyncRequest)
       at System.Net.Security.SslState.StartSendBlob(Byte[] incoming, Int32 count, AsyncProtocolRequest asyncRequest)
       at System.Net.Security.SslState.ForceAuthentication(Boolean receiveFirst, Byte[] buffer, AsyncProtocolRequest asyncRequest)
       at System.Net.Security.SslState.ProcessAuthentication(LazyAsyncResult lazyResult)
       at System.Net.TlsStream.CallProcessAuthentication(Object state)
       at System.Threading.ExecutionContext.runTryCode(Object userData)
       at System.Runtime.CompilerServices.RuntimeHelpers.ExecuteCodeWithGuaranteedCleanup(TryCode code, CleanupCode backoutCode, Object userData)
       at System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state)
       at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state)
       at System.Net.TlsStream.ProcessAuthentication(LazyAsyncResult result)
       at System.Net.TlsStream.Write(Byte[] buffer, Int32 offset, Int32 size)
       at System.Net.PooledStream.Write(Byte[] buffer, Int32 offset, Int32 size)
       at System.Net.ConnectStream.WriteHeaders(Boolean async)
    ** this exception was nested inside of the following exception **
    System.Net.WebException -- The underlying connection was closed: An unexpected error occurred on a send.
    Source
    Microsoft.UpdateServices.Administration
    Stack Trace:
       at Microsoft.UpdateServices.Administration.AdminProxy.CreateUpdateServer(Object[] args)
       at Microsoft.UpdateServices.Administration.AdminProxy.GetUpdateServer(String serverName, Boolean useSecureConnection, Int32 portNumber)
       at Microsoft.UpdateServices.UI.AdminApiAccess.AdminApiTools.GetUpdateServer(String serverName, Boolean useSecureConnection, Int32 portNumber)
       at Microsoft.UpdateServices.UI.SnapIn.Scope.ServerSummaryScopeNode.GetUpdateServer(PersistedServerSettings settings)
       at Microsoft.UpdateServices.UI.SnapIn.Scope.ServerSummaryScopeNode.ConnectToServer()
       at Microsoft.UpdateServices.UI.SnapIn.Scope.ServerSummaryScopeNode.get_ServerTools()
    It was working perfectly before the update.  Please help!!
    Lee Feldman
    Feldman Consulting Co.
    Lee Feldman SMB Consultant

    Thank you for your input.  At least you're not like Lawrence giving poor information.
    Hmmmm.. having been working with this product for eight years now, while sometimes I make an erroneous statement, it rarely happens these days.
    In this case, it is Yan Li who has given you incomplete information. In addition to the split-server scenario not supporting the
    database on a Terminal Services server (which is the information provided by Yan, but not really relevant to this conversation), it is also true that WSUS has
    never been supported on a Terminal Services server.
    This was posted to the Release Notes, historically, but due to several omissions in the WSUS v3 SP2 Release Notes, does not appear in that document. (That is to say, the SP2 release notes were exclusive to the SP2 feature set, and were not inclusive of the
    RTM and SP1 limitations and issues.)
    Here is the entry from the
    WSUS v3 Service Pack 1 Release Notes:
    WSUS 3.0 SP1 is not supported on servers running Terminal Services
    Although WSUS 3.0 SP1 may still run on servers running Terminal Services, doing so is not supported or recommended. WSUS 3.0 SP1 will not run on a server running Terminal Services in configurations using remote SQL Server implementations. Because all remote
    custom actions (including installation) on a Terminal Services license server will be run as the system account, and the server's system account may not have permissions on the remote SQL Server, the installation may fail.
    Lawrence Garvin, M.S., MCSA, MCITP:EA, MCDBA
    SolarWinds Head Geek
    Microsoft MVP - Software Packaging, Deployment & Servicing (2005-2014)
    My MVP Profile: http://mvp.microsoft.com/en-us/mvp/Lawrence%20R%20Garvin-32101
    http://www.solarwinds.com/gotmicrosoft
    The views expressed on this post are mine and do not necessarily reflect the views of SolarWinds.

Maybe you are looking for

  • Promo for Smartphone, oh wait, we didn't actually apply that to your account.

    I have had a smart phone since the day the Droid 1 came out, my partner has wanted one for the camera but not for the data plan. We are on a family share plan and we both had our upgrades come up in the last month or so. I upgraded my phone right awa

  • How can i stop firefox from asking "Choose A Network Connection" when i'm offline and using my saved pages

    How can i stop Firefox from asking "Choose A Network Connection" when i'm offline and using my saved pages i use Firefox 22.0 on windows 7 it's about one week that it ask for "Network Connections" when i'm offline and disconnected from the internet e

  • No alert sounds on iPhone 6 IOS 8.1.1

    Hi there very frustrating, the phone stopped alert sounds 1-2 days ago, despite the function being turned on for all major apps. Also won't ring with 'No caller ID'. Update installed this morning - still same problem. Also touch screen is sometimes u

  • Stock to be moved to Available stock

    Hi Experts, New to WM.... Please help. During GR process user has done wrong postings and due to that stock lies as below 982 post Change Area          stock for Put Away (0 pcs)             Pick Qty (50 pcs) Bin 01-06                               s

  • Word 2008/Mountain Lion/early 08 MB Pro

    I have my own question about Word 2008 and Mountain Lion.  I have just upgraded (October 12) to Mountain Lionn for my early 2008 MB Pro. In order to prepare the Pro to run Mountain Lion, I increased RAM from 2 to 4 gig at the Apple Store. 1.  Word 20