Print Dynamic Graph

I have created a graph with a large number of samples on the X-axis, so the FULL graph can only be viewed using a horizontal scroller. But while printing the graph I am unable to get a print of the entire graph (only the viewable area is printed). Similarly for saving, I am not able to save the entire Length of the graph. Since my data is variable, I cannot have a fixed limit on the X-axis, so a horizontal scroller is a must to view. Any help in this regards would be highly appreciated.
thnx,
-prak

Before drawing the graph onto the panel, draw the graph in its entirety onto an offscreen buffer. Then, copy the viewable portion of the graph onto the panel. Print from the offscreen buffer.

Similar Messages

  • Using htp.p for print dynamic data in apex region make my page slow?

    Hi, everyone!!! My name is Rafael, and...
    I search in the web and in this forum but i can´t find a answer for my doubt.
    Using the procedure htp.p for print dynamic data in apex region through on demand process , this will leave my webpage slow to load when the user access?
    Example:
    For build a menu in my webpage, it´s read a function in the database that returns variable string, so by a demand process this string is obtain and print in a web page using htp.p.
    I notice that this practice causes slow to load the data on the page.
    This is it...
    If someone help me, thanks...
    bye and Happy new Year!!!
    Edited by: user9518141 on 26/12/2009 17:19

    Hi,
    Try commenting out the function call and print some sample text in the htp.p like htp.p('Hello world..');
    I think the function call is probably taking a lot of time .. not htp.p.
    I have used htp.p to print out values dynamically in a lot of situations and have not ever come across any performance issues.It could be a problem with the function you are calling.
    Thanks,
    Rajesh.

  • How to print a graph in which internal table has more than 32 entries?

    hiii experts
    i am trying to make a line graph using 'gfw_pres_show' function module.
    but in report internal table has more than 32 entries
    so how can i print a graph having more than 32 entries?

    Hi ricky_lv,
    According to your description, there is main report and subreport in it, when the subreport spans across multiple pages, you want to show column headers on each page. If that is the case, we can set column headers visible while scrolling in main report.
    For detail information, please refer to the following steps:
    In design mode, click the small drop down arrow next to Column Groups and select Advanced Mode.
    Go to your Row Groups pane, click on the first static member.
    In properties grid, set FixData to True.
    Set RepeatOnNextPage to True.
    Here is a relevant thread you can reference:
    https://social.technet.microsoft.com/Forums/en-US/e1f67cec-8fa3-4c5d-86ba-28b57fc4a211/keep-header-rows-visible-while-scrolling?forum=sqlreportingservi
    The following screenshots are for your reference:
    If you have any more questions, please feel free to ask.
    Thanks,
    Wendy Fu
    If you have any feedback on our support, please click
    here.
    Wendy Fu
    TechNet Community Support

  • Dynamic graph in Smart Forms

    Hi
    I have searched the forums and noticed this question has been put forward many times but without a complete solution.
    I have so far managed to use the IGS to create a .JPG/PNG file for me. I seem to have an error while trying to create a BMP file, basis is currently looking into this for me, i get a LISTENERRFC : error.
    I'm using class : cl_igs_chart_engine
    to generate a chart from the IGS, this is returned to me in a MIME table format.
    Now how can I use this MIME table to insert it dynamically in the SMARTFORM. I see there is provision for Dynamic determined graphics in smart forms but i don't think it can be used here.
    Does anyone know how to do this ? Is there any other more effective way of inserting dynamic graphs into SAMRTFORMS
    Another question is class : cl_igs_chart_engine, how can you create a line graph instead of a bar graph ?
    Thanks

    Hi Kevin,
    Dynamic graphic in samrtform is supported provided you have the BMAP ( Bitmap ) created in SAP. In the graphics node of SMARTFORM you can assign a variable &GRAPHIC& as the name. From the program pass the graphic name in variable "GRAPHIC" through samrtform interface .
    The prerequisite is that the graphics should be there in SAP database at the time you call smartform .
    About your other question I have no idea but I can say that if you can have a graphics created on your PC at runtime you can always upload it to SAP using report RSTXLDMC , just before calling smartform. However this would generate a lot of graphics on SAP even if it is for one time use by smartform . You will have to find a way to delete subsequently .
    Cheers

  • Color change in Halfgauge (Dynamic Graph)

    Hi all,
    i am using halfgauage dynamic graphs, my requirement is to swap the color form red to green and green to red as i tried all possibilities in animation link but i am not getting.
    thanks
    praveen

    Hi Praveen.
    You need to create a variable of type color and then map this to the desired element in the SVG image through animation link.
    You can create two color variable for red and  green and while mapping it in svg image you can write rule and assign proper color reference.
    Hope this will help.
    -- Ketan

  • Dynamic Graph

    Hi All,
    I'm running a site which gives Economic Data if anybody want. Now I have to show Graphs of selected data. can anybody help me that what should I use to create Dynamic Graphs, B'coz range of data is set by the user. Site is running on Oracle 8i and java on MS Windows environment.

    you should have a look into the bi beans at: http://otn.oracle.com/products/bib/content.html

  • Print xy graph in landscape

    Hello,
    I'm trying to print an xy graph to a printer in landscape mode with labview 6.0.2.
    what i did is:
    1) created vi containg the xy graph that in his VI property (printing Options) i checed the"Automatically Print Panel Evry Time VI Completes Exexution"
    2) when i want to print the graph i send data to it, open his front panel and then close it.
    3) changed in "printer and fax" the printer proparty to landscape
    4) in the menu of the vi graph in "print page" i change also to landscape.
    what i got is a cramped graph but not in landscape but in portrite.
    please help me to print in landscape.
    Thanks
    Barak.

    Attached is a zip archive containing some vis showing how I print things. You'll notice that the VI that does the printing has two inputs: the data to be displayed and a reference to the graph that is going to be printed. The reference allows you to modify plot parameters on the fly. For example, change the names of one of the plots in the legend and the name will also change on the printout.
    This technique allows you to print a front panel without going to the trouble of having to open the subvis front panel, print it and then close it again.
    Mike...
    Certified Professional Instructor
    Certified LabVIEW Architect
    LabVIEW Champion
    "... after all, He's not a tame lion..."
    Be thinking ahead and mark your dance card for NI Week 2015 now: TS 6139 - Object Oriented First Steps
    Attachments:
    print_demo.zip ‏52 KB

  • Drawing a Dynamic Graph Using Java/J2EE Technology

    Dear Friends,
    I have a immediate requirement.
    I have to draw a dynamic graph based on changing statistical data(Stock market appliaction).
    Have a look at finance.yahoo.com.There we can a find a dynamic graph.The x and y axis in the graph will change according to the data it recieves without using refresh option and all ... In a periodic interval of time ,say for every 10 minutes the application have to check whether it has any changes in the statistical data it recieves (the data maybe from database or form anyother application). If it finds any changes ,automatically it should reflect those changes in the graph.
    Please help me out friends . I have been struggling with this over a period of time but am not able to resolve.
    Please provide me with any sample application and code.
    Keeping my fingers crossed.
    Thanks in Advance.

    I don't have example code, but I am sure JFree.org has lots. It's a free chart API for Java, that also works with Servlets etc.

  • How can I chose a printer to print my graph?

    hi,
    how can I chose a printer to print my graph? At the moment I can print only with the standard printer, but I want to chose different printers, because I have three printers. How can I solve this in Labview? Is there a property in the property node or a VI?

    If you have the Report Generation Toolkit you can use the Qurey Available Printers.vi to get a list of printers configured for your PC, write a vi to select from this list, and pass that printer to the Print Report.vi.
    If you don't have the toolkit, you can use the property node (located under the Application Control palette), Printing:Available Printers property to obtain a list of printer names programmatically, then write a vi to select from the list, and pass that printer to the Printingefault Printer property to set the default printer in LabVIEW programmatically.

  • Print stretched graph image

    I'm looking for a way to print a cwgraph stretched on a complete page ( larger then screen size)
    Is there one?

    To update the example code so that it behaves differently from only using half of the page like you're seeing, look at this section of the code in OnPrintBestFit:
    if (bResizeGraph) {
    // create a rectangle to resize the graph to (on the screen)
    CRect rcNew;
    rcNew.left = 0;
    rcNew.top = 0;
    rcNew.right = (long)(cInchesWide * logicalPixelsPerInchX_Screen);
    rcNew.bottom = (long)(cInchesTall * logicalPixelsPerInchY_Screen);
    // resize the graph so it will render larger (with more detail)
    // the FALSE tells it to not redraw
    m_Graph.MoveWindow(rcNew, FALSE);
    // Calculate a rectangle (in printer coordinates) to print the
    // graph in.
    rc.left = 0;
    rc.top = 0
    rc.right = (long)(cInchesWide * logicalPixelsPerInchX_Printer);
    rc.bottom = (long)(cInchesTall * logicalPixelsPerInchY_Printer);
    Adjust the calculation for the rcNew.bottom and rc.bottom according to what you want.
    - Elton

  • Dynamic graph can't be displayed when it is printed

    <font size="2"><font face="Arial">I've used crystal report xi for half an year. In recent days , I got two problems.</font></font> <font size="1"><span style="font-size: 9pt; font-family: Arial"> One is  that I directly insert a image into the rpt file as OLE object,  then I find that the image can be displayed on the report   but can be printed with ie's printing function. If I set the PrintMode with ACTIVEX mode of  the crystalreportviewer and print with activex component , the image is also visible. The system environment is that crystal report xi and RAS are installed  in the local machine, and web server is on the other machine.</span></font><font face="Arial" size="1"><span style="font-size: 9pt; font-family: Arial"> The report is invoked and displayed using crystalreportviewer component through jsp.  The other is that I want to use new feature of dynamic graphic locations, and show different images in the report with the paths which are stored in the database. I've seen the threads in the crystal report forum, and known how to set the paths of images under the unmanagered RAS. But  my situation is that I have to publish every rpt files to the BO CRS,  so I don&#39;t know where I should place the images and how to set the paths. I try publishing the image into the same folder with rpt file in the CRS, but it can't work.</span></font><font face="Arial" size="1"><span style="font-size: 9pt; font-family: Arial"> </span></font><font face="Arial" size="1"><span style="font-size: 9pt; font-family: Arial">  Thanks in advance for any help.</span></font>

    Please re-post if this is still an issue to the Java Development - Crystal Reports Forum or purchase a case and have a dedicated support engineer work with you directly

  • Print Charts/Graphs on Smart Forms

    Hi Seniors,
    Here is a requirement on Smart Forms:
    I need to print Charts on Smart Forms. I have been through many answers on SDN but unfortunately, there are not many appropriate solutions. I executed some standard reports and got Charts and graphs as output but am not able to use it to display the same on Smart Forms. I have even  tried using classes for charts / graphs, business graphics(may be there would have been some sequential procedure for that).
    In the Smart Form, I have tried Form Attributes>Output Options>Output Format--> XSF output
    with output mode: 'Spool' and Output Device: 'XSFOUTDEV' from help.sap(I couldn't get what output device that was and was unable to execute).
    I have tried executing transaction GRAL(demo reports for SAP graphics) too.
    I found a report that would produce graph in Excel, I executed it, saved the graph from excel in '.bmp' format in SE78 and then printed it on Smart Form. But all I want is to have it done dynamically.
    I saw answers that we can save the graph chart/graph onto the desktop, upload it and then display it on the Smart Forms. But, when i tried it, I saw that it could be saved only in '.dat' format. I have to save it dynamically in a supported format like '.bmp' and print it on the Smart Forms(the graph would change depending upon the input values). Please help me resolve this.
    Thanks in Advance,
    Chaitanya.

    Dear Bouman,
    Thank you for the reply. I can write a report if would helps me to upload images dynamically. I saw your program but, here we cant give the name of the chart that comes as output. I tried to save the chart but it comes in '.dat' format but not in '.bmp' format. We may be having some classes or function modules that we need to call in a particular sequence. What other options do we have. Please help me resolve this.
    Regards,
    Chaitanya.C.N

  • Can't print a graph on the whole page in landscape

    Hello!
    I have XY graph that I want to print on the whole page in landscape orientation (paper A4).
    On the screen the graph is small, so I do resizing, appending image to report, and then printing.
    After sending it to the printer I get preview (from the printer software) and see that the graph uses only approx. 5/6 of the page in the width, in other words the height of the graph takes the whole height of the page (21 cm) and the width of the graph leaves 5 cm of the page unused.
    I tried to change the width and the height of the plot area to get proper ratio, but in vain.
    If I set the height of the graph too large it goes beyond the page, but whatever I write to the width I always get 5 cm of the page unused on the right side. (not including 1 cm of the margin).
    Note: surely, if you set small width you can get more space of the page unused, I'm talking about increasing the width of the graph.
    Any ideas?
    See attached for the vi. I tried to save it for 7.1 version but it can't, so you'll need LabView 8.0 to check it.
    Also in attached you can find the page preview I get before it goes to printer.
    Thanks in advance.
    Rashid.
    Using LV 8.0 Pro on WinXP with printer Canon PIXMA iP1000 (also tested on HP printer, but I think it doesn't matter).Message Edited by Rashid on 06-06-2006 07:09 AM
    Attachments:
    Graph printing out.vi ‏40 KB
    Report preview.png ‏48 KB

    Rashid,
    It could be that you would need to install the entire LabVIEW 8.0.1 update rather than just the updated Run-Time Engine (RTE).  Here is a link to the 8.0.1 update.  If you download and install this version, you can then use the utility to mass compile or compile when you are prompted. 
    Repost if you have more questions!
    Andy F.
    National Instruments

  • How to print cproject Graph?

    hello frnds,
    i want to print graph in the cproject. here print button is given but from there i can only print the details of project. i m not able to print graph. will anybody tell me that is there any badi given to print that or not? if yes then which badi? plz reply as soon as possible. i have to urgently complete this. i also want to find out that how the details are printed. smartform is used there but which badi is called to print it? plz tell me.
    Thank you very much.
    waiting for ur reply.

    Hi Hetal,
    within cPro 3.1 the GANNT Chart can be printed out only with sorry, MS Project
    But with cPro 4.0 there exists a really cool solution to print, zoom etc the Chart.
    Regards
    Björn

  • How to print dynamic text in a window

    Hi All,
    My requirement is to print the payement in a window and which will be dynamic and will span across multiple number of pages and there is a main window which i already using to display line item details. Please suggest if there is any possible way to do this.
    Regards,
    Ashwin.

    Hi,
    Just fill one internal table with the payment details & in the main window of ur smartform.Create one table node in the main window of ur smartform & loop ur table in it.
    I hope this will help u.
    regards,
    rajesh.

Maybe you are looking for

  • Oracle 8.1.7 on Linux Suse 7.1

    Hi, One first my English is not Perfect Please dont look to Errors. Ok on the weekend i have Try to Install a 8.1.7 Database on Suse Linux 7.1 with Kernel 2.4.9. The Oracli Installer is Running after i hav Change the JRE to 1.1.8 vom Blackdown.org. T

  • In 32bit system getting exception "Could not load file or assembly 'SIPEPS, Version=5.0.0.0' "

    Hi All, We are developing a windows service for Lync user state change using UCMA 4.0. It works fine in 64 bit system but once we run the window service in 32 bit system we are getting the exception as  below. Exception  message: Could not load file

  • GRC AC 10 NWBC Work Inbox - Standard View

    I have created a personal view for the work inbox in NWBC, but would like to make that the default view for all users. Does anyone know how this can be done?

  • Help on Substitution Rule

    Hi Sappers! I am working on a substitution rule and I would appreciate some pointers from you. Requirement: Remove the GL account 12345678 from the substitution rule. This account is presently used by a lot of different cost centers and the when ever

  • Authorization SM_EFWK and SM_EXTERN_WS

    Hi everybody, could you somebody explain me, why system users SM_EFWK and SMD_RFC need change (activity 02) in authorization object AI_LMDB_OB? I found object in assinged role SAP_SOLMANDIAG_E2E, but only with activity 03 (READ). Trace analysis ST01