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

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

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

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

  • 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

  • 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

  • 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

  • Chart missing Columns and Lines

    I have created a Column Line Chart and allow the user to input different values that change formulas to produce the columns and line on the graph. I can see the graph perfectly fine with all columns and the line on the canvas view. Whenever I try to export to any file type, upon opening the file, all but two of the columns are missing and the line is missing in all spots except for at two points.
    I've noticed that if I remove my formulas from my spreadsheet and just put in hard coded values in place of the formulas, the report populates correctly, but this takes away all functionality of allowing the user to adjust inputs, which is the entire reason we are using this software.
    Please advise how I can fix this issue so that my chart shows all data.
    Thanks,
    Dan

    Hi Dan
    This is common - this can happen due to possible reasons like
    1) The data in preview mode on which the formula is applied is not same as the hard coded or the one in design mode. So when you go to preview its different view in the chart
    2) Some other component is messing with the excel ranges you are using for formula for the chart - some components which can drop values as per their destination property.
    This is how you need to test
    - Add a test spreadsheet table component ( from selector category) and map all the cells that's included in the formula - the original range, the input values from the user interaction, and the final ranges with formula and the range to which chart is mapped to if different from the formula range.
    - Preview the dashboard and see whats going on in those cells and if they all are behaving as expected.
    - if the original data range and the input data are what you anticipate and not changed by any other variable you are not considering.
    Use more than one spreadsheet table if the ranges I suggested are not contiguous.
    Please try the above and post the updates.
    Thanks
    Runali

  • 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

  • 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

  • How do I get more than 10 Y axis chart labels on a line chart

    I cannot find a way to get more than 10 y axis labels on a line chart. In AppleWorks you set your step size so a size of "10" which in my case equates to labels of 10, 20, 30, ..., 80, 90 and so on up to the MAX value. I would often have 20 or more labels. In iWork the size is the number of labels and the maximum size (number of labels) I can display is 10. With a min value of 30 and a max value of 330 each label jumps 30 points which doesn't give the resolution I need to see...and....when showing the data point values on the page in iWork they overlap each other and are unreadable even when stretched out on legal paper.

    What I am calling the X axis (horizontal) you are calling the Y axis. I need more than 10 labels on the vertical axis. Space for text is not a problem. I already have done exactly what you suggest for the horizontal axis. What I need is to get 30 value labels on the vertical axis (You show 5 in your example) along with the many more than 10 I have on the horizontal axis. The 10 through 300 value labels run vertically, and roughly 90 data points, one per day covering 3 months runs horizontally with a date label every 7 days. This graph represents values recorded daily at the same time each day.

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

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

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

  • Combining a Line Chart with a Bar Chart

    I'm required to render a chart that has a line chart in the background with a bar chart in the foreground. BarChart requires with one of the axes be Category while the LineChart needs to have both axes be Numeric.
    I had seen another post suggesting using a StackPane to put 2 distinct charts on top of each other. I don't think this will be suitable for this due to how different the one axis needs to be.
    My hunch is to simply write a new XYChart that renders bars instead of lines. Any other ideas?
    Thanks,

    Hi Chirs,
    In SSRS, the chart type is by design. It is not support vertical line chart.
    Reference: http://technet.microsoft.com/en-us/library/dd220461.aspx
    Since the issue is by default, I recommend you that submit this suggestion at
    https://connect.microsoft.com/SQLServer/. If the suggestion mentioned by customers for many times, the product team may consider to add the feature in the next SQL Server version. Your feedback is valuable for us to improve our products and increase the
    level of service provided.
    If you have submit a feedback, could you please post the thread there? It will be very beneficial for other community members who have similar questions.
    Regards,
    Alisa Tang
    If you have any feedback on our support, please click
    here.
    Alisa Tang
    TechNet Community Support

Maybe you are looking for