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)

Similar Messages

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

  • Combined bar and line graph: need some advice

    Hi,
    I'm builing a small app for a customer. The basic functionality is showing the bar chart and the line (see the figure attached), and now I want to show
    the area above the line in another color. This is the cost saving for the customer. Can I do this? And how would you suggest me to achieve this!
    Can I also show the big dot as seen in the figure?
    Thanks!

    _Faust wrote:
    Hi,
    I'm builing a small app for a customer. The basic functionality is showing the bar chart and the line (see the figure attached), and now I want to show
    the area above the line in another color. This is the cost saving for the customer. Can I do this? And how would you suggest me to achieve this!
    Can I also show the big dot as seen in the figure?
    Thanks!
    Although I believe that graph would be possible by banging on the graphs hard enough, but it would pretty easy to render that image using a picture control since rectangles, lines, text, and circles are supported.
    The link I included above will take you to a thread devoted to Picture related threads.
    Ben
    Ben Rayner
    I am currently active on.. MainStream Preppers
    Rayner's Ridge is under construction

  • Combining Column and Line charts

    I'm trying to put together a composite graph, consisting of
    both LineSeries and Column Series, for a financial page. I'm
    rendering the entire graph inside of a ColumnChart. However, when
    multiple points for the lineseries are close together, the
    mouse-over only displays a single dataTip. When working in a
    LineChart, multiple dataTips are displayed for any points close
    together or on top of each other; is there any (preferably simple!)
    way to replicate that functionality in a ColumnChart?
    Thanks!

    And to make it even more fun, I just know discovered that
    interpolateValues="false" does not seem to function properly within
    a columnChart. Does anyone know a workaround for this
    problem?

  • Charts (bar and line) in a tablix

    Hi, I need to do this:
    As you can see the bar graphic is inside the tablix (this is an excel sample btw), I found
    this tutorial and it really helped me, the problem is the line chart (this
    one was good too), in my report looks like this
    How can I make the lines appear between each marker?

    Hi mnjogin,
    How did you manage to combine bar and line into one graph?
    Pls advice.
    Thanks!

  • How to make the values of a combination graph (bar and line) visible always

    Hi ,
    I am using jdev 11.1.1.6
    i have created a combination graph which has a bar and line.
    The data with respect to bar and graph were only visible when i keep the mouse pointer on it.
    i need to set the values visible always.
    kindly let me know how to make it.
    In pie graph its by default showing the data always.
    regards
    Siva

    Hi Sameh Nassar,
    Thanks for the input, am using the combination graph and i dont have this property added till now.
    i tried adding them manually in source but it didn't work. so I assume that this property is good with pie chart alone.
    please correct me if am wrong.
    This is my combination graph structure.
        <dvt:comboGraph id="comboGraph1"
                          value="#{bindings.testVO1.graphModel}"
                          subType="COMBINATION_VERT_ABS_2Y" shortDesc="Graph 1">
            <dvt:background>
              <dvt:specialEffects/>
            </dvt:background>
            <dvt:graphPlotArea/>
            <dvt:seriesSet markerDisplayed="true">
              <dvt:series lineWidth="0"/>
            </dvt:seriesSet>
            <dvt:o1Axis/>
            <dvt:y1Axis/>
            <dvt:y2Axis/>
            <dvt:legendArea automaticPlacement="AP_NEVER"/>
            <dvt:graphTitle text="Combination graph"/>
            <dvt:o1Title text="x axis"/>
            <dvt:y1Title text="y1 axis"/>
             <dvt:y2Title text="y2 axis"/>
          </dvt:comboGraph>
    regards
    Siva

  • Combination of bar and line in chart(graph) of Crystal Report XI

    Hi,
    I found the way to combine line and bar in a chart(graph) but I am getting rectangle marker where bar and line are crossed. Our user asked to remove the rectangle marker. Please let me know how to remove the rectangle marker.
    Thanks and Regards,
    Manjunath N. Jogin

    Hi Senthil,
    You are right but I am getting marker rectangle where line and bar coincides.
    I want to remove the marker. 
    User asked following two things:
    1. Marker like star, triangle, rectangle ...not required where coincide line and bar.
    2. Line should be coincided (marker place) at middle of bar.
    Please let me know how to achieve these two things.
    Thanks,
    Manjunath N. Jogin

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

  • Bar and Pie chart  display with values

    Hi All...
    I want implement the my swing application Bar and Pie chart functionality with vales, If both are disply same veues.
    Thanx to Advance
    Arjun

    www.jfree.org

  • Plot line, bar and pie chart

    Anyone can let me know where can i learn or tutorial on how to plot line, bar and pie chart by using java2D... (no third-party software)....
    thanks in advance.

    Here's a pie chart app I made for an earlier question:
    import java.awt.*;
    import java.awt.font.*;
    import java.awt.geom.*;
    import javax.swing.*;
    public class PieChart {
      public static void main(String[] args) {
        int[] data = {
          18, 95, 102, 87
        PieCharter pie = new PieCharter();
        pie.enterData(data);
        JFrame f = new JFrame("Pie Chart");
        f.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);
        f.getContentPane().add(pie);
        f.setSize(400,300);
        f.setLocation(300,300);
        f.setVisible(true);
    class PieCharter extends JPanel {
      int[] data, percents;
      int dataTotal;
      final int
        PAD = 25,
        R_PAD = 5;
      public PieCharter() {
        setBackground(Color.white);
      public void paintComponent(Graphics g) {
        super.paintComponent(g);
        Graphics2D g2 = (Graphics2D)g;
        g2.setRenderingHint(RenderingHints.KEY_ANTIALIASING,
                            RenderingHints.VALUE_ANTIALIAS_ON);
        Font font = new Font("lucida sans unicode", Font.PLAIN, 16);
        g2.setFont(font);
        FontRenderContext frc = g2.getFontRenderContext();
        int width = getWidth();
        int height = getHeight();
        int cx = width/2;
        int cy = height/2;
        int dia = (int)Math.min(width, height) - 2*PAD;
        g2.draw(new Ellipse2D.Double((width - dia)/2, (height - dia)/2, dia, dia));
        // draw zero datum
        double radians = 0;
        int x = cx + (int)((dia/2) * Math.cos(radians));
        int y = cy - (int)((dia/2) * Math.sin(radians));
        g2.draw(new Line2D.Double(cx, cy, x, y));
        String s;
        int dataWidth, dataHeight, deltaR, rXInc, rYInc;
        for(int i = 0; i < data.length; i++) {
          radians += 2*Math.PI * data/dataTotal;
    x = cx + (int)((dia/2) * Math.cos(radians));
    y = cy - (int)((dia/2) * Math.sin(radians));
    g2.draw(new Line2D.Double(cx, cy, x, y));
    s = String.valueOf(percents[i]) + "%";
    dataWidth = (int)font.getStringBounds(s, frc).getWidth();
    dataHeight = (int)font.getLineMetrics(s, frc).getAscent();
    deltaR = (int)Math.sqrt(dataWidth*dataWidth + dataHeight*dataHeight)/2 + R_PAD;
    rXInc = (int)(deltaR * Math.cos(radians));
    rYInc = (int)(deltaR * Math.sin(radians));
    x += rXInc;
    y -= rYInc;
    x -= dataWidth/2;
    y += dataHeight/2;
    g2.drawString(s, x, y);
    s = String.valueOf(data[i]);
    dataWidth = (int)font.getStringBounds(s, frc).getWidth();
    dataHeight = (int)font.getLineMetrics(s, frc).getAscent();
    x = cx + (int)((dia/4) * Math.cos(radians - 2*Math.PI * data[i]/(2*dataTotal)));
    y = cy - (int)((dia/4) * Math.sin(radians - 2*Math.PI * data[i]/(2*dataTotal)));
    x -= dataWidth/2;
    y += dataHeight/2;
    g2.drawString(s, x, y);
    private void prepareData() {
    for(int i = 0; i < data.length; i++)
    dataTotal += data[i];
    percents = new int[data.length];
    int dataPlus = 0;
    for(int i = 0; i < data.length; i++) {
    dataPlus += data[i];
    percents[i] = Math.round(100 * dataPlus/dataTotal);
    public void enterData(int[] data) {
    this.data = data;
    prepareData();
    repaint();

  • 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

  • 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

  • Horizontal scroll bar with Line charts

    Hi,
           I want  a scrollable bar attached to x-axis as in this example(fourth one in the following URL---http://www.connectedpixel.com/blog/scrollingcharts).I able to find these feature only with ColumnCharts .Can any one tell whether can we apply the same to LineCharts .I request you to send some docs/examples of scrollbar with Line Charts
    Regards
    Kalavati
    [email protected]

    Kalavati,
    it's all fairly straightforward ActionScript stuff. Create a new ActionScript class derived from Panel. In a suitable handler create the line chart and scroll bar (HScrollbar), position them wherever you want with the x/y/height/width properties, and add them as children (otherwise they won't show up).
    I'm not sure what you're wanting to do with the scroll bar but let's suppose that at the start you show all the x-axis data (which is the default) and have the scrollbar thumb pointer at 100% (ie scrollPosition=maxScrollPosition). Then catch the scroll event. In the handler, work out the percentage across of the current position (this is a whole lot easier if you've set maxScrollPosition=100 to start with), then work out the implied change to the line chart in terms of data values. I don't know if you know in advance the data values or not, but it doesn't really matter. Suppose the horizontal axis is a LinearAxis. keep hold of the data max value along this axis for later use (say max_data_value), then do
    LinearAxis(chart.horizontalAxis).maximum = max_data_value * [the percentage worked out from the scroll bar]
    Richard

  • 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

  • Ghosting when combining interlaced and progressive when making a DVD

    Hello,
    I have a timeline that has a number of different formats including progressive and interlaced video. When exporting a quicktime the video looks fine. When I pop it into DVD Studio Pro and compress into DVD format I'm getting pretty bad ghosting on some of the video.
    How can I get rid of the ghosting effect?

    Thank you for your timely answer. I'm in a situation when I cannot recompress all of the content into one format right now. I have spend much time editing this project and I must create a DVD for this due for tomorrow morning.
    Are there any other alternatives to make this work?
    Can I de-interlance the timeline and then export?
    Thanks

Maybe you are looking for

  • Cannot edit with contribute 5.5: script error

    I too get a script error. Nothing has chanaged, the site has worked with various versions of Contribute for over 5  years. The javascript had not changed so it must have been ignoring any ambiguity until now. I checked the site in Mozilla/Firefox deb

  • Can we rename Ant build.xml?

    Hi Can we rename ant default build.xml name to any other name like myapp_build.xml? I know this is not right forum;I alreday googled for this.But no luck. Please help me. Thanks Anil

  • I need to edit embedded file, but selection is grayed out

    I need to convert embedded RGB files to CMYK, but when I go to "Edit Original," it is grayed out. In some cases, I no longer have the original. Can I make the RGB to CMYK change by working with the embedded file? How do I get to it? Thanks.

  • Unable to install the podcast 1.00.3 on my N95-3 f...

    unable to install the podcast 1.00.3 on my N95-3 firmware V20 Displaying: "unable to install component is built-in" Message Edited by leontancfa on 17-Jun-2008 09:22 PM Message Edited by leontancfa on 17-Jun-2008 09:23 PM

  • Best tutorial for AE and Green Screen?

    I am trying to find the best Green Screen for AE tutorials out there. Can anyone recommend one? Thank you!