Displaying SVG Graph

I have developed an SVG graph that displays my XML document
(generated by an .XSQL file) in a graph.
It works perfectly on most computers that I have tried it on,
but in two cases the browser, instead of displaying the page,
asks me if I would like to download or open the file xx.xsql.
And if I open it it doesn't work.
I have put my svg code in the XSL with the following output
methode type:
<xsl:output method="html"
standalone="no"
doctype-public="-//W3C//DTD SVG 20001102//EN"
doctype-system="http://www.w3.org/TR/2000/CR-SVG-
20001102/DTD/svg-20001102.dtd"
media-type="image/svg"/>
Do anybody knows what the problem could be?

This is a well know problem of IE 5.x version.
Explorer do not use mime header to launch the or show the content, instead of use url extension mechanism, then changing your xsql pages to .svg extension will work ok.
Another solutions is to pass a dummy parameter with the .svg extension, for example http://server:port/your_path/xx.xsql?dummy=xx.svg
Look at this address for full explanation, http://support.microsoft.com/support/kb/articles/Q177/3/21.ASP
Best regards, Marcelo.

Similar Messages

  • SVG Graphs displaying wrong graph

    I have three SVG graphs which display based on the value of a hidden variable passed by clicking on a "driver" graph bar. All graphs are on the same page. Everything works fine until I have selected all the graph bars from the driver graph and then regardless of the bar I select from the driver, the dependent graphs all display the last graph shown(i.e. it's acting as if the SVG graphs are being displayed from cache). Seems like the children graphs should display correctly because the URL string changes every time a new graph bar is chosen in the driver graph. What am I doing wrong?

    Hi,
    Your requirement is explained by John
    http://obiee101.blogspot.in/2009/04/obiee-showing-zero-in-bargraph.html
    OR try below:
    '0' is not viewable. Try using any case statement for changing the '0' values to some minimum value.
    Hope this helps and resolves.
    Regards
    MuRam

  • SVG Graph problem

    I have an SVG graph with 2 series and I have 2 check boxes (let me call them Series1 and Series2 for this example) that control the display of this series. When I check Series1 , only the first series is to be displayed and on checking on series2 , the 2nd is to be displayed, if both are chcecked, both the series are displayed on the same SVG chart.
    This actually works well but the problem is that if series 2 is checked without checking series 1 only a shadow of the series 2 is displayed, I guess the SVG chart attributes determining the X,Y coordinates and labels are not being invoked. However , if series 1 is checked it is displyed correctly, a proper chart with only Series 1, and if both are checked, it displays it correctly too. But if only Series2 is checked I get a shadow of the series against a white background, though the shape of the series output is right. The graph background, the legend, the X,Y corordinates etc are missing.It looks like the chart attributes are determined from the first series and so if that is not invoked, only a shadow if the other series are displyed. Can anyone help with this?
    Thanks

    i see what you mean re the second series depending on the first. i've logged it as a bug, too, thanks. consider working around the issue for now by setting up multiple svg regions on your page that fire conditionally based on the series to be shown. so for your example case you could have three regions - one for series1, one for series2, and one for both. you could then show the appropriate region based on whether series1, series2, or both series are to be displayed.
    hope this helps,
    raj

  • It is possible to display a graph in smartforms

    Hi,
    In report , i am displaying the graph similary i want to   print the graph in smartforms.
    Plz give me details .
    Wht is spf ?
    Regards,
    Rani.

    Hi Rani,
    chech this link..
    http://searchsap.techtarget.com/loginMembersOnly/1,289498,sid21_gci1192768,00.html?NextURL=http%3A//searchsap.techtarget.com/tip/0%2C289483%2Csid21_gci1192768%2C00.html
    Reward points if helpful..
    Regards,
    Goutham.

  • How can I reduce the hight of the Legend in the SVG graph

    I need to reduce the height of the legend box in the SVG graph by 50%. From what I have read I soul be able to this with the CSS, but I can not figure it out. This is the current CSS that is in place.
    text{font-family:Verdana, Geneva, Arial, Helvetica, sans-serif;fill:#000000;}
    tspan{font-family:Verdana, Geneva, Arial, Helvetica, sans-serif;fill:#000000;}
    text.title{font-weight:bold;font-size:14;fill:#000000;}
    text.moredatafound{font-size:12;}
    rect.legend{fill:#EEEEEE;stroke:#000000;stroke-width:1;}
    text.legend{font-size:10;}
    #background{fill:#FFFFFF;stroke:none;}
    rect.chartholderbackground{fill:#ffffff;stroke:#000000;stroke-width:1;}
    #timestamp{text-anchor:start;font-size:9;}
    text.tic{stroke:none;fill:#000000;font-size:12}
    line.tic{stroke:#000000;stroke-width:1px;fill:none;}
    #dial{stroke:#336699;stroke-width:2px;fill:#336699;fill-opacity:.5;}
    #dial.alert{fill:#FF0000;fill-opacity:.5;}
    #dialbackground{stroke:#000000;stroke-width:none;fill:none;filter:url(#MyFilter);}
    #dialcenter{stroke:none;fill:#111111;filter:url(#MyFilter);}
    #dialbackground-border{stroke:#DDDDDD;stroke-width:2px;fill:none;filter:url(#MyFilter);}#low{stroke-width:3;stroke:#336699;}
    #high{stroke-width:3;stroke:#FF0000;}
    #XAxisTitle{letter-spacing:2;kerning:auto;font-size:14;fill:#000000;text-anchor:middle;}
    #YAxisTitle{letter-spacing:2;kerning:auto;font-size:14;fill:#000000;text-anchor:middle;writing-mode:tb;}
    .XAxisValue{font-size:8;fill:#000000;}
    .YAxisValue{font-size:8;fill:#000000;text-anchor:end;}
    .AxisLabel{font-size:8;fill:#000000;}
    .nodatafound{stroke:#000000;stroke-width:1;font-size:12;}
    .AxisLine{stroke:#000000;stroke-width:2;fill:#FFFFFF;}
    .GridLine{stroke:#000000;stroke-width:0.3;stroke-dasharray:2,4;fill:none;}
    g.dataholder rect{stroke:#000000;stroke-width:0.5;}
    .legenditem rect{stroke:#000000;stroke-width:0.5;}
    Please help.

    Hello,
    Well here's your fix all the code is on the page.
    http://htmldb.oracle.com/pls/otn/f?p=11933:81
    The code all goes into the chart attributes area in the onload and the header section.
    Make sure to pay close attention to the onload
    }catch(er){}try{ChangeLegendHeight();
    I was a little overzealous in catching javascript errors in the built in SVG so it doesn't work in Firefox unless you split the try and catch statements. This will get fixed in next version.
    Also this statement
    if(document){svgDoc = document;} // this fixes Adobe Vs FF difference
    should go into the first line of any custom javascript that you use in the SVG as it fixes a difference in the FF 1.5 implementation and Adobe Plugin again it will be fixed in next version.
    Making these changes should allow you to run almost any javascript in the Builtin SVG charts so it opens up a lot of possibilities for customization and adding interaction.
    Have fun,
    Carl

  • How to Generate and Display SVG Graphics in ABAP

    Hi everybody,
    I tried to complete the Tutorial "How to Generate and Display SVG Graphics in ABAP, Part 1" by Siarhei Ulasenka (https://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/ad83a990-0201-0010-d680-a189f8bc20fa).
    Unfortunately when I tried the example to display an SVG Drawing in an ABAP Report I get the error message "Es ist ein Laufzeitfehler aufgetreten, ungültiges Zeichen" (english should be something like "Runtime Error, unkown character"). But it works when I open the svgfile in a new IE Window (parameter in_place from cl_gui_html_viewer->show_url). Also when I open a svg file from the local disc it works fine.
    The code:
        CALL METHOD html_control->load_data
          EXPORTING
            url            = 'chart.svg'
            type         = 'image'
            subtype    = 'svg+xml'
          CHANGING
            data_table = lt_svg
          EXCEPTIONS
            OTHERS     = 1.
        CALL METHOD html_control->show_url
          EXPORTING
            url        = 'chart.svg'
            in_place   = 'X'
          EXCEPTIONS
            cntl_error = 1.
    Has anyone a solution? Thanks in advance for your help!
    Regards
    Kathrin

    Hello Alex,
    The Corel SVG viewer has problems loading and displaying the examples (see the list of limitations at their site). Try to use the Adobe viewer instead.
    Regards,
    Sergei Ulasenka

  • How to...download the SVG Graph in PDF format or Email it

    I have generated a line chart using SVG Graph, I need to download it in PDF format and email it.
    Please help, How do I do that ?

    FYI, Adobe has announced it will no longer support the SVG Viewer as of Jan 1st, 2009 (link), so you should probably switch over to flash charts in APEX (introduced in 3.0).
    BI Publisher supports charts embedded in PDFs. You can also have the PDF automatically emailed via this technique.
    Tyler
    Message was edited by:
    Tyler

  • Display only graph in the Crystal report viewer

    Background:
    We used Crystal Reports ver10 to display various graphs in our ASP.Net 2.0 Web Application (Visual Studio 2005)
    We recently migrated our application to .NET 4.5 and Crystal Reports ver13 (Visual Studio 2012)
    Issue:
    Now, the Crystal Report Viewer control loads the graph inside an <IFRAME> which shows the whole page with the graph placed on the right bottom corner instead of just the graph image as it used to previously.
    I have checked various properties that hides the tree and the toolbar and I am unable to get rid of the whole page.
    Query:
    Is there a way to not display the page and display only the image that contains the graph? OR
    Is there a way to not render the whole <iframe> and just display the graph image inside a <div> as it used to happen before?

    Hi Ludek, thanks for your response. Please refer the screenshots below.
    1) CR ver10 - the graph <img> is simply enclosed inside a div
    2) CR ver13 - the graph <img> is enclosed inside an <iframe>'s body - you can also see the scroll bars and "white-page-background" and "grey space" which I am hoping to hide or disable
    3) We are using the same set of CRViewer properties in both cases:
    - DisplayGroupTree = False
    - DisplayToolbar = False
    - HasDrillUpButton = Flase
    - HasRefreshButton = False
    - HasToggleGroupTreeButton = Fasle
    - HasViewList = False
    - HasZoomFactorList = False
    - EnableViewState = True
    4) Here's a screenshot of of the .rpt file opened in the VS 2012:
    We only want to render the graph image on the UI and not the whole page. Is there a property setting that will help us achive this or should we define explicit CSS styles to hide those areas?
    Thank you for looking into this!
    Avrosh

  • Displaying custom graph in ALV report

    Hi
    Can you tell me how to display a custom graph for a column in a alv report.
    That is adding a seperate button in the report and display a graph for a column when the button is clicked.
    If 'Graph_2d' function module is used can anybody tell how to pass values to the function module and display the graph using the function module.
    Thanks & regards
    Saravanakumar

    Hi,
      check out the standard program GRDEMO_D for more understanding of teh usage of FM GRAPH_2D
    regards,
    theja

  • Displaying a graph in a seperate VI

    I want to display a graph in seperate window (VI) but I also like to
    enable/disable this window. Is there a possibility to switch on or of the
    VI's frontpanel from within the program?
    Johan van Hespen

    Hi Johan,
    There's also the possibility to use a tab-control (You would be in need of
    LabView 6i) . Look for an example in which it is used at:
    FIR filtering using Optional Specs.vi.
    Ronald
    Johan, ik neem aan dat je een beetje te weinig ruimte op je beeldscherm hebt
    om alle graphs te displayen. In dit geval kan het gebruik van de tab-control
    (geintroduceerd in LabView 6i) erg handig zijn. Dat wat je niet wilt
    zien..... Een leuke 3D versie daarvan vind je overigens in 'array and
    clusters' op je controls pallet
    Groet,
    Ronald
    Johan van Hespen schreef in berichtnieuws
    [email protected]..
    > I want to display a graph in seperate window (VI) but I also like to
    > enable/disable this window. Is there a possibility to switch on or of
    the
    > VI's frontpanel from within the program?
    >
    > Johan van Hespen
    >
    >

  • Oracle reports output in excel format does not display the graphs

    Oracle reports output in excel format does not display the graphs: "linked image cannot be displayed".
    The output file in PDF format the graph is supported.

    Do you have any header and footer on your template?
    If you have any header and footer then try to adjust it as of to display full page.
    Thanks
    Yasar

  • SVG graph maker

    I am working on a program that will generate 'clean' svg (vector graphics) graphs from data sets.
    It is still very much in it's infancy - so much so that I would not even yet announce it except for the fact that it came up in another discussion.  I figured I could open this thread to move the svg discussion here.
    My current plans are for relatively simple barplots and scatter/line plots.  I'd like them to remain simple as they are created in such a way that they can be easily edited by the user after the fact.
    This is in contrast to other tools I have used to create svg image files.  The R statistical package will create svg graphs, and programs like inkscape (or illustrator) can "trace" most image files to produce a vector image.  I see two major drawbacks of these methods.  First they create *enormous* files due to an extensive and unnecessary use of svg 'paths'.  Secondly, the resulting files may look good, but they are very hard to edit because 1) they are huge, and 2) they are quite 'convoluted' - if one looks at the resulting code, it is essentially unreadable.
    I don't really see this as a criticism of the existing methods - as they do what they are supposed to.  My goal is to create a tool that does something different: create the skeleton of svg code that is easily human-readable and human-editable.
    Prior to starting this tool I would make my svg's "by hand" with just a text editor.  By doing it this way I had complete control over the results, and my graphs would be several orders of magnitude smaller than similar ones generated by R or inkscape.
    A bar graph, for example, can be some CSS styling, a couple axes, and some '<rect>'s for bars.  This could be just a dozen lines of svg code.  R, in contrast, would generate thousands of lines of svg '<path>'s for the same  result.
    Later today I will get what I have so far up on my drop-box.  But I want to warn, again, that due to the expedited posting of this topic, the program is far from even "beta" ready.   I have tested it to generate some nice simple bar graphs currently with no axis labels, no error bars, nothing: just an x + y axis, and the data bars.
    I'll put the dropbox link here, and post updates here.  I'd love to get feedback or feature requests once this gets rolling.
    EDIT: here's the source
    Last edited by Trilby (2012-01-14 21:33:10)

    To follow up - I still suspect when this tool is doing what I want it to, I will still edit my svg's by hand in a text editor.  The primary goal of this tool is to automate many of the repetitive steps of coordinate conversions, and laying out the groups and tags appropriately.

  • Display LabVIEW graphs in realtime from previously acquired data

    I have some raw LabVIEW data stored in a BIN file. This file contains about 4 channels of labview graph data that was acquired. How can I open the raw LabVIEW data and view the four steams in realtime? I need to be able to view the data as it scrolls across in the same way as when the data was acquired. Is there a program or premade VI to do this?
    I will then use screen capture software to create videos of the labview graphs. If there is a way to directly convert the visual labview graph data into a video that displays the graph in the same way it was collected that would be ideal. For now I would be happy just getting the data displayed in the same way as it was collected.

    I'm sure this has been asked before, but I am having a hard time finding the other messages.
    Basically you need to create a VI that reads in the binary data from the file.  You also need to know the acquistion rate for that data, what is the dt between data points.  Now feed that data into a for loop (auto-indexed) that feeds the data one point at a time to a waveform chart.  The loop would have a wait statement equivalent to your dT of the data.  Thus the loop runs at the same rate as you had acquired the data adding a point at a time to the waveform chart.

  • How can we display svg files in flex at runtime using FileReference? Actually we are trying to load

    how can we display svg files in flex at runtime using FileReference? Actually we are trying to load the svg file from the  local directory.

    This should give you the JRE version;
    System.out.println(System.getproperty("java.version"));
    and this should tell you where its running from;
    System.out.println(System.getProperty("java.home"));
    There are loads more system properties, check the JDK documentation for java.lang.System and look at the getProperties method which has a list.
    Stewart

  • Web display of graphs through oracle 9i reports

    How do i display a graph on the web page in reports 9i.

    Hello Vijayalakshmi,
    Invoke Builder. Create a Report with layout "Web and paper layout".
    Now switch to Web Source. Go to Menu, Insert -> Graph. Graph Wizard will be invoked. Create the required graph.
    Save the report as JSP.
    Now you can run the Report throuh Builder: - > Run Web Layout and graph will be shown or browser with other data in Web Layout.
    or You can run the Report as JSP from OC4J and see the output.
    With Regards
    Sachin

Maybe you are looking for

  • ISE ise-upgradebundle-1.1.x-to-1.2.0.899.i386.tar.gz fails

    Hi, folks. Anyone here who used "ise-upgradebundle-1.1.x-to-1.2.0.899.i386.tar.gz" to upgrade his/hers ISE distributed deployment successfully ??? I have tried it, using the procedure described in the Cisco ISE Upgrade Guide 1.2, it already fails at

  • Can't import certain photos

    I scanned quite a few photos, then imported them into iPhoto, 5 of them got me the following message : " The following files could not be imported. ( The file is in an unrecognized format ) " I looked at them via Command I, and their details seem to

  • Aggregation On Value Based Hierarchy

    Hi I am having a problem with aggregation on value based hierarchy Well I have a table which will serve as my fact and dimension table It is as follows ID     Name     MID     Salary 0     All           1     A     0     10000 2     B     1     9000

  • Adding iPhone ringtone w/out losing all music/vids

    As usual, I've only done a cursory search, so if someone knows where the answer is hidden I'll be thrilled to follow where you lead I have tried dragging and dropping and can get some of my ringtones in my music on my iPhones, but not my ringtones. T

  • WAD vs VC

    What really differentiates Visual Composer from Web Application Designer? I know it depends on in-house skill set but when do we use VC and when do we use WAD? Thanks, Praveen.