Custom sorting chart legend

Hi all,
i've got a chart, but want to customize the sorting from the legend fields with a "fixed" colour for a value.
regards,
Osman
Edited by: Ossy81 on Sep 7, 2010 5:23 PM

I've got a vertical bar (stacked) chart. I also want to change the order in the graph. Now it shows in 1 bar in this order:
basic
season basic
season fashionIf you want to change the order then you need to change the order in criteria tab itself.
And want to give a value a fixed colour. E.g. Basic should be red and Season Basic Green etc.You can do this by clicking on fifth icon from left in chart properties(Format chart data).Uncheck use default checkbox and pick colour accordingly.
Hope this helps.
Thanks
Sandeep

Similar Messages

  • Sorting Chart Legend

    I have a report with both a table view and a chart view of monthly aggregate opportunity revenues.
    Got a request to sort the bar chart view entries by product.
    I followed forum advice sorting on a column non-alphabetically, using a hidden Product Category field to sort my products by machine size with this CASE statement:
    CASE
    WHEN ("Product Category"."Parent Product"='SPICA') THEN 1
    WHEN ("Product Category"."Parent Product"='NL28') THEN 2
    WHEN ("Product Category"."Parent Product"='NL28P') THEN 3
    WHEN ("Product Category"."Parent Product"='L28') THEN 4
    WHEN ("Product Category"."Parent Product"='L28P') THEN 5
    WHEN ("Product Category"."Parent Product"='LS29') THEN 6
    WHEN ("Product Category"."Parent Product"='LS29P') THEN 7
    WHEN ("Product Category"."Parent Product"='LSX29') THEN 8
    WHEN ("Product Category"."Parent Product"='L40') THEN 9
    WHEN ("Product Category"."Parent Product"='L40P') THEN 10
    WHEN ("Product Category"."Parent Product"='L40SP') THEN 11
    WHEN ("Product Category"."Parent Product"='LS40') THEN 12
    WHEN ("Product Category"."Parent Product"='LS40P') THEN 13
    WHEN ("Product Category"."Parent Product"='LS40SP') THEN 14
    WHEN ("Product Category"."Parent Product"='LSX40') THEN 15
    WHEN ("Product Category"."Parent Product"='LSX40RP') THEN 16
    WHEN ("Product Category"."Parent Product"='LS44') THEN 17
    WHEN ("Product Category"."Parent Product"='Web') THEN 18
    WHEN ("Product Category"."Parent Product"='Chambon') THEN 19
    ELSE 0
    END
    Sorts great...in the table. But the legend is sorting in its own goofy way. Once I added that column, the legend sorted a little differently but still is in the wrong order, based on the products:
    Unspecified (always shows at the top of the legend: because of ELSE 0?)
    LSX529C (Category = LSX29)
    LS540C (LS40)
    LS840P (LS40)
    LS840PC (LS40)
    LS629PC (LS29P)--out of order, should be before the first item
    L640C (L40)--out of order
    LS640C (LS40)--out of order
    Chambon (Chambon)
    I checked each of the entries and see they are properly Categorized in the Content Managemetn > Products area.
    Anyone have any tips on getting the legend (and thus the cylinder segments) to sort properly or what might be happening here?
    Thanks
    Andy
    Edited by: ARK2 on Dec 17, 2010 7:04 AM

    Y = Opportunity Revenue
    X = Month
    The report is a 4-month forecast, but not using built-in Forecasting that CRMOD uses; this report uses the Forecast checkbox in an opportunity to determine if the oppty should be on the forecast report, then grabs the overall Oppty Revenue from that same region of the Oppty (not using line/Product level revenue field).
    The report uses a table and above that a chart with 3D cylindrical output where each press model (derived from a field in the Oppty header) is a different color (I'm letting Analysis defaults set the colors for each product).
    My boss wants to sort the colors from smallest model size to largest model size for consistency sake and to make the chart easier to comprehend with a glance.
    Is this even possible? I could see sorting by revenue size, but that's not always the best indicator (as some used larger presses may sell for less than new smaller ones).
    Any ideas?
    Thanks,
    Andy

  • 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

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

  • 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

  • Arranging Chart Legend Items

    Is there a way to change the sort or arrangement of items in a chart legend? I am doing a simple stacked bar chart with 2 measures - % Pass and % Fail (for a school system), but it always shows % Fail as the first item in the legend. I would like to show % Pass first...is there any way?
    Thanks

    hi,
    We can do using combine with similar request
    Col A Col B '%Pass' 1--Req 1
    Col A Col B '%Fail' 2 --Req 2
    Asc order on numbers(1,2) .So that the legends will come %pass and %fail try it in pivot table
    I didn't tried this but i hope it ll work...All the best
    thanks,
    saichand.v

  • Chart legend too wide when using horizontal layout

    I am using a flex chart with about 15 series on it. I've set
    the legend direction variable to "horizontal". However since the
    panel width which contains the chart is fixed, the legend sprawls
    out to the right instead of going "wrapping around" nicely to stay
    within the panel. As a result, you can't read the whole legend when
    looking at the chart. The chart itself stays the proper width, but
    the legend is too wide and can only be seen via using the scrollbar
    to move horizontally. How can that be fixed?

    Solerous, you must create a custom legend. Here's an example
    that uses a grid to lay out the individual grid items. If you have
    a variable number of series, then you can probably come up with
    better logic for laying out the legend, but this should help get
    you going.
    hth,
    matt horn
    flex docs
    <?xml version="1.0"?>
    <!-- charts/CustomLegendInActionScript.mxml -->
    <mx:Application xmlns:mx="
    http://www.adobe.com/2006/mxml"
    backgroundColor="white" creationComplete="init()">
    <mx:Script><![CDATA[
    import mx.containers.GridItem;
    import mx.containers.GridRow;
    import mx.graphics.SolidColor;
    import mx.graphics.IFill;
    import mx.charts.LegendItem;
    import mx.charts.Legend;
    import mx.collections.ArrayCollection;
    [Bindable]
    public var expenses:ArrayCollection = new ArrayCollection([
    {Expense:"Taxes", April:2000, May:321, June:131, July:1100,
    August:200, September:1400, October:42},
    {Expense:"Rent", April:1000, May:95, June:313, July:600,
    August:400, September:200, October:52},
    {Expense:"Taxes", April:2000, May:321, June:131, July:90,
    August:500, September:900, October:300},
    {Expense:"Bills", April:100, May:478, June:841, July:400,
    August:600, September:1100, October:150}
    private function init():void {
    for (var i:int = 0; i < myChart.series.length; i++) {
    var li:LegendItem = new LegendItem();
    li.label = myChart.series
    .displayName;
    var sc:SolidColor = myChart.series.getStyle("fill");
    li.setStyle("fill", sc);
    var gi:GridItem = new GridItem();
    if (i < 3) {
    // First row
    gi.addChild(li);
    gr1.addChild(gi);
    } else if (i >= 3 && i < 6) {
    // Second row
    gi.addChild(li);
    gr2.addChild(gi);
    } else if (i >= 6) {
    // Third row
    gi.addChild(li);
    gr3.addChild(gi);
    ]]></mx:Script>
    <mx:Panel title="Bar Chart with Legend" width="500"
    height="600">
    <mx:BarChart id="myChart" dataProvider="{expenses}"
    height="400" showDataTips="true">
    <mx:verticalAxis>
    <mx:CategoryAxis
    dataProvider="{expenses}"
    categoryField="Expense"
    />
    </mx:verticalAxis>
    <mx:series>
    <mx:BarSeries xField="April" displayName="April (in
    $USD)"/>
    <mx:BarSeries
    xField="May"
    displayName="May (in $USD)"
    />
    <mx:BarSeries
    xField="June"
    displayName="June (in $USD)"
    />
    <mx:BarSeries
    xField="July"
    displayName="July (in $USD)"
    />
    <mx:BarSeries
    xField="August"
    displayName="August (in $USD)"
    />
    <mx:BarSeries
    xField="September"
    displayName="September (in $USD)"
    />
    <mx:BarSeries
    xField="October"
    displayName="October (in $USD)"
    />
    </mx:series>
    </mx:BarChart>
    <mx:Grid id="myGrid">
    <mx:GridRow id="gr1">
    </mx:GridRow>
    <mx:GridRow id="gr2">
    </mx:GridRow>
    <mx:GridRow id="gr3">
    </mx:GridRow>
    </mx:Grid>
    </mx:Panel>
    </mx:Application>

  • 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

  • Issue on sorting the legend

    Hi guru's
    Im trying to sort the legend for vertical stacked chart and seems it doesn't work.
    The color order on the vertical stacked bars are oppositely shown , when compared to legend.
    For example : If a legend shows green on top of the legend(1st) the green appers at the bottom in vertical chart. 
    Thanks in advance..

    Check this post
    Bar-Line chart sorting
    If helps pls mark also update with your solution that helps other :)

  • 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

  • Apex 3.1 and Custom Flash Charts

    I am having difficulty getting to the point where my custom flash charts can be displayed. I have Oracle 10.2, over OHS to Apex 3.1. I cannot post any of the config files or code here because it is a different network, so I realize it will be hard to troubleshoot; and I apologize in advance.
    I would use the canned Flash charts, but my application displays data much like MS Outlook's multi-user calendar does. The chart has to be color coded, similar to Outlook's Busy vs Tentative etc. It has to show multiple events at various times, including overlapping times. And it has to handle schedules for multiple people. Lastly, there are of course gaps in the schedule, because no day is comprised entirely of meetings. That is why I felt I had to do it manually.
    I wrote XML/SVG code to do this previously, with HTML DB 1.5, and it worked fine. But Flash is the way we are going now, and I can't use SVG anymore. (Besides, Adobe says SVG will no longer be supported next year.)
    I followed the thread of April 07 in which MAdelfio posted suggestions, but I can't get it right. I did everything listed except I never included the <data>...</data> code, because I am not sure where it goes. I have a custom written stored proc, exactly like in the thread, and I pass it all the args that apex_util.flash wants. I get a malformed XML message when I try to display the chart. That seems like it should be a very straight forward error, but I can't figure out where to look. I have been using 1.5 for about a year, and last month upgraded to 3.1.
    Any suggestions on how to troubleshoot this? Or, failing that, any simple examples that display Flash charts in which the code was generated by a stored procedure?
    Thanks,
    Michael

    I'm sorry about not being able to provide all the info you need. Since it is on a totally separate network, with no access to the outside world, the only way I can do it is to print and retype everything. So I was hoping that someone could just provide suggestions as to where to look rather than providing answers. I understand that it is impossible for you to solve my problems, especially when you have been given no real information. And I don't want to keep you guessing -- I'd love to be able to just show everything and ask for help; I just can't.
    Anyway, I am trying to use only those facilities provided with Apex. I do not have any 3rd party tools except for Perl. I am using the standard shockwave flash plugin for Mozilla. The way I did it with SVG was to create a stored procedure that generated an XML file. I put a button on the page that ran the stored proc and then redisplayed the page, with an HTML region. That region included an iframe, where the source was a perl script that merely regurgitated the SVG script (for some reason I could not get the iframe to accept XML as a source, so I created send_svg.pl, which merely outputted the named SVG file).
    The format I followed was in this thread: Re: Custom Flash Charts
    I even created a replacement proc for APEX_UTIL.FLASH with the exact output as the thread, knowing that even if it worked I'd still have a ton of work making it produce my chart. But once I can get the infrastructure right, I feel I can write the flash XML.
    Maybe the easiest thing is to scan that thread I referenced and tell me if it is still accurate? That is, could anything have changed in 3.0.1, or should it still work? It is possible, maybe even likely, that I made a mistake retyping all that stuff, so maybe just verifying that it SHOULD work is a good start.
    Thanks again, and sorry again.
    Michael

  • Custom Sort of Duplicated row walues in Webi based on SAP BW Universe

    It is a duplicate thread i have already posted in Integration kits - SAP section.
    This is regarding custom sorting of row value which are duplicated in Webi which is based on SAP BW Universe.
    I have created Webi Report based on Characteristic structure. Using Alerter I provide some space for child node to notify it as child node below a parent node.
    Please see a sample table below:
    AAAA
    onpeak
    midpeak
    offpeak
    BBBB
    onpeak
    midpeak
    offpeak.
    If I enable Avoid duplicate row aggregation, i will be able to see duplicate rows for "onpeak" etc. Since Webi does a default sorting, I have to make a custom sort to replicate the structure followed. And in custom sort i dont see duplicated rows, and i see only one "onpeak". Accordingly if I try to sort using custom sort, then the result will be
    AAAA
    onpeak
    onpeak
    midpeak
    midpeak
    offpeak
    offpeak
    BBBB.
    Please let me know if anyone has any solution for this.
    I have already created report with modifying the row names in backend by adding letter before its value for example "1offpeak" for the duplicated row and then removing the letter "1" in webi using substring. But i know this is the crude way of doing it.

    I have changed the naming convention in BI structure by introducing a white space before the name to avoid duplication and used it in report. Not a good solution anyway.

  • 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

  • Reporting Services Chart Legend Label

    I am creating a chart from analysis services cube data
    data is like this
    District            Year          Value
    A                    2001          10
    B                    2002          29
    (null)              2003           19
    The charts are creating fine but the legends are not showing fine. In series group i have also tried to use an expression to fix the null label.
    For null value the label is created as "Series 1". I don't want this to happen. for null value i want my chart legend to show as "State"
    Any help will be appriciated
    Regards

    Hi,
    You can use expression to achieve that. In series group, set the group on expression to be:
    =iif(Fields!<District>.Value is nothing, “State”, Fields!<District>.Value)
    Also, set the label expression to be:
    =iif(Fields!<District>.Value is nothing, “State”, Fields!<District>.Value)
    Hope this helps.
    Raymond

Maybe you are looking for

  • Mac iTunes won't sync to iPhone/iPad for voice memos

    I got my voice memo from iPhone into mac iTunes music list.  Now it won't sync back updating iPhone iTunes with it even though i have checked  include voice memos.  Same with iPad.  Help???

  • Payment Means - Bank Transfer

    In SAP 8.8, we recorded a bank transfer incoming payment from one Business Partner for a partocular Sales Order. This is under Banking > Incoming Payments. When I open that Sales Order transaction, I clicked on 'Payment Means' icon and go to 'Bank Tr

  • Special G/L Posting

    Hello, When i am making special g/l entry in the system for loan repayment, at that time system is showing following errer :- "Account is not a Reconciliation Account for Account Type 913313127 K" How can i assign this account to above mention reconc

  • What is error code -43

    Receiving error code -43 on Finder when attempting operations like change file name and retrieve file.  Does anyone know the source of this problem or what can be done to fix it?

  • Semaphores in LV 5.1 ?? across different processes??

    Urgent! I have a very large and complex application, which I need to build into an executable. I need to have data from one or more files, which this exe writes periodically, available to another separate application. I need to protect the file from