Urgent: Combination of stacked bar chart and line chart

Hi,
I have the following request: First I need series depending on the year (no problem) and two stacks for each series (first problem). Now I need two line, line 1 for total of stack 1 and line 2 for total of stack 2. Both lines should have a label showing the difference from one to next series in percent.
Can something like this be done in BI Publisher. I got an excel sheet with such a chart, so it is possible there. Any templates, hints or tipps?
I need this very urgent because it's the main report of my project. So if this is not working I can stop the project and have to find another reporting tool.
Thanks
chrissy
Message was edited by:
chrissy

I've made again some tests by myself and recognized that there's something strange in the chart.
When I create a stacked bar chart with values of DURATION, labels for TYPE_NAME and series of YEAR the first thing is, that it is not ordered. So how can this be done?
The second error, is hard to explain ...
Let's say I've the following values:
        Type1     Type2     Type3
2005    1            2             3
2006    4            5             6
2007    7            8             9I would expect the following chart:
2005     2006     2007
1             4          7            Type1
2             5          8            Type2
3             6          9            Type3But the chart shows me the following:
2005     2006     2007
1             7          4            Type1
5             2          8            Type2
3             6          9            Type3You can see, the values are totally mixed, the code of the chart is the following:
chart:
<Graph seriesEffect="SE_AUTO_GRADIENT" graphType="BAR_VERT_STACK">
<Title text="" visible="true" horizontalAlignment="CENTER"/>
<MarkerText visible="true" markerTextPlace="MTP_CENTER" />
<LocalGridData colCount="{count(xdoxslt:group(.//ROW,  'YEAR'))}" rowCount="{count(xdoxslt:group(.//ROW,  'TYPE_NAME'))}">
<RowLabels>
<xsl:for-each-group xmlns:xsl="http://www.w3.org/1999/XSL/Transform" select=".//ROW" group-by="TYPE_NAME">
<Label>
<xsl:value-of select="current-group()/TYPE_NAME"/>
</Label>
</xsl:for-each-group>
</RowLabels>
<ColLabels>
<xsl:for-each-group xmlns:xsl="http://www.w3.org/1999/XSL/Transform" select=".//ROW" group-by="YEAR">
<Label>
<xsl:value-of select="current-group()/YEAR"/>
</Label>
</xsl:for-each-group>
</ColLabels>
<DataValues>
<xsl:for-each-group xmlns:xsl="http://www.w3.org/1999/XSL/Transform" select=".//ROW" group-by="TYPE_NAME">
<RowData>
<xsl:for-each-group select="current-group()" group-by="YEAR">
<Cell>
<xsl:value-of select="sum(current-group()/DURATION)"/>
</Cell>
</xsl:for-each-group>
</RowData>
</xsl:for-each-group>
</DataValues>
</LocalGridData>
</Graph>Otherwise I had made the following to have a stacked bar for duration and one for outage:
chart:
<Graph seriesEffect="SE_AUTO_GRADIENT" graphType="BAR_VERT_STACK">
<Title text="" visible="true" horizontalAlignment="CENTER"/>
<LocalGridData colCount="{count(xdoxslt:group(.//ROW,  'YEAR')) * 2}" rowCount="{count(xdoxslt:group(.//ROW,  'TYPE_NAME'))}">
<RowLabels>
<xsl:for-each-group xmlns:xsl="http://www.w3.org/1999/XSL/Transform" select=".//ROW" group-by="TYPE_NAME">
<Label>
<xsl:value-of select="current-group()/TYPE_NAME"/>
</Label>
</xsl:for-each-group>
</RowLabels>
<ColLabels>
<xsl:for-each-group xmlns:xsl="http://www.w3.org/1999/XSL/Transform" select=".//ROW" group-by="YEAR">
<xsl:sort select="YEAR"/>
<Label>
<xsl:value-of select="current-group()/YEAR"/>
</Label>
<Label />
</xsl:for-each-group>
</ColLabels>
<DataValues>
<xsl:for-each-group xmlns:xsl="http://www.w3.org/1999/XSL/Transform" select=".//ROW" group-by="TYPE_NAME">
<RowData>
<xsl:for-each-group select="current-group()" group-by="YEAR">
<Cell>
<xsl:value-of select="sum(current-group()/DURATION)"/>
</Cell>
<Cell>
<xsl:value-of select="sum(current-group()/OUTAGE)"/>
</Cell>
</xsl:for-each-group>
</RowData>
</xsl:for-each-group>
</DataValues>
</LocalGridData>
</Graph>The only thing I miss is a label for each stack, what is shown (so duration or outage) and of course the line.
Thanks for any help
chrissy

