Line Chart Legend not Appearing

Hi all,
I'm working on learning Flex for potential use at my company.
Of course for the initial demo, I want everything to look great and
I'm having trouble with charts.
I'm feeding a chart from an external xml file. The data shows
up correctly but I can't get the Legend labels to appear. I think
my xml is incorrect but I don't know why. What am I doing
wrong?

Sure thing. You can bind it to the yField, like this:
<mx:ColumnSeries id="cs1" yField="account"
displayName="{cs1.yField.toString()}"
>
You'll get a warning, because binding to that value wont
detect changes, but it will work. Similarly, you could bind it to
any variable, maybe one that is bindable.
hth,
matt horn
flex docs

Similar Messages

  • Chart Legend not appearing

    Hello,
    I have recently migrated my application  from Flex 3.2 to Flex 4.5. I am using few charts in my application. I have noticed a strange problem when I executed my application with Flex 4.5. The legend of my piechart is not visible. The text is visible but the colors beside the text is invisible. The application runs fine in Flex 3. Can someone help me in this respect.
    Thanks in advance,
    Nirmal Kumar Bhogadi

    Hi,
    Please go through following links:
    http://help.adobe.com/en_US/flex/using/WS2db454920e96a9e51e63e3d11c0bf69084-7c38.html
    http://help.adobe.com/en_US/flex/using/WS2db454920e96a9e51e63e3d11c0bf69084-7c3e.html#WS2d b454920e96a9e51e63e3d11c0bf65a29-7fe9
    http://help.adobe.com/en_US/flex/using/WS2db454920e96a9e51e63e3d11c0bf69084-7bff.html
    Thanks and Regards,
    Vibhuti Gosavi | [email protected] | www.infocepts.com

  • Crystal Reports - Charts do not appear on reports in some cases

    We have a few reports that include charts on them (created with Crystal 2008 Designer).  These reports have run fine for quite a while but this morning we got a support call with a client reporting that though the reports process and appear correctly, the charts do not appear - instead the client can see a box where the charts should be - but no charts appear.
    Wait...  This has a curve ball...
    The same client then ran our application on the SAME machine, but in a VM (virtual machine) on that machine, and now, the charts appear! 
    I can understand that if a machine is low on memory, charts might not appear - but then why when a VM is used on the same machine do charts suddenly appear?
    Is there any way, any suggestion someone can offer by which I can 'trap' this situation in code, PRIOR to producing a report that is going to have a big blank spot where a chart normally appears?
    Thanks for any help - much appreciated.

    Nope...  Not video corruption...  We finally figured it out...
    Its the 12_0 runtime.  Run it, and you dont see any charts, no errors, no warnings, just no charts - update to the 12_1 runtime and voila, charts are suddenly present.
    Just to be sure we were not going nuts we uninstalled, reinstalled the 12_0 and no charts again - put in the 12_1 runtime and there they are again.
    Problem solved.
    Edited by: Bruce Landry on Mar 9, 2010 7:50 PM

  • Line items are not appearing while processing F-44

    With transaction F-44, to clear vendor account, the system displays only one open item, whereas there are 2 open items on the line item report (FBL1N). Further there are two line items in BSIK.
    Please help

    Hello,
    There are two line items in the Vendor account, the details are as follows:
    Date             Amount                  PK                 DR/Cr
    31.03.2008   12,050.00                38                      Cr
    05.06.2008   12,050.00                28                      Dr
    of above while processing F-44, we are able to see only debit item dated 05.06.2008.other line item is not appearing. When tried by putting document number, it says "NO OPEN ITEMS FOUND"

  • Flash chart does not appear on the PC of a user

    Hi,
    I have an application which is working nicely. But suddenly, one user cannot see the flash charts on his PC. On my PC it works well, I can see the charts. I don't know why on his PC the flash chart do not appear. She is using IE 6.
    The application is using APEX Anychart 5.12.
    How to check if Flash is working well on his PC ?
    Regards,
    Christian

    I think that PC is missing the flash plugin.
    Denes Kubicek
    http://deneskubicek.blogspot.com/
    http://www.opal-consulting.de/training
    http://apex.oracle.com/pls/otn/f?p=31517:1
    -------------------------------------------------------------------

  • Legend not appearing for Chart Type columns/bars in business graphics

    Hi Experts,
    I'm not able to make the legend appear in web dynpro screen.As such graphs is coming but the legends are not appearing at runtime. When i customize the graph using t-code 'BS_ANLY_CD'  or right-click on business graphics, the legends are appearing in customizing preview but not in runtime.
    Could anybody help me out in this issue?
    Below is the screenshot of the same.
    Thanks in advance.
    Regards,
    Bob.

    Its solved .Solution is below.
    You just need to add the label description for both the series then the legend will automatically come as shown below.

  • Chart legend not displaying in ERP Menu

    Sir,
    I am create the Chart in graphics builder 6i and call the chart from form builder 6i it runnnig fine chart and Legend are displayed. then move the chart and form to Database(apps) then run the form in ERP menu Chart Only display but LEGEND not display.
    Please help me how appear the LEGEND on the chart.
    Advance Thanks,
    Kadavul. V

    Hi Pradnya
    The template I am using is the copy of 0ANALYSIS_PATTERN .
    Anway I have found the answer.
    The scenario is more related to Multiquery .
    Your main template which is copy of 0ANALYSIS_PATTERN contains additional Analysis and Chart Web items . In order to include Multi-Query or Single Query additional analysis and chart web items in the print output with desired output they must have the very same name as the analysis and chart web items defined  in the 0ANALYSIS_PATTERN_EXPORT template.
    Regards,
    Muhammad
    Edited by: Muhammad Zafar on May 7, 2009 5:12 AM

  • Line chart will not drill down

    I am doing a drill down Group report which will show the Sum of Last year's Sales By Country, State and city over a period of time(by date) for throughout the year 2007. Every group will have a line chart with Data title as Sum of Last year's Sales ($), Group Title as Date and legends displaying countries (or states or cities) as USA,UK,Australia. etc.. I have same sort of line chart for State and City as well.
    Now, the problem is my drill down would not work on chart lines or legends as it would do for a 2-dimensional data chart like a bar-chart or pie-chart. The reason is in the Chart Expert->Data->Layout:Group ->in the On Change Of event selection I am able to specify either Sales.Country  (or) Sales.country and Sales.Sales.State. Both options would not let me get the correct linechart with correct data and drill-down working as well.
    The only work-around i got is to display the line chart with legends and and showing the Country(or State or City) names in a field in the Group Footer. The drilling will work on those fields, but not on the legends or lines of the line chart. This make my report showing the Country names twice once on legend (with no drill-down) and once on group-footer(with drilling ability to groups below) which is untidy.
    Have anyone tried to make a drill-down crystal report on a 3-dimensional data like this? The World Sales report in Crystal reports Samples\General Business\World Sales Report is the best example of how i would like to see my charts to drill down. However, they drill down across a 2-dimensional data. I am publishing this Crystal Reports in Business Objects Infoview.

    Wow. That post almost made my eyes bleed. You may want to add some white space for readability.
    Anyways - as Falk said. You should move or re-post this in the [Crystal Reports Design|SAP Crystal Reports; forum. They specialize in this sort of thing. Us dev guys here make sure we can see the chart without errors and don't do much beyond that.

  • Graphics chart LEGEND not display on Form on Web.

    Sir,
    I am create the Chart in graphics builder 6i and call the chart from form builder 6i it runnnig fine chart and Legend are displayed. then move the chart and form to Database(apps) then run the form in ERP menu Chart Only display but LEGEND not display.
    Please help me how appear the LEGEND on the chart.
    Advance Thanks,
    Kadavul. V

    Hi
    pls post ur Question in the right forum...
    General EBS Discussion
    Regards,
    Abdetu...

  • Line items are not appearing in F-32

    Dear All,
    There is one unique issue that is being arised in our system where in the open line items are appearing at the time of customer line item display, but when we go for clearing these line items only some documents are appearing and some documents are not appearing at all.
    Is there any reason that documents does not appear while clearing where in still the same is appearing as a open line item in customer line item display.
    Regards,
    Rupa.

    hi,
    as seen from above mails,
    entries are existing in BSID table
    entries are passed as part of period end closing entries
    entry passed in month end and reversed in next month
    proposed sol
    1. check the mode of passing the  entry in tcode
    if tcode is coming from FBS1 the entries will not appear in F-32
    if 1 entry in FBS1 and other entry in F-32 then automatic reversal  entries were not passed.
    there was manual entry.
    that is the reason 1 entry in FBS1 and other in F-32.
    Thxs,
    GB

  • Line chart legend titles - fixed length?

    Hi
    I use a number of line charts wherein I specify the title of the individual series via variables &var1. and so on.
    When I use more than 3 series in the chart, the 4th and following(up to 6) series titles are shown in '2nd' column' in the legend title/color area of the chart.
    However it seems 2nd column always start a fixed number of px to the right of the 1st column no matter how long the titles of the legends in the first column is.
    The result is that legend titles and colors are written on top of each other and it looks very messy.
    Can I get around that somehow? Is there a fixed length defined somehow?
    I thought I could just pad blanks to the legend titles in the 1st columns, but no. I tried in a number of ways doing that via &nbsp, and &#160 and so on - but no effect.
    Anyone? any ideas?
    Best regards,
    Jesper G

    I've the same problem with APEX 2.2, does someone has an issue?

  • Can't edit audio line - it will not appear

    For some reason my edit line will not appear in the audio track. I can't fade down or out the audio tracks downloaded from my iTunes library.
    Note: This is just one of the problems I've had since installing iLife 08. I did not care for '08 and deleted it but I believe parts of it still lingers somewhere.
    I will only use my version 6, but can't go further with four 'in progress' movies.
    Harold

    Phone EE to delete you old a/c. Then you will be able to create your new 1. Stupid, innit? They can't do this auto when you upgrade.

  • Xcelsius - Embedded 'Jpg' logo not visible, Pie chart Legends not visible

    Hi,
       I am new to xcelsius. could you please help.
       I have two issues.
      1. I incorporated Logo (JPG FILE) and selected options Embed file, resize image to component, but image is not visible when I preview. Why? What needs to be done to make logo visible in preview(swf file). I did not export yet to Infoview though.
    2. Legend values are cropped. I have 35 legends that are to be listed for pie chart. I can see only 31 and remaining four not visible (two from beginning, 2 at the end). I reduced font to lowest visible value i.e.  8 and increased height max possible that looks good . How to make them visible? or make them to fit to chart. Is there any option? Legend values are towards right of chart.
    Please help.
    BR, Nanda Kishore

    Hi,
       Are you using Image Component to insert your JPEG, if not try that. It will work as expected.
       As for your pie chart legends, it will work as long as your Pie Chart is large enough to fit all regions onto the screen.
       Try a simple test just to prove that concept.
          - Create 2 columns in Excel
          - Make Column A your Region Column. Insert up to 35 records
          - Make Column B you Data column. Also insert up to 35 records.
          - Now map your data into the Pie Chart and make sure you reduce the fonts of the region to "8" (Smallest it can go)
          - Preview it.
    Ken

  • Scale on Y-axis of line chart is not correct

    I have a simple line chart that has the values of 150, 0, 122, 0, 0 and 0 that is charting fine.  However, the scale on the Y-axis is not starting at 0.  It starts at 100, giving the impression my 0's are 100's.  I have other charts, with other values, that are doing the same thing.  My chart set to ignore cells at end of range.  The scale setting is set to Auto (Y) Axis, Y axis scale is linear.
    I'll admit I'm pretty new with this software, but I'm not seeing any setting that I have wrong.

    Hi Gregory,
    unfortunately, it's a bug. I filed it (ADAPT01136251) and we will fix it ASAP. For now I can suggest only to switch to manual scale or to set one of your zero values to be something like 0.000000001 instead.
    Sorry about the bug,
    Margaret

  • Line items are not appearing for some users

    Hi
    In one module pool program some line items are not appering for specific users. For Ex: Out of 5 line items user1 is able to see only 3 and user2 able to see all the line items. what might be the reason.
    Regards
    John.

    Hi,
    What do you mean by line items? Are you talking about screen fields in your module pool program or output of the program?
    Please clarify your issue.
    Regards,
    RS

Maybe you are looking for