Chart Legend: Worked in Beta, No longer working in Prod

Hi everybody,
The legend attached to the LineChart is no longer displaying the proper color. That is, the line, in the linechart is red (as requested) but the "legend" is black. It is supposed to be a red square and the word "Jobs" but I get a black square (as it is not picking the fact that it should be red).
<s:SolidColorStroke id="s3" color="red" />
<mx:Legend dataProvider="{myChart}" />
<mx:LineChart id="myChart"
  x="10" y="40" width="600" height="400"
  dataProvider="{platformsData}"
  showDataTips="true" >
<mx:series>
<mx:LineSeries yField="id" displayName="Jobs" lineStroke="{s3}"/>
</mx:series>
</mx:LineChart>
This worked in Beta but no longer works in Production. Is this a bug or I need to make coding changes to accommodate to new Production ways of dealing with this?
Regards,
egm

Seems like a bug to me.  If you remove lineStroke="{s3}", the chart legend loads fine.
Might have something to do with fill color perhaps?
In any case, the fills documentation says:
"If you specify the fills property and you want to have a Legend  control, you must manually create a Legend control and add LegendItems to it."
Perhaps the entry for lineStroke should say the same.
In the mean time you could use the defaults, or a custom Legend, like this (place into an AIR 2 project if you try running it):
<?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" width="1059" height="722">
     <fx:Script>
          <![CDATA[
               import mx.events.FlexEvent;
               [Bindable]
               public var platformsData:Array = [{id:1, jobs:'Test1'},{id:4, jobs:'Test2'},{id:6, jobs:'Test3'},{id:9, jobs:'Test4'}];
          ]]>
     </fx:Script>
     <fx:Declarations>
          <s:SolidColorStroke id="s3" color="0xFF0000" weight="2" alpha=".8"/>
     </fx:Declarations>
     <mx:Legend>
          <mx:LegendItem label="Jobs" fontWeight="bold">
               <mx:fill>
                    <mx:SolidColor color="0xFF0000"/>
               </mx:fill>
               <mx:stroke>
                    <mx:SolidColorStroke color="0xFF0000" weight="2"/>
               </mx:stroke>
          </mx:LegendItem>
     </mx:Legend>
     <mx:LineChart id="myChart" x="53" y="124" width="600" height="400" dataProvider="{platformsData}" showDataTips="true">
          <mx:series>
               <mx:LineSeries yField="id" displayName="Jobs" lineStroke="{s3}"/>
          </mx:series>
     </mx:LineChart>
</s:WindowedApplication>

