Generation of graphs in excel

Hi,
How do i achieve the following:
I need to draw graphs at runtime in excel using Java. Ealier without this functionality the application used JXL. It seems that jxl does not have the functionality of drawing graphs.
I wish to know a way through which graphs can be drawn on the fly on the basis of data available at hand.
Thanks in advance.

Also , i need to insert rows into excel sheet when requested by the user and for this rows some other query would have to be written,
in short when the layout changes w/o going into excel can we control it ?(the new cells bounding to new query etc ??)
thanx again

Similar Messages

  • Changing the Size of generated graph in excel report generation toolkit

    Hi, i am trying to build a report generation vi for my Structural health monitoring system in which i need to export 3 graphs in to an excel report. The idea is to have the report on a single page, but when i paste them along with the ceiling and pillar deviation percentages, the report just exceeds the page limit. I wanted to know whether one can change the size of the graphs in excel? One can do it in word(tried that), but i dont want to use the bookmark option as it intend to put this up as a webservice in the next step. I am using LabVIEW 2009 Thanks.
    LabVIEW 8.2,8.6,2009...still learning
    Attachments:
    Report Generation SHM.vi ‏30 KB

    Hi,
    I haven't tried this myself, but looking through the report generation toolkit the "Excel format image VI" (in the Excel specific tab of the Report Genertaion window) looks to be the one you are after. The help entry for the VI says to: "Use this VI to format any type of image in a worksheet, including front panel images, images from a file, and graphs"
    Hopefully this will help.
    -CC 
    "If anyone needs me, I'll be in the Angry Dome!"

  • Error while making a graph in excel

    I can create an excel file + worksheet + inserting data. But when i try to make a graph i get the error:
    Error accessing the OLE registry.
    in Excel Import Module.vi->Excel Insert Graph.vi->Excel Easy Graph.vi->excelreport.vi
    i searched the forum but couldn't find the answer, i am using the functions 'report generation'.
    I got my information from the tutorial :
    http://zone.ni.com/devzone/conceptd.nsf/webmain/410C4F687126E4C786256B920072A197?OpenDocument
    Attachments:
    excelreport.vi ‏73 KB

    you most have eather a simple problem or your registry is flawed anyways did you try this found it on web.
    Make sure that you are logged into the computer as local Administrator, or are part of the local Administrator group.
    To identify which registry key is causing the problem use Regmon (a freeware tool published by SysInternals). Use Regmon to capture all registry access when regsvr32 is run. If an �OpenKey� request fails with �Access Denied� (which is listed by Regmon as �ACCDENIED�) then run regedt32 and check the permissions on that registry key. If necessary change the permissions on the key to grant local Administrators �Full Control�.

  • Xy graph in excel using activeX

    Hi
    I am trying to plot a XY graph in excel using Active X. I have two coloums of data one should be X the other should be Y. I am using XlXYscattersmooth graph type and giving the range as A1 to B5. But when the excel plots it, I am getting two series rather of X data points rather than XY. I know I am doing a simple mistake in choosing some variable but I am not able to figure out where I am going wrong.
    Can anybody please look at my code and correct the code in order to get a XY plot rather than getting two different series.
    Thanking you in advance
    Nitin
    Attachments:
    excel4.vi ‏155 KB

    Hello
    Here is that Set Cell Value with Range.vi
    Regards,
    Nitin
    Attachments:
    Set Cell Value with Range.vi ‏45 KB

  • Error when adding a Title to a Graph in Excel

    I am trying to automate adding a graph to Excel.  The Easy Graph.vi is too simple for what I would like to do.
    I recorded a macro of what I wanted to do, and then I copied it in LabVIEW basically.
    My program is erroring out every time I try to modify anything on the chart (title, series values, series names, etc).
    I cannot figure out why it will allow me to add a sheet, add the chart, rename the sheet, and then error out when I continue to use the Excel._Chart properties and methods.
    I attached a sample file and my code.
    Thanks
    Kenny
    Attachments:
    My Source Distribution.zip ‏128 KB
    test.xls ‏16 KB

    Kenny K wrote:
    Ok, I figured out my issue.
    It seems that you have to graph the data, before you can change any graph attributes, even though I have done that before.
    Once I put the axis, title, etc after the graphing, then it worked.  Well, I also had specified my range wrong, so that errored out too.
    Thank you for the help.
    Also, how to you get a reference to the Chart Wizard through the excel activex?
    I posted a snippet. You can take it from there. I do not remember how I got it before. I have not had to change it in six to seven years. I remember going through the MSDN and found the function. I think I made it from scratch to match the MSDN..
    Tim
    Johnson Controls
    Holland Michigan

  • Why do I get jumbled text when pasting a graph from Excel (mac 2011) into Illustrator cs6

    The Goal: To copy a graph from Excel (mac 2011) and paste it into Illustrator cs6 as a vector graphic.
    The graph's vector and layout is okay. Yet, the text / copy is jumbled text:
    $%"
    $#!!!!"
    Do I have to change a preference in either Excel or Illustrator?
    Thank you!

    In Excel, right click and choose Format Chart Area. In the dialog at the left, choose Fonts. Change the font to Arial or something other than Calibri (Theme Body). Then copy/paste.

  • How to create 2 plots xy graph in excel

    Hi,
    I need help!
    I am trying to create a XY graph in excel which has 2 Plots with a bit different X and Y scales and i am not able to understand how to do it, It should be easy
    basicly i have a table already imported into labview but i cant understand how to create a graph similar to the graph in the attached xls.
    Please see attached xls file with an example for the graph i need which is created from the table inside the xls. 
    Thanks!
    Attachments:
    machs.xls ‏25 KB

    Create clusters of the different sets of x and y data and then build them into an array and feed into the graph. For example....

  • Business graph into Excel

    Hi,
    I had a requirement that  download the business graph to excel.Not as an internal table but as a graph.
    Regards,
    Vasavi.

    Having the same problem with Illustrator CS3. All Excel 3D graph/chart are individual shapes. Looks horrible.
    Don't have Office 2003 installed. So sure if it only an Excel 2007 issue.
    No problem with Excel 2004 on the Mac.

  • How to add two series data in singal xy graphs in excel through labview

    Hi,
    I am trying to generate excel report and needs to plot XY graph in excel sheet. Using excel insert graph VI I am able to pass the data to excel and generate the XY graph (one x axis and many y axis), but I am not able to add a series in the graph that means not able to plot two XY plot in same graph (for example two plot X1Y1 and X2Y2 on same Graph). I know the other options like passing the image of graph control to excel sheet and by passing the data to specified cells and generating the xy plot.But my requirement is plotting xy plots in singal xy graph without displaying the data in tabular form in excel sheet. (Like when we call the insert graph VI, it will only inserts the OLE object and data is hidden in that)  Please let me know if you need more clarification and let me know how to do this..
    Regards
    Santosh

    I have got answer from another post. Thanks.

  • Drawing graphs in excel sheet using java

    Hi,
    I'm trying to draw a line graph in excel sheet with different segment of the line graph with different colors.I need to accept a Excel file which gives me the details of the location and length of each of these line segments.I need a java code for doing the above.
    Please help me out as this is very urgent and I hv no idea as to how to proceed further.
    Thanking you in advance,
    Vijibindu

    Do a search of this forum for Java and Excel.
    This question has been asked and answered many, many times.
    There's an open source project called POI which should have samples of r
    eading & writing Excel files.
    regards,
    Owen

  • Merging data sets in a single graph in Excel

    I want to make a graph in excel. I have two data sets, one horizontal and one vertical: e.g.
    Data set 1 (few data point)
    Date: 1-1-2010; 1-1-2011; 1-1-2012
    Value     1000         5000         6000
    Data set 2 (many data points)
    Date               Value
    1-1-2010          10
    2-1-2010          9
    3-1-2010          8
    1-1-2011          11
    1-1-2012          12
    I want the data sets in ONE graph with the two different data sets in the graph. Where the x values are correct of course.
    I dont need to merge the data sets or something like that
    I really need good help for this

    http://answers.microsoft.com/en-us/mac/forum/macexcel?tab=Threads

  • Drawing Graph in Excel

    I have a template for excel to follow, and I am supposed to draw a graph onto the template using Labview Report Generation Toolkit VIs. However, it keeps returning error  - 2146827284. What am I to check? This error is no longer there whenever i removed all the graph VIs. If I purely just ask Labview to send data to excel at specific locations of excel template, there is no error. Once I initate the plotting of graph, error exists. Do advise.

    The following attachment shows the configuration.
    Attachments:
    help1.JPG ‏117 KB

  • How to Add the title name for Graph in Excel

    Dear Friends
                      I am using LabVIEW 8.0.I need how to add the title name for chart in Excel.
    Jayavel
    Solved!
    Go to Solution.

    Do you have the Report Generation Toolkit? If so, the Excel Easy Graph VI has an input for that.
    If you don't have the toolkit then you will need to use ActiveX. Please do a search on how to use ActiveX (there are examples that ship with LabVIEW) to control Excel. There are also lots of example in the Excel thread. NOTE: DO NOT POST QUESTIONS IN THAT THREAD. 
    Ultimately you will need to look up the information in MSDN. 

  • Report generation toolkit: Get all excel worksheets

    Hej everybody,
    how can I get a list (name and number) of all worksheets in an Excelfile using the report generation toolkit and Labview 8.2?
    Thanks for answers,
    Christoph

    Hi,
    I made the similar application using excel dll in LabVIEW 7.1 
    Try this...
    Regards
    DC
    Attachments:
    Excel_Worksheets.vi ‏48 KB

  • Report Generation broken after deployment - Excel Set Cell Color and Border.vi

    Upon deployment, the Excel Set Cell Color and Border.vi became broken.  After installing LV2010 SP1 to view the VIs in the deployment, I noticed that in the second case structure where the code draws the border using the BorderAround invoke node, there is an extra variant input parameter named 'Parameters'.  Upon right-clicking, an option to 'Relink Invoke Node' appeared and after selecting this, the extra input disappeared and the VI was no longer broken.
    Why does "Relink Invoke Node" appear?  How do I create a deployment with this issue?  Has anybody else experienced this?  Why is the TestStand deployment so buggy?  

    Hi Ching-Hwa,
    I have set up a test deployment here where I am deploying a workspace that contains a sequence file.  This sequence file has a LabVIEW Action Step calling a VI that opens a new Excel file and simply calls the Excel Set Cell Color and Border VI.  After deploying this, both the VI and my test sequence ran on the deployment machine without error.  Therefore, I do have some more questions to more accurately reproduce what you are seeing.
    First, what operating systems are you developing on and deploying to?  Also, what license do you have for TestStand on the machine you are deploying to?  If you have a development version, can you manually take the sequence file and VI to this machine and run it?  I know you now have LabVIEW 2010 SP1 on your development machine, but if you have the development version of TestStand as well, it would be interesting to see if you copy the files over if you still see this behavior.  Are you including the TestStand Engine in the deployment?
    Can you open a blank VI on the deployment machine and add the Excel Set Cell Color and Border VI?  It would also be interesting to see if this is not a product of the deployment, but rather an issue with something on the deployment machine itself.  What version of the Report Generation Toolkit do you have on each machine?  Also, what versions of Excel are you using on the development and deployment machine?  Again, it would be helpful for me to know exactly what versions you have installed on both the development and deployment machines so that I can reproduce this as accurately as possible.
    One last thing to try, too, would be to try deploying the VI by itself just to see if it also has the same behavior.  Do you have the Application Builder in LabVIEW?  If so, could you also try building an executable from the VI, create an installer, and deploy this to the deployment machine?  
    In regards to the "freezing" of code by removing the block diagrams, I do not believe this will be a proper work around in this case.  While this removes the block diagram from actually being deployed along with the VI and restricts users from editing the code on the deployment machine, if something is getting changed in the compiled code upon deployment, this will not stop this from happening.  This option is available more as a memory option to lower the size of the deployment as well as prohibit any users on the development machine from editing the block diagram themselves.    
    Thanks, Ching-Hwa!  I look forward to your response so that I can continue trying to reproduce this issue.  Have a great day! 
    Taylor G.
    Product Support Engineer
    National Instruments
    www.ni.com/support

