Making different graphs like bar chart in excel sheet

Hello,
In my application i have to make different graphs like bar chart,pie chart etc which is present in the excel sheet.In the same excel sheet i have to make the graphs based on the data through java program.
I am unable to do it.Can anyone suggest me how to do.Is there any api and documents(for reading )for it?
thanks in advance
chimpuk

Hi, you might want to do a search before you post. At the top of the page is a link to advanced search. Right-click on it and choose 'open in a new window'. Now, in the 'with all the words' box type the word excel, then hit the space bar, then type the word chart[b], now down lower clear all the checkboxes except [b]Java Forums, now hit the Search button and you get a list of threads related to excel and chart. Read a few. I think most of your questions will be answered.

Similar Messages

  • Exporting bar charts to excel

    Hi All,
    I would like to export my bar chart to excel.When i googled, i did not get any relevant information regarding this topic. If anyone could help me in this regard with the code will minimize my burden to a greater extent.
    Thnaks for all ur support in advance

    uh, are you sure you don't want to export the DATA used to generate the chart instead?

  • How to highlight different color in bar chart above the mark

    Hi friends,
    I have a bar chart in which im displaying it in blue color in obiee 11g. In graph properties i have set a scale marker to the point 4000, so that a line is appearing horizontally at the point 4000 in the bar chart. My chart is exceeding above 4000, as it reaches upto 5000.
    I need to set a color to the graph such that from *0-4000, i need to have one color* and above from 4000-5000 i need to highlight it with a different color.
    How to possible it to highlight with different color above that *4000 mark in my bar chart*.
    Thanks
    All izz Well
    GTA

    From your initial post I thought you meant you wanted to change the colour of the bit above the line for every bar that went over the line.
    The solution above works because stacked bar will use different colours for different measures - by splitting your original measure into one measure for the data up to the line and another measure for any data above the line you achieve this. Bars that don't cross the line will only show one colour, bars that do cross the line will show two.
    eg
    original measure/new measure 1/new measure 2
    2000/2000/0
    3000/3000/0
    5000/4000/1000
    5500/4000/1500
    The other scenario is that you want the whole bar to be coloured if it crosses the line. If that's the case then there is a conditional formatting section under graph properties->style->style and conditional formatting.
    Regards,
    Robert

  • Graph to be displayed in Excel Sheet

    Hi,
    The requirement is : We need to display a Line-Graph in the Excel Sheet.
    I referred the [sdn |Excel Charts in ABAP;:
    But, the Demo Programs SAPRDEMOEXCELINTEGRATION & SAPRDEMOEXCELINTEGRATION2 display a Default Graph and not with our Values.
    Can anyone suggest me how to achieve this? Custom Graph (for example from our own Internal Table Values) to be displayed in Excel Sheet.
    Thanks in advance.
    Thanks & Regards,
    Sowmya

    Hi,
    Can you please try using the following code
    CREATE OBJECT h_excel 'EXCEL.APPLICATION'.
    *Sheet1
    CALL METHOD OF h_excel 'Workbooks' = h_mapl.
    SET PROPERTY OF h_excel 'Visible' = 1.
    CALL METHOD OF h_mapl 'Add' = h_map.
    gets the current worksheet
    GET PROPERTY OF h_excel 'activesheet' = worksheet.
    sets the name of the worksheet
    SET PROPERTY OF worksheet 'Name' = 'sheetnew'.
    pass data to sheet
    CALL METHOD OF worksheet 'Cells' = gs_cell1
    EXPORTING
    #1 = 1 " starting row of selection
    #2 = 1. " starting column of selection
    CALL METHOD OF worksheet 'Cells' = gs_cell2
    EXPORTING
    #1 = 1 " ending row of selection
    #2 = 1. " ending column of selection
    CALL METHOD OF worksheet 'Range' = range
    EXPORTING
    #1 = gs_cell1
    #2 = gs_cell2.
    CALL METHOD CL_GUI_FRONTEND_SERVICES=>CLIPBOARD_EXPORT
    IMPORTING
    DATA = GT_OUTPUT[]
    CHANGING
    RC = L_RC.
    CALL METHOD OF RANGE 'Select'.
    CALL METHOD OF WORKSHEET 'Paste'.
    create a chart sheet
    CALL METHOD OF h_excel 'charts' = h_chart.
    add a chart of variable h_chart1
    opens the initially created sheet
    CALL METHOD OF worksheet 'Select'.
    CALL METHOD OF h_excel 'Cells' = gs_cell1
    EXPORTING
    #1 = 1 " starting row of selection
    #2 = 1. " starting column of selection
    CALL METHOD OF h_excel 'Cells' = gs_cell2
    EXPORTING
    #1 = 4 " ending row of selection
    #2 = 2. " ending column of selection
    combine cells to form the range
    CALL METHOD OF h_excel 'Range' = range
    EXPORTING
    #1 = gs_cell1
    #2 = gs_cell2.
    sets the chart type
    CALL METHOD OF h_excel 'charts' = h_chart2.
    call method of h_chart2 'add' = h_chart3.
    SET PROPERTY OF h_chart3 'charttype' = '69'.
    title for chart
    SET PROPERTY OF h_chart3 'HasTitle' = 1.
    GET PROPERTY OF h_chart3 'ChartTitle' = ch_title.
    GET PROPERTY OF ch_title 'Characters' = ch_title.
    SET PROPERTY OF ch_title 'text' = 'inventory comparison'.
    CALL METHOD OF h_chart3 'SetSourceData'
    EXPORTING #1 = range " range to be passed to the chart
    #2 = 2. " selcts row/column
    CALL METHOD OF h_chart3 'ApplyDataLabels'
    exporting
    #1 = '5'.
    selects worksheet
    CALL METHOD OF worksheet 'Select'.
    CALL METHOD OF h_excel 'Cells' = gs_cell1
    EXPORTING
    #1 = 1 " starting row of selection
    #2 = 1. " starting column of selection
    CALL METHOD OF h_excel 'Cells' = gs_cell2
    EXPORTING
    #1 = 1 " ending row of selection
    #2 = 2. " ending column of selection
    CALL METHOD OF h_excel 'Range' = range
    EXPORTING
    #1 = gs_cell1
    #2 = gs_cell2.
    sets the bold for the header
    GET PROPERTY OF range 'Font' = GS_FONT .
    SET PROPERTY OF GS_FONT 'Bold' = 1 .
    free object h_excelor
    or
    CALL FUNCTION 'GRAPH_MATRIX_3D'

  • Chart in excel sheet

    Hiii,
    I want draw the chart in the excel sheet without using report generation tool kit . i have the sensor data w.r.t. time in the excel sheeet as shown below
    Time
    Temperature
    4/12/2007 1:55 PM
    153
    4/12/2007 1:55 PM
    152
    4/12/2007 1:55 PM
    151
    4/12/2007 1:55 PM
    150
    4/12/2007 1:55 PM
    149
    4/12/2007 1:55 PM
    148
    4/12/2007 1:55 PM
    147
    4/12/2007 1:55 PM
    126
    4/12/2007 1:55 PM
    127
    4/12/2007 1:55 PM
    128
    4/12/2007 1:55 PM
    129
    4/12/2007 1:55 PM
    130
    i have tried some of the example given in the discussion forum but its not giving the right range
    Rgrds
    HKT

    thks to all for the valueable comments
    let me explain my application more, to clear the concept of using excel in this particular application
    I am storing the data(time/temp) in the binary format on the hard disk.
    the excel part comes when user want to have the excel report for its analysis .
    that is user can use the data but soring it in the excel (format i have shown) as well as chart ( for better visualization)
    the first part(insert data into excel sheet)  i have made using activex control but in the scond part( insert chart into excelsheet) when i give the range specifed in the excelsheet it give me the error 3008
    it is better to make chart by using 2D array of string but i am unable to find the result for the same
    VI is attached with this reply
    Attachments:
    Test Vi Chart.vi ‏52 KB

  • Two different Graphs in One Chart

    Hi,
    I've created a chart to graph two measures and by default, they are both bar graphs. Is there a way to have one of the measures graphed as a bar graph and the other as a line (both in the same chart)?
    Karen

    After reading through the options again (carefully this time), there's a Graph type = Line Bar Combo.

  • Creating Graphs and Bar Charts

    Hi members
    I have been looking high and low to find my answer but to no avail.
    I currently run SAP AR Age debt reports once I extract this data I create graphs in excel.
    I am looking for Sap transaction where I can create a graphs and link them to T-Codes such as AGE DEBT report.
    Please help

    Hi,
    first of all you can create z tcodes only in that is in se93.so create a report either using FM or oops and link it too the tcode.
    other FMs
    GRAPH_MATRIX                   Calling up SAP Business Graphics (2D, 3D and 4D)
    GRAPH_MATRIX_2D                Calling up the 2D graphics (user-friendly version)
    GRAPH_MATRIX_3D                Structure of 3D graphics (user-friendly version)
    GRAPH_MATRIX_4D                Calling up a 3D graphic (4th dimension stacked representation).
    u can follow
    Graphs in ABAP
    hope it helps..

  • How to create different Graphs in SharePoint 2013 without using Excel service?

    Hi All,
    I want to create different graphs in SharePoint without using Excel Service.
    I do not want to create excel and then upload that to SharePoint.
    Any one knows how to do that? Isthere any option to do that?
    Thanks in Advance

    Hi Darsh,
    You can use
    SharePoint chart webpart to display charts. Or you can use any jQuery charting library and feed data using JSOM or REST. Ex. high charts:
    http://www.highcharts.com/products/highcharts
    http://office.microsoft.com/en-us/sharepoint-server-help/sharepoint-lists-vi-exciting-ways-to-display-your-list-data-RZ102425636.aspx?section=3
    Best Regards,
    Brij K

  • EXCEL 2010 bAR CHART

    I am trying to create a bar chart in excel 2010 that has 46 categories for the X axis. It will not display all the category names it seems to skip every second one and substitute it with a space.

    They'll help you over here.
    Office Excel forums on Microsoft Answers
    Regards, Dave Patrick ....
    Microsoft Certified Professional
    Microsoft MVP [Windows]
    Disclaimer: This posting is provided "AS IS" with no warranties or guarantees , and confers no rights.

  • How to add a number at the end of a bar chart?

    Hello everyone,
    I am building a series of graphs and bar charts for my thesis.
    I am struggling top fin an option that would allow me to but a "n=number" kind of entry at the end of the chart.
    I did manage to put the percentages in front of every bar, but what I wanted to do is something like this:
    Is this even feasible?
    Thank you everyone for the help!
    Cheers,
    Tiago

    Hello Jerrold
    Thank you very much for the help mate!
    It might take a little longer to edit all the graphs, but it's a start
    Thanks once again!
    Tiago

  • Colored bars in BAR Chart

    Hi all,
    I want to display a bar chart which is having different colored bars. For example, i am now using equipment wise bar chart, if i am having 50 equipments, all 50 equipments should be displayed in different colors in bar chart. Now i am getting output for those 50 equipments having same color. I tried by giving that equipment column in DATA MAPPING -
    > LABEL COLUMNS, I got only 32 bars which is in different colors in output. Kindly give me some solution for this.
    thanks in advance

    You may have more than 32 bars but they will be the same data series and therefore the same color.  For separate colors the limit is 32 (I think you'll see that pens 17-32 repeat the colors from pen 1-16 in the default template).
    It sounds like your best bet is using ValueColumn for your numerical field and then LabelColumn for the string name field.  This way, depending upon the results returned it will provide good coloration between bars, but it may also be decreasingly relevant beyond the first 'x' items.  A normal Pareto chart might use the notion of top 10 or top 20, which would be well within the 32 color limit.

  • 100 % stacked bar chart

    How to create a 100 % stacked bar chart which is similar to the 100 % stacked bar chart in Excel in OBIEE? Is it possible to display values in middle of the bars?
    Regards
    NarsimhaReddy

    Hi guys,
    I got your answer in that post:
    http://www.clearpeaks.com/blog/oracle-bi-ee-11g/creating-a-100-stacked-bar-chart-in-oracle-biee-11g
    Regards.

  • I try to find such as pivot table like in excel sheet

    How to collect data like pivot table in excel sheet. Please help me

    Hi Chepot,
    Welcome to Apple Discussions and the Numbers '09 forum.
    Numbers does not support pivot tables, but there may be a way to accomplish what you want.
    Here's a link to search results for 'pivot AND table' in the Numbers '09 forum during the past year. Check these prior discussions. If they don't answer your question, post a reply here with further details on the arrangement of data you want to collect.
    Regards,
    Barry

  • Excel sheet cell like JSF input component

    Hi All,
    I have a project requirement where I need to come up with a feature to allow commenting on a given input text field.
    It is exactly like a feature in Excel sheets, where commenting feature is built-in, the only difference here it is expected to
    be a JSF component.
    Are there any existing JSF components supporting this.
    Thank you,
    Hussain

    As far as I can see, in the first connection string the password seems to be hard-coded:
    ... ;Password=****;
    The second one does not have that string. I suppose it's the native/embedded connection therefore. 

  • Validate Excel Sheet Contents

    JDeveloper PS5
    We have a feature where the user could upload an excel sheet. We would need to validate the contents of the excel sheet.
    What are the different ways - we could validate the excel sheet?
    I am aware of libraries like jExcelApi and Apache POI - but would like to know - if there are any in-built features as part of Fusion Middleware.
    Thanks,
    Navaneeth

    You may want to consider ADF Desktop Integration as an alternate way to integrate your web app with Excel.
    http://www.oracle.com/technetwork/developer-tools/adf/overview/index-085534.html

Maybe you are looking for

  • Windows cannot recognize iPOD mini

    I just bought a new iPOD mini (pink 4Gb), but when I conected the iPOD to my laptop and other desktop, the computer always shows 'cannot recognize the usb device, the divice might be malfunction', so iPOD shown as unknown device in my usb controller,

  • Chinese display improperly in Safari and Firefox after OSX 10.6.7 update

    After updating to 10.6.7 some Chinese websites don't display properly in both Safari and Firefox on my '08 book pro, while the '09 iMac has no such problem. On the book pro Chinese characters appear as unreadable squiggles. Other apps (word, mail, ph

  • Runtime Error............pls help...........

    Hi,    My scenario is like that R/3 and SMIS systems ae sending acknowledgement files to FTP in a folder. XI has to pick all the files from FTP and has to post to ORACLE by using JDBC adapter.There is a particular format based on that we need to map

  • Javaon RedHat Linux 9.0

    Hi. I have currently installed Red Hat 9.0 Linux on my system and would like to try and run Java programs there. I have no idea on how to even start this. Please help.

  • Custom TypeMap for SQL Server

    I've created a custom type map for MS SQL Server and have gotten the IDE to recognise it but: When creating entity objects, any SQL Server column with precision - like varchar(x) or int(10,0) - is failing to match anything in the type map class. How