Similar Messages

  • SD Card reader no longer works / Yeti Microphone no longer works

    I guess I made the mistake of updateing my iPad software during the last sync. Now I get a low power warning when I try to use the Yeti microphone. The SD card reader no longer works as well. was told that I could use a powered USB hub. This kind of kills the whole portability thing.
    Can we get Apple to fix this...PLEASE?

    Harry Manko wrote:
    Can we get Apple to fix this...PLEASE?
    This is a user-to-user forum. To make sure Apple gets your feedback, use the appropriate link on this page:
    http://www.apple.com/feedback

  • Help! 6D lcd has stopped working and autofocus no longer working!

    Ok - I scoured the internet as best a I could and could not find any troubleshooting with the issue I am currently having with my 6D. The camera stopped working in the middle of photos I was taking of a sunset over the lake. The camera LCD was no longer working (allowing me to look at photos, bring up the menu etc) it was just black. However, when I turn the camera off, it displays the "sensor cleaning" on the back of the LCD so that must mean the screen is working, its just not allowing me to see any information displayed by my camera.
    The display at the top right of the camera by the shutter button that shows all the aperture, ISO and shutter information works and is accurately monitoring the light change. The display when I look through the viewfinder showing the light meter is working too. I can change settings in manual mode and it will display the changes in both the viewfinder and upper shoulder display.
    However, the other issue is the autofocus isn't working correctly. When the lens (and I've tried different lenses, they all have the same issue) tries to autofocus, It sometimes will correctly (I can see it hit focus when the small box in the viewfinder lights up ready) but the majority of the time It will just act like its in manual focus mode and shoot everytime the shutter is pressed.
    THE OTHER thing is the shutter button is permanently pressed in. Its not "raised" like it usually is allowing you to lightly tap it gain focus. I cannot change where the focus point is either, its permanently stuck on one to the right of the center point.
    One small detail, at some point during my shooting today the rubber eye cap around the viewfinder fell off. Not sure when this happened because I was wearing glasses and didn't notice it came off but was wondering that would cause any of these issues (can't see how it would..)
    I shot A LOT of photos today, all in RAW. I mean.. I was literally shooting all day for 8 hours, NON-STOP so I'm not sure if was something that could cause these issues either.
    The camera is still recording the correct image data to the card since the issue started, I checked on my computer.
    Not sure whats going on here, and I'm really worried! I'm worried that water or sand could have gotten into the camera and cause the issue, even thought I was being extra careful that this wouldn't happen since I was on the beach (Lake Michigan, fresh water).
    If anyone has any ideas to help please let me know!

    I suspect your last paragraph explains the problem. Try unstick in the shutter button by trying to carefully insert a business card between the button and camera body and sweep the circumference of the button to remove the sand particle.
    John Hoffman
    Conway, NH
    1D Mark IV, Rebel T5i, Pixma PRO-100, MX472

  • My sound no longer works, my sound no longer works

    Since i downloaded new OS my sound no longer works, this if for itunes, spotify and trying to listen to youtube videos

    I just found out that a few of my slideshows have the music intact.  For the rest, it looks like I will have to go through the cumbersome process of re-loading the music.
    I can't tell is this was caused by the Mavericks upgrade or Iphoto Update.

  • I'm trying to use my older Acrobat 4 for printing files from an older Macintosh with system 9, so that I can store and use the pdf documents in a newer MacBook Air, with OSX 10.9.  Acrobat 4 worked previously but no longer works.  Any way to fix it?

    I am trying to transfer older files from a Mac PowerBook G4, running system 9, printing those documents as pdf, using Acrobat 4.  Then those pdf documents will transfer to my newer MacBook Air, running OSX 10, allowing me to store and use them.  My problem is that Acrobat 4 no longer seems to work on the old Mac, and I don't know how to fix it.  Can anyone give me some suggestions?

    You never know, someone might remember. What happens in detail when you try to use it, and HOW are you trying to use it?

  • Software no longer work, serial number no longer work, what is the problem. Need software soon as possible.

    Serial number no longer valid. If there was a billing issue I missed seeing email. Missing an important deadline and software isn't working.

    What software, and what version?
    Cloud programs do not use a serial number... you sign in to your paid Cloud account to download and activate programs
    Credit card https://helpx.adobe.com/utilities/credit-card.html
    Change Account https://forums.adobe.com/thread/1465499 may help
    http://helpx.adobe.com/creative-cloud/kb/renew-extend-restart-ccm.html
    http://www.thermalexposure.com/2012/10/17/adobe-creative-cloud-subscription-renewal-troubl e/

  • Magic mouse no longer works, Magic mouse no longer works

    Magic mouse will right and left click, but otherwise, is not responsive.

    Go ahead and visit your local computer store (not Apple) and try out all different kinds of mice that best fits your person.
    I am kind of fond of Logitech mice myself, but found a nice Targus that takes a beating and keeps on ticking, got a netbook bag with it for free.
    Good thing, Mac's work with any old mouse and keyboards.
    learn a wealth of info here
    https://discussions.apple.com/message/16276201#16276201

  • Equium L40-17M: WLan connection working but light no longer works

    I have recently transferred my laptop Equium L40 17M... from Vista to Windows 7 64 Bit and since then my WiFi Light has not worked --- any ideas????
    HELP!

    Hi
    I assume you are not able to enable the WLan and therefore the WLan does not work in Win 7.
    First of all you should ensure that WLan card driver was installed properly and that WLan card was recognized in device manager.
    No yellow exclamation marks should be visible in Network adapters.
    Here a page with WLan drivers:
    http://aps2.toshiba-tro.de/wlan/?page=downloads
    I think your notebook support REALTEK 802.11(B/G) RTL8187B WLan card so you have to choose Realtek WLan driver.
    Furthermore you have to ensure that WLan was enabled;
    You have to put the WLan switch to ON position in order to enable WLan LED light
    Additionally you have to use FN + F8 buttons to choose WLan card.
    If Fn buttons would not work, then you have to install the VAP (value added package) and Flash Card Support Utility. You can choose the tools released for Satellite L500...
    I did this and this worked

  • Notify no longer working with find friends app!

    On find friends app the notify button no longer works and myself and everyone I'm trying to set the notify button has the latest update "6.1.2". Any one else having the same problem?

    I didn't realize until I went to a class to lecture in front of a couple hundred students that what worked on Friday no longer worked on Monday.  (I upgraded to iOS 5 over the weekend.)  My iPad with lecture slides was plugged in 25 feet away.  I finally recruited a student to tap the iPad screen when I needed the next slide.  A nightmare.  What is usually slick and seamless was a wreck. 
    Here's my deal.  My remote app works fine at home where my iPod Touch and iPad are on the same wifi network.  At school they're on different networks for some reason.  Bluetooth doesn't work anywhere.  So Apple needs to find this bug and fix it.  I can't believe whoever is responsible for this didn't test this out before they released iOS 5.  Sheesh. 

  • Keynote remote app no longer working with keynote for ipad

    noticed after upgrading that the keynote remote does not pair with keynote for the ipad.  Any suggestion on a resolution or anyone else experiencing this issue?

    I didn't realize until I went to a class to lecture in front of a couple hundred students that what worked on Friday no longer worked on Monday.  (I upgraded to iOS 5 over the weekend.)  My iPad with lecture slides was plugged in 25 feet away.  I finally recruited a student to tap the iPad screen when I needed the next slide.  A nightmare.  What is usually slick and seamless was a wreck. 
    Here's my deal.  My remote app works fine at home where my iPod Touch and iPad are on the same wifi network.  At school they're on different networks for some reason.  Bluetooth doesn't work anywhere.  So Apple needs to find this bug and fix it.  I can't believe whoever is responsible for this didn't test this out before they released iOS 5.  Sheesh. 

  • Applications no longer working

    For some reason a lot of my applications have decided to longer respond and when i try to load them i get the message stating that there was a problem and i can relaunch. when i relaunch i get the same message. i tried rebooting my laptop and still no luck. the app's were working but they no longer work. i am also having problems with programs crashing at some point. i have had leopard on this laptop for quite sometime now and i lost the disk. anyone have any suggestions?

    Verify permissions for “Macintosh HD”
    Permissions differ on "private/var/log/secure.log", should be -rw------- , they are -rw-r----- .
    Permissions differ on "Library/Preferences", should be drwxrwxr-x , they are drwxrwxrwx .
    Permissions differ on "Library/PreferencePanes", should be drwxr-xr-x , they are drwxrwxr-x .
    User differs on "System/Library/Frameworks/JavaVM.framework/Versions/1.5.0/Home/lib/jvm.cfg", should be 0, user is 95.
    User differs on "System/Library/Frameworks/JavaVM.framework/Versions/1.5.0/Libraries/classlist" , should be 0, user is 95.
    ACL found but not expected on "Applications/Utilities".
    ACL found but not expected on "Applications".
    Permissions differ on "Library", should be drwxrwxr-t , they are drwxrwxr-x .
    ACL found but not expected on "Library".
    Permissions verification complete
    Repairing permissions for “Macintosh HD”
    Permissions differ on "private/var/log/secure.log", should be -rw------- , they are -rw-r----- .
    Permissions differ on "Library/Preferences", should be drwxrwxr-x , they are drwxrwxrwx .
    Permissions differ on "Library/PreferencePanes", should be drwxr-xr-x , they are drwxrwxr-x .
    User differs on "System/Library/Frameworks/JavaVM.framework/Versions/1.5.0/Home/lib/jvm.cfg", should be 0, user is 95.
    User differs on "System/Library/Frameworks/JavaVM.framework/Versions/1.5.0/Libraries/classlist" , should be 0, user is 95.
    ACL found but not expected on "Applications/Utilities".
    ACL found but not expected on "Applications".
    Permissions differ on "Library", should be drwxrwxr-t , they are drwxrwxr-x .
    ACL found but not expected on "Library".
    Permissions repair complete
    that is what i got from running disk utility. apps still dont respond

  • Links no longer working

    Last year I created a small website with Dreamweaver CS3.  I had to update it - Using CS5 and now my links do not work.
    Mainly, I was changing the dropdown menu under the Levies and Bonds Explained tab.  Can anyone take a look at my template code
    and let me know what I am doing wrong.  Many thanks
    <body class="twoColFixRtHdr">
    <div id="container">
    <div id="header"> <img src="../lincolns/navbar2/finallogo.jpg"/>
    <ul id="nav" class="MenuBarHorizontal">
    <li><span class="MenuBarActive"><a href="../lincolns/Templates/index.html">Home</a></span></li>
    <li><span class="MenuBarActive"><a href="../lincolns/Templates/about.html">About Us</a></span></li>
      <li><span class="MenuBarActive"><a class="MenuBarItemSubmenu" href="#">Levies &amp; Bonds Explained</a>
        </span>
        <ul>
          <li><span class="MenuBarActive"><a href="../lincolns/Templates/general.html">General Fund Levy</a></span></li>
          <li><span class="MenuBarActive"><a href="../lincolns/Templates/bonds.html">Building Reserve Levy</a></span></li>
          <li><span class="MenuBarActive"><a href="../lincolns/Templates/tech.html">Elementary Technology Levy</a></span></li>
          <li><span class="MenuBarActive"><a href="../lincolns/Templates/taximpact.html">Tax Impact</a></span></li>
          <li><span class="MenuBarActive"><a href="../lincolns/Templates/general.html">General Info About Levies</a></span></li>
        </ul>
    </li>
    <li><span class="MenuBarActive"><a href="../lincolns/Templates/vote.html">Voter Information</a></span></li>
    <li><span class="MenuBarActive"><a href="../lincolns/Templates/joinus.html">Join Us</a></span></li>
      <li><span class="MenuBarActive"><a href="../lincolns/Templates/contact.html">Contact</a></span></li>
      <li><span class="MenuBarActive"><a href="DONATE" _mce_href="https://lincolnsforlevies.webconnex.com/donate-now">DONATE">https://lincolnsfo rlevies.webconnex.com/donate-now">DONATE NOW</a></span></li>
    </ul>
    </div>
    <div id="sidebar1">
      <h2>Links</h2>
      <p><a href="Bozeman" _mce_href="http://www.bsd7.org/2012election">Bozeman">http://www.bsd7.org/2012election">B ozeman School District</a><br />
        <a href="Film" _mce_href="http://www.youtube.com/watch?v=h0jDCvywQkY&amp;feature=youtu.be">Film">http:// www.youtube.com/watch?v=h0jDCvywQkY&amp;feature=youtu.be">Film By Students for Students</a><br />
      </p>
      <!-- end #sidebar1 -->
    </div>
    <!-- TemplateBeginEditable name="main" -->
      <div id="mainContent">
          <!-- end #mainContent -->
      </div>
      <!-- TemplateEndEditable -->
        <!-- This clearing element should immediately follow the #mainContent div in order to force the #container div to contain all child floats --><br class="clearfloat" />   
      <div id="footer">
        <div align="center"><p>Lincolns for Levies   &#8226;   294 Triple Tree Road   &#8226;   Bozeman, MT  59715&amp;nbsp      406.586-9263<br />
            <span class="footer">Website Design by Blue Sky MT</span></p>   <!-- end #footer -->
        </div>
      </div>
    <!-- end #container --></div>
    <script type="text/javascript">
    <!--
    var MenuBar1 = new Spry.Widget.MenuBar("nav", {imgDown:"../SpryAssets/SpryMenuBarDownHover.gif", imgRight:"../SpryAssets/SpryMenuBarRightHover.gif"});
    //-->
    </script>
    </body>
    </html>

    thanks Ben.
    Date: Thu, 11 Apr 2013 17:06:41 -0700
    From: [email protected]
    To: [email protected]
    Subject: Links no longer working 
    Re: Links no longer working created by Ben Pleysier in Dreamweaver - View the full discussion  
    Index.html shows 
    [Home | index.html]
    [About Us | Templates/about.html]
    [Levies & Bonds Explained | #]
    [General Fund Levy | Templates/general.html]
    [Building Reserve Levy | bldgreserve.html]
    [Elementary Technology Levy | Templates/tech.html]
    [Tax Impact | Templates/taximpact.html]
    [General Info About Levies | explained.html]
    [Voter Information | Templates/vote.html]
    [Join Us | Templates/joinus.html]
    [Contact | Templates/contact.html]
    [DONATE NOW | .../lincolns/Templates/donate.html]
    You need to get rid of the highlighted parts.
    Similarly on the other pages where you also have an '#' blocking the link. 
    Please note that the Adobe Forums do not accept email attachments. If you want to embed a screen image in your message please visit the thread in the forum to embed the image at http://forums.adobe.com/message/5227770#5227770
    Replies to this message go to everyone subscribed to this thread, not directly to the person who posted the message. To post a reply, either reply to this email or visit the message page: http://forums.adobe.com/message/5227770#5227770
    To unsubscribe from this thread, please visit the message page at http://forums.adobe.com/message/5227770#5227770. In the Actions box on the right, click the Stop Email Notifications link.
    Start a new discussion in Dreamweaver by email or at Adobe Community
    For more information about maintaining your forum email notifications please go to http://forums.adobe.com/message/2936746#2936746.

  • Alpine connection no longer works

    This is so wierd. We have a fourth generation iPod and we mostly keep it in the glovebox connected to our Alpine CDA-9856. It's worked perfectly and we love it. It just stopped working for no apparent reason! To troubleshoot it we did a couple of things. We took it inside and made sure it worked hooked up to headphones, which it does. We updated the itunes program and music from our computer onto it. Then we tried our nano with the Alpine and it worked. So there's nothing wrong with the Alpine device or connection.
    Seems to me like both the Alpine and the iPod are both working. But no longer working together. The iPod just keeps flashing OK to Disconnect. Normally it displays that and alternates that display with the song info. Any ideas what could be wrong? Thanks!
    Sheila

    This solution of resetting the iPod worked perfectly for me with my 2 month old Alpine CDE 9881 that stopped working last week.
    I feel bad now though because I only saw this solution after going to the dealer who sold me the Alpine unit and getting them to swap it with a new one, which we naturally found didn't solve the problem, because it was the iPod that was at fault, not the Alpine.
    Message was edited by: revsorg

  • QT DROPLETS NO LONGER WORK 7.2

    The QT script droplets (http://www.apple.com/applescript/quicktime/) that used to work with QT NO longer work in 7.2
    Any suggestions how to SAVE AS UNEDITABLE in 7.2?

    I've updated to QuickTime 7.3 and the script's working now.

  • Just upgraded to Firefox 10. Google Finance charts no longer work. They do work in IE. Updated Adobe Flash player to latest. IE works. Firefox 10 doesn't.

    Just upgraded to Firefox 10 on a Window7 64 bit PC. Google Finance charts no longer work. Checked the web for similar. Updated to latest compatible Adobe Flash player 32 bit as suggested. Flash player works. I can see finance charts in IE, but not Firefox 10. I can see finance charts on Yahoo in Firefox, but not Google finance charts. Main chart at google.com/finance is displayed. Individual stock charts don't.

    Download Adobe Flash Player installer 10.3.183.7 (2.94 MB)
    * http://get.adobe.com/flashplayer/
    * '''When Downloading Plugins Update setup files, Remove Checkmark from Downloading other Optional Softwares with your Plugins (e.g. Toolbars, McAfee, Google Chrome, etc.)'''
    * Close Firefox (click '''Firefox''' button and click '''Exit''')
    * Open the '''install_flash_player.exe''' file, then follow the installer's instructions.
    -> Start Firefox in Safe Mode by Holding down the '''Option''' key while starting your Mozilla Firefox application. (If the Profile Manager opens, select a profile and then hold down the '''Option''' key again while clicking the button to start Firefox.)
    * As an alternate method, go to Utilities (in the Applications folder) and open Terminal, then run:
    ** /Applications/Firefox.app/Contents/MacOS/firefox-bin -safe-mode
    -> Firefox Safe Mode window will appear -> DON'T SELECT ANY OPTIONS, just click '''Continue in Safe Mode'''
    -> go to a website that uses Flash player:
    * http://www.youtube.com/
    * http://movies.yahoo.com/
    Check and tell if its working while you are Browsing in Firefox Safe Mode.
    Check and tell if its working.

Maybe you are looking for

  • How can I auto export a PDF File using the "Smallest File Size" preset and set the Exported File Name based on information from an Imported PDF?

    Greetings all, I am trying to create a script to automate a PDF export process for my company for inDesign. I’m fairly new to inDesign itself and have no previous experience with javascript, although I did take C++ in high school and have found it he

  • Sto plant to plant(1 company cde)

    Sir, While creating STO (plant to plant within company), I am getting an error by not possible to determine shipping data for material……. I have done following steps 1.     Created material master with maintaining sales data in both plant 2.     Crea

  • Where can I get a new hard drive for an LC II (80MB)

    I have a complete Macintosh LC II that saw most of the family through University (and me retraining as a dentist). The hard drive is an IBM HDD 80MB 3.5" WDS-L80 - does anyone know anyone still selling these/ can I use a substitute. Would like to kee

  • HR Tables(Urgent)

    hello Friends, I have to create the Report.Which should display the Appraisal Deatils of an Employee.Can any one tell me in which tables contains the all the details of Appraisee,Appraiser,Part Appraiser and final Appraisal Rating.It is very Urgent P

  • Mail 3.6: Can't fetch mail after initial run of fetched mail

    I'm running mail 3.6 with OSX 10.5.8. It has always worked well, but lately it has stopped fetching mail unless I restart or re-boot mail, then it fetches everything but the next time it tries to fetch, it gets hung up and the activity window shows "