Maybe you are looking for

  • How to output surround sound with airport express N

    is this possible? I am streaming successfully with airport express, sounds great with no audio dropouts. I have it hardwired to my router and the AX is connected optical to my surround receiver. Music is only played through my fronts. Is there a way

  • ORA-12519: too many new conenctions

    Hello, with 10.2 XE the number of PROCESSORS is limited to 40, the Problem exists with the Listener that it quickly starts to refuse new connections with ORA-12519, even when the maximum number of connects at the same time is not reached. At least th

  • How to delimit leading zero in vendor number in OO ABAP ALV without using conversion routine

    Hi, How to delimit leading zero in OO ABAP ALV without using conversion routine, because I have many fields like vendor, customer, material number etc.. How to address this leading zero. I appreciate your quick response. Regards, Nalini S.

  • Adobe download assistant gives Error 100 , any solutions

    adobe download assistant gives Error 100  when  I click either sign in or create user id. As advised. Uninstalled it. deleted the directory C:\Users\Administrator\AppData\Roaming\com.adobe.downloadassistant.AdobeDownloadAssistant \Local Store as advi

  • Revised Visio stencils for CRS and Catalyst 3750

    We just submitted the CRS and Catalyst 3750 revisions to the Cisco web team for posting.  They should be available within a day or so. Regards, Brett Newman Cisco Visio Development Visimation Inc.