Similar Messages

  • Bar chart and Line chart in a single chart??

    Hello,
    Was wondering if there is any way to create a bar chart and line chart in a single Flash or SVG chart? If not, are there any plans to introduce such a chart type in the future releases?
    Regards,
    Dev

    Dev,
    I don't think you can do that using standard Flash or SVG. However, you can do this
    using my XML Chart Package
    http://htmldb.oracle.com/pls/otn/f?p=31517:58
    and the instructions given on
    http://www.maani.us/xml_charts/index.php?menu=Gallery&submenu=Composite
    You can modify the package to do that for you.
    Denes Kubicek
    http://deneskubicek.blogspot.com/
    http://htmldb.oracle.com/pls/otn/f?p=31517:1
    -------------------------------------------------------------------

  • Code regarding Pie Chart, Bar Chart and Line Chart

    Anybody having code for Pie chart, Bar chart and Line chart.......?

    You may try jfreechart, jgraph,etc
    here is the link for more java graphics software : http://www.kidslovepc.com/graphic-design/graphic-design-softwares.php

  • How to combine Area chart and Line chart?

    Hi,
    I have to display Area chart with the Line chart in one graph.
    How can i do that,
    Please suggest.

    Pretty easy, just add series to your chart
    http://forums.arcgis.com/threads/73636-How-to-combine-line-chart-and-stacked-column-chart
    Dany

  • Xcelsius Drill Down With Column and Line Chart

    Hi Guys,
    I am working on an Xcelsius 2008 Dashboard. I would like to integrate two charts, a column and a line chart. The column chart is supposed to show the results for each quarter. With a selector it changes the view and name of the different numbers.
    Then I would like to enable the drill down so that I can see the results for the three months of the corresponding quarter in the line chart. Is that somehow possible? I am totally lost. Thanks for your help.
    Kind Regards,
    Maurice

    Hi Maurice,
    You cannot integrate a column chart and line chart to make drill down possible. You could drill down a column chart to show the values in another chart bt that would be just two different charts and not an integrated one.
    Regrads,
    Anju Saseendran

  • Combination stacked bar and line chart

    Post Author: jl07
    CA Forum: WebIntelligence Reporting
    Is there a way to create a combination stacked bar and line chart in Web Intelligence XI R2 reports?
    This can be done in Excel and I'm thinking that it should be possible in WebI reports too.
    Thanks

    Post Author: jsanzone
    CA Forum: WebIntelligence Reporting
    JL07:
    This capability is not currently available in WebI (though it is available in Crystal).  Last fall I submitted this as an enhancement request.  It is being tracked under the following enhancement request:  ADAPT00676609 u2013 for the stacked bar chart, line graph issue.

  • Stacked Bar chart and Line graphs

    I have a report in Crystal which has stacked bar chart and a line graph together in one report.
    Is it possible to do the same thing in WebI . Can anybody share the experience.

    Today you can only have a simple bar (not stacked) and line chart in Web Intelligence.  We are looking to improve charts in the future.  In the meantime you can look into the masher from the labs...

  • Cfchart yaxis scale is wrong when combining bar and line charts

    Hi, I am trying to combine a bar and line chart ti display data.  Everything looks good except that the yaxis scale is off.  I set the scaleMin to 0 but that doesn't help.  Below is my code, the custom XML style and a screen shot.  My ultimate goal is to get the yaxis to start at 0, not -1,000 as is currently the case.  I have combined this data with each set represented as bar charts and do not have this problem.  It must be the combo of bar and line charts together.  Any assistance is most appreciated.
    <cfchart title = "#variables.ReportName# Seedlings Ordered"
        style = "../SO_R_overall.xml"
        Format = "PNG"
        pieSliceStyle = "solid"
        show3D = "no"
        showBorder = "yes"
        showLegend = "yes"
        tipStyle = "MouseOver"
        chartHeight = "#DefinedChartHeight#"
         chartWidth = "#DefinedChartWidth#"
        font="arial"
        fontsize="12"
        fontBold="yes"
        scaleFrom="0">
        <cfchartseries
            type="bar"
            seriesLabel="Goal"
            query="getDivisionGoalsByDivision"
            valueColumn="divisiongoal" 
            itemColumn = "division"
            dataLabelStyle="Value"
            seriesColor="99CCFF"
            >           
        </cfchartseries>   
        <cfchartseries
            type="line"
            seriesLabel="Ordered"
            query="getQTYordered"
            valueColumn="QTYordered" 
            itemColumn = "division"
            dataLabelStyle="Value"
            seriesColor="green"
            >           
        </cfchartseries>
    </cfchart>
    ***************** Custom Chart Style called *****************
    <?xml version="1.0" encoding="UTF-8"?>
    <frameChart is3D="false">
            <frame xDepth="3" yDepth="3" outline="#333333" lightColor="white"
            leftAxisPlacement="Front" rightAxisPlacement="Front" stripColor="#CCCCCC"/>
            <xAxis scaleMin="0">
                <labelStyle isHideOverlapped="false" orientation="Horizontal"/>
                <titleStyle font="Arial-10-bold" isMultiline="true">Division</titleStyle>
            </xAxis>
            <yAxis scaleMin="0">
                <titleStyle font="Arial-10-bold"/>
                <dateTimeStyle majorUnit="Year" minorUnit="Month"/>
                <labelFormat style="Pattern" pattern="#,##0"/>
            </yAxis>        
            <dataLabels font="Arial-10" foreground="black" autoControl="true"/>
            <legend>
                   <![CDATA[ $(rowLabel)  ]]>   
              </legend>
            <decoration style="RoundShadow"/>
            <popup background="#C8FFFFFF" foreground="#333333"/>
            <paint paint="Plain"/>
            <insets left="5" top="5" right="5" bottom="5"/>
    </frameChart>

    I should have also said that I am using 8.0 Pro.
    I want to have the output similar to an e-book.
    The issue (Sept-October of 19xx)
    Then the individual pages (bookmarked)

  • How to create a Power View bringing barchart and line chart together in same graph

    We are planning to create power view report that has bar and line charts on same graph. Could you please let us know whether it is feasible in Power View & how to add trend line in power view .
    Thanks,
    Sandeep.

    This is not possible with Power View. It is possible with Power BI (Online at PowerBI.com) See image below.
    Please vote or mark as answer if you found the response helpful.
    Regards, Avi
    www.powerpivotpro.com
    Wiki:How to ask a Power Pivot Question to get a prompt, accurate and helpful response

  • Bar chart and pie chart in same screen at a time

    hi experts,
    I am trying to display the bar chart and pie chart in two separate containers in same screen .I wrote code for this in PBO of screen by using the function module  GFW_PRES_SHOW , but it is showing one chart at a time which is lastly executed in the PBO.
    I need to display two charts in two container at a time by calling the same function modules two times first time for bar chart second time for pie chart by changing the  parameter 
    presentation_type      = 1 for bar chart
    presentation_type      = 31 for pie chart.
    please help me in this regard asap.
    Thanks,
    K.Rajesh.

    Hi..
    Instead of using the FMs .. you should use the Object oriented approach for the same.
    Brief steps:
    You should have 2 control areas and 2 containers.
    Define different instances of 2 controls and attach them to the 2 containers.
    Call individual methods to display the controls in PBO.
    This should show both at a time. It is really simple.
    As an example you can go to SE38. From the (sap) menu go to Environment -> Examples -> Control Examples.
    Here you will see lot of examples.
    Regards,
    Varun.

  • Crating bar graphs and pie charts

    hi every body
    in my application there is a need of bar graphs and pie charts can any body help me how to draw them

    try http://www.jfree.org/jfreechart/

  • How to combine a stacked bar chart and a line graph together in one report

    I have a report in excel that has stacked bar chart and a line graph together in one report. I am trying to recreate the same in Webi, Is this possible? Did any one have similar requirement, could you please share the thoughts?
    Thanks,
    Hema

    May be I don't understand correctly...
    But if its really to separate chart area's;
    just copy the datablock and format one as line and the other as barchart...
    Hope this helps,
    Marianne

  • Interactive Bar/pie chart and line graph, data from excel/text file -urgent

    Hi,
    I have a huge data in excell sheet which keeps updating every month. Data basically consists of service provider and there respective subscribers from various regions of the country over the years. The requirement is to give the viewers an interactive page where in they can make various combinations and can compare, cross examine data according to thier choice.
    We want the pie chart / bar graph or line graph to be created on the fly according to the combination made by the user.
    The site is hosted on a red hat linux server. how can a connection to the excel spreadsheet be made or is it possible to read from the text file if the entire data is exported to a text file.
    Is there any ready made tool/code available which can be customised according to the need.
    Thanx in advance
    Regards
    Prakash

    I certainly wouldn't pay for the graphing package at the previous link. check out http://www.object-refinery.com/jfreechart/ for a free, open-source, much better looking graphing package.

  • Bar Chart and Pie Chart

    Hi!
    In My application i want to create few bar and pie chart.
    If is there any code for generating bar and pie chart,
    pl send me.
    If third party software is available tell me the details of it.

    Sure, this functionality would be nice to have right
    out of the box, but when you think about it: should
    Sun be distributing a reporting SDK and promoting bad
    practices anyhow? Implementing your reporting in
    disparate and distributed manners is just plain messy
    and definitely translates to a bad practice. Turning
    to a centralized reporting mechanism, driven by a
    reporting server that can handle the needs for 80% of
    your requirements is a helluva lot more thoughtful and
    mindful than implementing separate mini reporting
    engines encapsulated within each and every application
    that you deploy.Elegantly stated! On a practical point, my company built an Enterprised based reporting solution on top of Java technology within the windows environment (please be kind). Specifically we used Java, ASP and Javascript (no VBScript), and delivered the information using the Microsoft IE 4 and 5.
    However, since Microsoft chose to elminate Java from it's current browser (IE6), we have to throw two years of coding away. We are now in the process of moving backward (technically speaking) to a desktop reporting model using Java (no browser technology) that accesses an Enterprise database, or embedded Java database. None of our customers are using Netscape, so that was never an option. Microsoft's and Sun's inablity to cooperate almost decimated our company's product line (and it still may).
    So I agree with you that an Enterprise server based reporting solution is the best architecture, and yet here I am running away from it after a two year struggle with competing standards. Sometimes the best solution loses for reasons that are simply not technical in nature.

  • HT3347 Scatter and line charts - multiple series?

    Is there a way of having more than 1 series on a scatter chart, or a way of removing the line in a line chart, leaving only the data points?

    you have control over many aspects of how a chart is presented through the Charts inspector.  You can open the Inspector by selecting the menu item "View > Show Inspector" OR click the Inspector button in the toolbar:
    You can adjust the number of series in a scatter chart by clicking the chart, then changing the highlighted area in the data tables by grabbing the circle at the bottom right of the data and dragging as needed to add or remove data:
    Finally, with the inspector open, you can change many aspects of the chart:
    There is a Free Users Guide which you can download from:
    http://support.apple.com/manuals/#productivitysoftware

Maybe you are looking for

  • How can I install beacons in a place?

    Hi, is there an "easy way" to install beacons in a place and set them without using third-party services like these ones: http://www.fosbury.co/beacon-comparison Thank you for your info Eric

  • What kind of security is there to protect access to backup data?

    Hi, I was wondering if the is any security in place (data encryption?) to prevent someone to restore data he should not have access to? Ie: If I have two Mac in the house (let's assume they are the exact same model). If all files of MacA are saved by

  • Possible solution to slow backup... Delete NY Times App

    Hopefully this will help others that are experiencing slow sync of their iPhone. I was having to wait 15-20 minutes to have the phone backup every time I sync'ed the phone. I have about 35 apps on the phone but once I removed the NY Times app the spe

  • FileDialog still shows up several times after hitting cancel

    If I hit cancel for the fist time in my FileDialog the dialog disappears, everything fine so far. But if I go back to the same FileDialog later and hit cancel again, there is an other FileDialog behind it. If I go back the third time there are 2 File

  • What Applications work on a Power Mac?

    Hi there, I recently tryed installing Final Cut Stuido and Vmware Fusion 4.0 on to my Power Mac and it saids it wont install them does this need to be used on a Intel Based Mac pro? Every App. i tried to install it wouldn't let me. Thx