Chart Legend issues

Is there a way to force a Bar Chart legend in Crystal Report 11.5 to display its objects in a particular order?
For Example, say I am reporting on the consumption of "Bananas" and "Apples" by State. The Bar Chart should display the percentage of people who eat these fruits by county (Percent Bar Chart). The "Apples" percentage always displays on top of the bar chart and the "Bananas" on the bottom. The legend for this graph also displays the "Apple" color first, then the "Banana" color. However, if the "Banana" percentage is 0% the legend displays the "Banana" color first on the legend. This creates a inconsistent report (with plenty of complaints).
I would like the "Banana" color to always display second in the legend. Hope I didn't confuse anyone and any ideas would be helpful.
Thanks in advance!

Can you post an example .rpt (saved with data)?
I can throw it up in the debugger and see what's going on.
-[Dan3D|http://www.threedgraphics.com] (who quite possibly wrote the legend code many years ago).

Similar Messages

  • Chart legend shows database field instead of value

    Hi,
    I would like to understand the behavior of the charts legend, which sometimes display the field values as requested, but sometimes display the database field name starting with a @.
    We develop Crystal Reports and then generate them via an application. We have many releases of our application and therefore we get to work with Crystal versions 10, XI, XIr2 and 2008.
    In all cases, the legend display is correct when in the Crystal Reports Designer preview mode. However when generated through our application (using ADO.NET), depending on the Crystal runtime version (apparently) the result varies. Editing the legend label in preview mode doesn't resolve the issue.
    Is this behavior related to :
    - Crystal Reports runtime (it appears to happen only with Crystal Reports runtimes XIr2 and 2008 in our case) ?
    - Using formula fields in the chart instead of database fields directly ?
    - Evaluation time (our charts are in Report Header and/or Group Header) ?
    - any other idea ?
    Thank you very much
    Anthony

    We have been able to detect that the Language Regional Settings of Windows XP Pro has a direct effect on our charts legend display.
    We noticed that when the Regional Settings were set to English, the report would generate correctly and chart legends would display values, and not database fields names. However, when the regional settings are set to another language (tried French, Dutch, Spanish and German) the problem occurs.
    Using Process Monitor we have spotted that when in Regional Settings other than English it was still the English dll that were called (crdb_adoplus_res_en.dll)...
    The problem occurs with Crystal runtimes XIr2 and 2008 only. We use Crystal Reports in an application, using ADO.NET connector, and we use the Crystal runtime to generate reports.
    Is this a bug or is there a workaround to make sure the correct dll are called according to regional settings ?
    Thank you for your kind assistance.
    Best regards,
    Anthony

  • Problems On Show Chart Legend in Crystal Report Java Viewer

    Hi all,
             We found the problem on show chart legend values of each column, i have already set the "Tool tip text " option by formart chart, but the ouput on java viewer on can show first column data. seem Java view not support for display Tool Tip by chart columns ?
    Thanks
    Andrew

    i missed the following line in my code.
    rcDoc.DataDefController.FormulaFieldController.Add(oFormulaField);
    now it works......
    my next issue is that,
    chart returns True & False captions. but i want to show actual value. how its to be done
    regards,
    Padmanaban V

  • Chart legend fails to print correctly

    When I print the front panel of my vi, the text in the chart legend is not visible on the printed document.  I have tried changing the font and style of the text in the legend, but that usually causes the program to crash.  I am using Labview 8.5.1 and Windows XP. Is there a way to get the entire front panel to print correctly?

    Yes, it would be very helpful if you could upload a simple VI that one can use to reproduce the issue.
    What type of chart is this happening with?
    Kameralina
    Ask NI (ni.com/ask)
    Search The KnowledgeBase
    NI Developer Zone
    Measure It. Fix It. ni.com/greenengineering/
    NI Vision ni.com/vision/

  • Crystal Chart Legend Width

    Is there a way to set the width of a chart legend? I want to make it wider so the text doesn't wrap but when I grab the handles and stretch the box, it snaps back to the original width. I have XI R2.
    Thanks,
    Rob

    Please re-post if this is still an issue or purchase a case and have a dedicated support engineer work with you directly:
    http://store.businessobjects.com/store/bobjamer/DisplayProductByTypePage&parentCategoryID=&categoryID=11522300?resid=-Z5tUwoHAiwAAA8@NLgAAAAS&rests=1254701640551

  • Text in flash chart legend

    Hi- We are on APEX v3.1.2.00.02
    A flash chart has been created and works well, but here is my issue:
    In the Chart Series query, we have a select (here's a small piece) select total_rfc "Total R.F.C"
    When the chart is generated, the legend box appears as Total R.F.C (as seen in the above line).
    I really want it to say Total RFC (no periods). If I change the SQL query to "Total RFC", it appears as Total Rfc (2nd & 3rd letters are lower case).
    Anyone know how to fix this? I'm fairly new to APEX and I can't quite determine if this is a SQL or Flash issue.

    Hi "msnewman",
    The behaviour you are seeing is expected in APEX 3.1.2, and is due to the use of the Initcap function in the underlying logic, which is resulting in Legend values appearing with the initial letter in uppercase and the rest of the work in lowercase letters. When you remove the full stops from between R F and C, then the three letters are being picked up as one word, RFC, which will end up like Rfc after being updated by the Initcap function.
    In APEX 4.0, however, this is no longer an issue. With Flash 5 charts it is possible to display the value all in uppercase, as you can see in the Bar Chart example here: http://apex.oracle.com/pls/apex/f?p=36648:5. So if you are contemplating upgrading to APEX 4.0.2, our latest release, you would be able to take advantage of this change to the behaviour of the chart legend, as well as much nicer looking Flash charts.
    Regards,
    Hilary

  • SSRS 2008 - Chart Legend Missing Customitems property

    Hi,
    I'm currently in the process of converting my SSRS 2005 reports originaly designed with Dundas charts, to a SSRS 2008 report and facing an
    issue with the charts legend.
    Dundas Charts allows me to create custom legend items on a row, cell collection basis.
    After BIDS 2008 has converted the rdl-file everthing looks fine except the custom legend that I have created
    in the SSRS 2005 report. The legend items did not appear in the reports preview.
    I looked thru all the legend properties and read thru Formatting the Legend on a Chart (Report Builder
    and SSRS) 
    but still unable to locate the properties.
    Anyone encounters this issue and likes to share a workaround / solution?
    Thanks
    Bodo

    Hi Mike,
    I tried your workaround and it displays properly, but problem is with displaying the Line color. I'm using reportviewer in .Net 2008 and Line control doesn't contain any expression tab. Please help me with setting line color. Attached is RDLC in XML format.
    <?xml version="1.0" encoding="utf-8"?>
    <Report xmlns="http://schemas.microsoft.com/sqlserver/reporting/2005/01/reportdefinition" xmlns:rd="http://schemas.microsoft.com/SQLServer/reporting/reportdesigner">
    <DataSources>
    <DataSource Name="DummyDataSource">
    <rd:DataSourceID>51fc0fcb-b3fc-4dd4-9397-dfba551fc9df</rd:DataSourceID>
    <ConnectionProperties>
    <DataProvider>SQL</DataProvider>
    <ConnectString />
    </ConnectionProperties>
    </DataSource>
    </DataSources>
    <InteractiveHeight>11in</InteractiveHeight>
    <rd:DrawGrid>true</rd:DrawGrid>
    <InteractiveWidth>8.5in</InteractiveWidth>
    <rd:SnapToGrid>true</rd:SnapToGrid>
    <RightMargin>1in</RightMargin>
    <LeftMargin>1in</LeftMargin>
    <BottomMargin>1in</BottomMargin>
    <rd:ReportID>5dd5ca48-0cc1-46e3-aa1a-c65d468d7238</rd:ReportID>
    <DataSets>
    <DataSet Name="Item">
    <Fields>
    <Field Name="Event_ID">
    <DataField>Event_ID</DataField>
    <rd:TypeName>System.String</rd:TypeName>
    </Field>
    <Field Name="Category">
    <DataField>Category</DataField>
    <rd:TypeName>System.String</rd:TypeName>
    </Field>
    <Field Name="Country">
    <DataField>Country</DataField>
    <rd:TypeName>System.String</rd:TypeName>
    </Field>
    <Field Name="OrderQtr">
    <DataField>OrderQtr</DataField>
    <rd:TypeName>System.String</rd:TypeName>
    </Field>
    <Field Name="Count">
    <DataField>Count</DataField>
    <rd:TypeName>System.String</rd:TypeName>
    </Field>
    </Fields>
    <Query>
    <DataSourceName>DummyDataSource</DataSourceName>
    <CommandText>SELECT * FROM Item</CommandText>
    </Query>
    </DataSet>
    </DataSets>
    <Width>10.625in</Width>
    <Body>
    <ReportItems>
    <List Name="list1">
    <ZIndex>3</ZIndex>
    <Left>2.375in</Left>
    <DataSetName>Item</DataSetName>
    <ReportItems>
    <Matrix Name="matrix1">
    <MatrixColumns>
    <MatrixColumn>
    <Width>2.125in</Width>
    </MatrixColumn>
    </MatrixColumns>
    <RowGroupings>
    <RowGrouping>
    <Width>0.375in</Width>
    <DynamicRows>
    <Grouping Name="matrix1_ColumnGroup1">
    <GroupExpressions>
    <GroupExpression />
    </GroupExpressions>
    </Grouping>
    <ReportItems>
    <Rectangle Name="rectangle2">
    <ZIndex>1</ZIndex>
    <ReportItems>
    <Line Name="line2">
    <Top>0.1in</Top>
    <Width>0.285in</Width>
    <Style>
    <BorderStyle>
    <Default>Solid</Default>
    </BorderStyle>
    <BorderWidth>
    <Default>8pt</Default>
    </BorderWidth>
    </Style>
    <Left>0.06in</Left>
    <Height>0in</Height>
    </Line>
    </ReportItems>
    </Rectangle>
    </ReportItems>
    </DynamicRows>
    </RowGrouping>
    </RowGroupings>
    <ColumnGroupings>
    <ColumnGrouping>
    <Height>0.05in</Height>
    <DynamicColumns>
    <Grouping Name="matrix1_ColumnGroup2">
    <Label>=Fields!Category.Value</Label>
    <GroupExpressions>
    <GroupExpression>=Fields!Category.Value</GroupExpression>
    </GroupExpressions>
    </Grouping>
    <ReportItems>
    <Textbox Name="textbox3">
    <rd:DefaultName>textbox3</rd:DefaultName>
    <Style>
    <FontSize>9pt</FontSize>
    <PaddingLeft>2pt</PaddingLeft>
    <PaddingRight>2pt</PaddingRight>
    <PaddingTop>2pt</PaddingTop>
    <PaddingBottom>2pt</PaddingBottom>
    </Style>
    <ZIndex>2</ZIndex>
    <CanGrow>true</CanGrow>
    <Value />
    </Textbox>
    </ReportItems>
    </DynamicColumns>
    </ColumnGrouping>
    </ColumnGroupings>
    <Corner>
    <ReportItems>
    <Textbox Name="textbox2">
    <rd:DefaultName>textbox2</rd:DefaultName>
    <Style>
    <FontSize>9pt</FontSize>
    <PaddingLeft>2pt</PaddingLeft>
    <PaddingRight>2pt</PaddingRight>
    <PaddingTop>2pt</PaddingTop>
    <PaddingBottom>2pt</PaddingBottom>
    </Style>
    <ZIndex>3</ZIndex>
    <CanGrow>true</CanGrow>
    <Value />
    </Textbox>
    </ReportItems>
    </Corner>
    <MatrixRows>
    <MatrixRow>
    <Height>0.19in</Height>
    <MatrixCells>
    <MatrixCell>
    <ReportItems>
    <Textbox Name="textbox5">
    <rd:DefaultName>textbox5</rd:DefaultName>
    <Style>
    <FontSize>9pt</FontSize>
    <PaddingLeft>2pt</PaddingLeft>
    <PaddingRight>2pt</PaddingRight>
    <PaddingTop>2pt</PaddingTop>
    <PaddingBottom>2pt</PaddingBottom>
    <LineHeight>8pt</LineHeight>
    </Style>
    <CanGrow>true</CanGrow>
    <Value>=Fields!Category.Value</Value>
    </Textbox>
    </ReportItems>
    </MatrixCell>
    </MatrixCells>
    </MatrixRow>
    </MatrixRows>
    <Height>0.24in</Height>
    </Matrix>
    </ReportItems>
    <Top>4.25in</Top>
    <Width>2.5in</Width>
    <Grouping Name="list1_Details_Group">
    <GroupExpressions>
    <GroupExpression>=Fields!Category.Value</GroupExpression>
    </GroupExpressions>
    </Grouping>
    <Height>0.25in</Height>
    </List>
    <Chart Name="chart2">
    <Legend>
    <Visible>true</Visible>
    <Style>
    <BorderStyle>
    <Default>Solid</Default>
    </BorderStyle>
    <BorderWidth>
    <Default>0.5pt</Default>
    </BorderWidth>
    </Style>
    <Position>RightCenter</Position>
    </Legend>
    <CategoryAxis>
    <Axis>
    <Title />
    <MajorGridLines>
    <Style>
    <BorderStyle>
    <Default>Solid</Default>
    </BorderStyle>
    </Style>
    </MajorGridLines>
    <MinorGridLines>
    <Style>
    <BorderStyle>
    <Default>Solid</Default>
    </BorderStyle>
    </Style>
    </MinorGridLines>
    <MajorTickMarks>Outside</MajorTickMarks>
    <Min>0</Min>
    <Visible>true</Visible>
    </Axis>
    </CategoryAxis>
    <ZIndex>2</ZIndex>
    <DataSetName>Item</DataSetName>
    <PlotArea>
    <Style>
    <BackgroundColor>LightGrey</BackgroundColor>
    <BorderStyle>
    <Default>Solid</Default>
    </BorderStyle>
    </Style>
    </PlotArea>
    <ThreeDProperties>
    <Enabled>true</Enabled>
    <Rotation>30</Rotation>
    <Inclination>30</Inclination>
    <Shading>Simple</Shading>
    <WallThickness>50</WallThickness>
    </ThreeDProperties>
    <PointWidth>0</PointWidth>
    <SeriesGroupings>
    <SeriesGrouping>
    <StaticSeries>
    <StaticMember>
    <Label>Value1</Label>
    </StaticMember>
    </StaticSeries>
    </SeriesGrouping>
    </SeriesGroupings>
    <Top>0.75in</Top>
    <Subtype>Plain</Subtype>
    <ValueAxis>
    <Axis>
    <Title />
    <MajorGridLines>
    <ShowGridLines>true</ShowGridLines>
    <Style>
    <BorderStyle>
    <Default>Solid</Default>
    </BorderStyle>
    </Style>
    </MajorGridLines>
    <MinorGridLines>
    <Style>
    <BorderStyle>
    <Default>Solid</Default>
    </BorderStyle>
    </Style>
    </MinorGridLines>
    <MajorTickMarks>Outside</MajorTickMarks>
    <Min>0</Min>
    <Margin>true</Margin>
    <Visible>true</Visible>
    <Scalar>true</Scalar>
    </Axis>
    </ValueAxis>
    <Type>Pie</Type>
    <Width>4.375in</Width>
    <CategoryGroupings>
    <CategoryGrouping>
    <DynamicCategories>
    <Grouping Name="chart2_CategoryGroup1">
    <GroupExpressions>
    <GroupExpression>=Fields!Country.Value</GroupExpression>
    </GroupExpressions>
    </Grouping>
    <Label>=Fields!Country.Value</Label>
    </DynamicCategories>
    </CategoryGrouping>
    </CategoryGroupings>
    <Palette>Default</Palette>
    <ChartData>
    <ChartSeries>
    <DataPoints>
    <DataPoint>
    <DataValues>
    <DataValue>
    <Value>=Count(Fields!Country.Value)</Value>
    </DataValue>
    </DataValues>
    <DataLabel>
    <Value>=Count(Fields!Country.Value)*Sum(Fields!Country.Value)/100 + "%"</Value>
    <Visible>true</Visible>
    </DataLabel>
    <Marker>
    <Size>6pt</Size>
    </Marker>
    </DataPoint>
    </DataPoints>
    </ChartSeries>
    </ChartData>
    <Style>
    <BackgroundColor>White</BackgroundColor>
    </Style>
    <Title>
    <Caption>Open Incident by Country</Caption>
    </Title>
    <Height>3.125in</Height>
    <Left>5.5in</Left>
    </Chart>
    <Chart Name="chart1">
    <Legend>
    <Visible>true</Visible>
    <Style>
    <BorderStyle>
    <Default>Solid</Default>
    </BorderStyle>
    <BorderWidth>
    <Default>0.5pt</Default>
    </BorderWidth>
    </Style>
    <Position>RightCenter</Position>
    </Legend>
    <CategoryAxis>
    <Axis>
    <Title />
    <MajorGridLines>
    <Style>
    <BorderStyle>
    <Default>Solid</Default>
    </BorderStyle>
    </Style>
    </MajorGridLines>
    <MinorGridLines>
    <Style>
    <BorderStyle>
    <Default>Solid</Default>
    </BorderStyle>
    </Style>
    </MinorGridLines>
    <MajorTickMarks>Outside</MajorTickMarks>
    <Min>0</Min>
    <Visible>true</Visible>
    </Axis>
    </CategoryAxis>
    <ZIndex>1</ZIndex>
    <DataSetName>Item</DataSetName>
    <PlotArea>
    <Style>
    <BackgroundColor>LightGrey</BackgroundColor>
    <BorderStyle>
    <Default>Solid</Default>
    </BorderStyle>
    </Style>
    </PlotArea>
    <ThreeDProperties>
    <Enabled>true</Enabled>
    <Rotation>30</Rotation>
    <Inclination>30</Inclination>
    <Shading>Simple</Shading>
    <WallThickness>50</WallThickness>
    </ThreeDProperties>
    <PointWidth>0</PointWidth>
    <SeriesGroupings>
    <SeriesGrouping>
    <StaticSeries>
    <StaticMember>
    <Label>Value1</Label>
    </StaticMember>
    </StaticSeries>
    </SeriesGrouping>
    </SeriesGroupings>
    <Top>0.75in</Top>
    <Subtype>Plain</Subtype>
    <ValueAxis>
    <Axis>
    <Title />
    <MajorGridLines>
    <ShowGridLines>true</ShowGridLines>
    <Style>
    <BorderStyle>
    <Default>Solid</Default>
    </BorderStyle>
    </Style>
    </MajorGridLines>
    <MinorGridLines>
    <Style>
    <BorderStyle>
    <Default>Solid</Default>
    </BorderStyle>
    </Style>
    </MinorGridLines>
    <MajorTickMarks>Outside</MajorTickMarks>
    <Min>0</Min>
    <Margin>true</Margin>
    <Visible>true</Visible>
    <Scalar>true</Scalar>
    </Axis>
    </ValueAxis>
    <Type>Pie</Type>
    <Width>4.375in</Width>
    <CategoryGroupings>
    <CategoryGrouping>
    <DynamicCategories>
    <Grouping Name="chart1_CategoryGroup1">
    <GroupExpressions>
    <GroupExpression>=Fields!Category.Value</GroupExpression>
    </GroupExpressions>
    </Grouping>
    <Label>=Fields!Category.Value</Label>
    </DynamicCategories>
    </CategoryGrouping>
    </CategoryGroupings>
    <Palette>Default</Palette>
    <ChartData>
    <ChartSeries>
    <DataPoints>
    <DataPoint>
    <DataValues>
    <DataValue>
    <Value>=Count(Fields!Category.Value)</Value>
    </DataValue>
    </DataValues>
    <DataLabel>
    <Value>=Count(Fields!Category.Value)</Value>
    <Visible>true</Visible>
    </DataLabel>
    <Marker>
    <Size>6pt</Size>
    </Marker>
    </DataPoint>
    </DataPoints>
    </ChartSeries>
    </ChartData>
    <Style>
    <BackgroundColor>White</BackgroundColor>
    </Style>
    <Title>
    <Caption>Open Incident by Category</Caption>
    </Title>
    <Height>3.125in</Height>
    <Left>0.25in</Left>
    </Chart>
    <Textbox Name="textbox1">
    <rd:DefaultName>textbox1</rd:DefaultName>
    <Width>5in</Width>
    <Style>
    <Color>SteelBlue</Color>
    <FontFamily>Tahoma</FontFamily>
    <FontSize>20pt</FontSize>
    <FontWeight>700</FontWeight>
    <PaddingLeft>2pt</PaddingLeft>
    <PaddingRight>2pt</PaddingRight>
    <PaddingTop>2pt</PaddingTop>
    <PaddingBottom>2pt</PaddingBottom>
    </Style>
    <CanGrow>true</CanGrow>
    <Height>0.36in</Height>
    <Value>Report1</Value>
    </Textbox>
    </ReportItems>
    <Height>5.625in</Height>
    </Body>
    <Language>en-US</Language>
    <TopMargin>1in</TopMargin>
    </Report>
    Thanks,
    Prem
    Prem

  • CRVS2010 beta - chart legend

    Hello,
    I created a pie chart with a legend. Usually, when the legend has percents, the last row on the legend has the word "Total" and a percent. The legend has what looks like a field name with underscores.
    I right-clicked on the chart and selected chart options - - > general.
    Everything on the dialog box has something like "_e_[field name]".
    on the chart options submenu, the template and titles options dialog boxes also have the same issue.
    Is there some option that I need to change for the dialog box and the title field on the legend to change or is this a bug in the beta version?
    I searched this forum for a solution but did not find anything.
    Any help would be greatly appreciated.
    Thank you.
    Edited by: training 2go on Jun 15, 2010 3:31 PM

    Hi Ludek,
    I am happy to hear that the chart legend is scheduled to be fixed.
    This one was a little scary, because it worked in the prior version of crvs. At first, I thought that there was something wrong with my beta 1 installation.
    I didn't realize that the chart component was 3rd party.
    thank you
    Tracy

  • 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

  • Custom Formatting Of Chart Legends

    I've been playing with Flex Charting, and I have lots of nice
    looking graphs that I've created from database feeds. However, what
    I really want to know how to do is format the chart legend better.
    For example I have a pie chart that has about 50 different data
    items/series and the legend is huge in either horizontal or
    vertical mode it prints all the way down the page. How can I make
    it two, three or more columns?

    Hi Justin,
    I think, there is no way to do such a customization with the standard Javadoc (i.e. powered by the Standard Doclet).
    After all, the job of the standard Javadoc is doing standard (general) things and I just cannot imagine any general rule (setting or option) that would embrace all kinds of possible customizations about displaying of annotations.
    So, the only way in your situation would be to modify the doclet itself. You can try tweaking the standard doclet: overload some its classes or change sources (according to the license they provide). However, I just can say, that way proved to have lots of limitations.
    Fortunately, I could suggest you a different rote that would allow you solving your problem in a few minutes. We have a product called "DocFlex/Javadoc":
    http://www.filigris.com/products/docflex_javadoc/
    This is a highly customizable Javadoc doclet. More exactly, this is a system for rapid development of professional quality doclets (with the support of both framed/single-file HTML and RTF output).
    With that tool, the generation of every sort of Javadoc output is programmed in special templates (using graphic Template Designer). The product is provided with the "standard template set" that generates the HTML Java API documentation very similar to the standard Javadoc.
    In fact, to solve you task, you will need to modify a subtemplate called "annotations.tpl". See on this page: http://www.filigris.com/products/docflex_javadoc/templates.php
    If you are interested about all this, we could help you to modify the necessary template absolutely free. Then, you will need only to buy a full product license to have everything work without limitations and that will be all!
    So, if you are interested, please let us know by sending a e-mail to the address found on this page:
    http://www.filigris.com/company/contact.php
    Regards,
    Leonid Rudy
    http://www.docflex.com

  • Flash Chart Legend Problem

    Hi,
    Im having a problem with my flash chart legends in Apex3.0.
    I have changed the name of the Series to what i want to appear in my legend - however the legend just shows "Value" for all my Series.
    Does anyone else have this problem?
    Cheers,
    Immanuel

    Hello,
    I need a legend like this
    No of Clicks('000)
    If i give l" No of Clicks('000)" as column alias, chart says Error :No chart data available.
    If i give "No of Clicks('000')" or "No of Clicks(''000)" as column alias in the query, it displays the correct legend..
    Would anybody tell me how to show the legend like this
    No of Clicks('000)
    Regards,
    Archana

  • 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>

  • Pie chart legend showing digit "1" when we set "ignore blank cells"property

    All,
    We have pie chart in Xcelsius 2008 that shows the data with legend value and we have also set the ignore blank cells property to ignore the blank value from column. but once we set this property, it displays the digit "1" in the legend when there is no data.
    we are expecting that nothing should be displayed in pie chart legend when there is no data for the pie chart.
    Thanks,
    Sourabh

    hi Sourabh,
    I could replicate your scenario.
    Workaround is to create a duplicate of this chart. Go to properties of this new chart.
    Go to Appearance ->
    Uncheck
    - Legend
    - Mouse-over values
    - Data Labels
    for this chart.
    Write a logic in excel using 'IF' to verify if your data is empty.
    Use 'Dynamic Visibility' feature to display this chart only when your data is empty.
    Display your original chart if your data is not empty.
    Regards,
    Vamsee

  • SSRS Hide one data value label in chart legend

    Is it possible  to hide one value in the legend? I've got a stacked bar chart, but there's one value that I don't want to display in the Legend. Is it possible to hide this particular color and label in the legend?
    Thanks,
    Chris

    Hi Chris,
    Yes. In Reporting Services 2005, you could add a filter to hide one value label in the chart legend. This can be done with the following instructions:
    In Report Designer, open the chart properties dialog box and go to Data tab.
    Double click the item in the Series groups to open the Grouping and Sorting Properties dialog box.
    Switch to the Filter tab. Add a filter using the following setting:
    Expression: =Fields!<FieldName>.value
    Operaiton: !=
    Value: =”value”
    If you have any further questions, please let me know.
    Thanks.
    ***Xiao Min Tan***Microsoft Online Community***

  • Chart Legend order

    Hi All,
    I have created a chart ( line chart ) that shows trends. The egend shows up in alphabetical order which is fine but it does not match with the order of lines in chart which is confusing. Can someone please help me if there is any workaround to aligh legend value order with lines in chart.

    HI,
    Please try the below this worked for me:
    Right click on Chart and Select u201CChart Expertu201D -> u201CDatau201D tab.
    Select the field from u201COn Change Of Fieldu201D
    Then u201COrderu201D button will enable.
    Click on the u201COrderu201C Button , it will opens u201CChart Sort Orderu201D window.
    From the Drop down box select any one of the Sort Order.
    It will reflect on your chart legends.
    Also you can follow the below Forum posting:
    http://forums.sdn.sap.com/thread.jspa?messageID=11036283#11036283
    Cheers,
    Kiran
    Edited by: Kiran Suravajhala on Feb 24, 2012 3:41 PM

Maybe you are looking for