on 08-05-2010 1:01 PM
Dear,
I'm having trouble generating a dashboard that uses the SVG graphic
I put the following code in html page referring to the graphic of SVG
<APPLET NAME="Untitled" CODEBASE="/XMII/Classes" CODE="AnimatedObject" ARCHIVE="illum8.zip" WIDTH="170" HEIGHT="170 " MAYSCRIPT>
<PARAM NAME="QueryTemplate" VALUE="ENDEAVOUR_DEV_TECH/Dashboards/Sinter/Queries/QUERY_SinterChemicalAnalysis">
<PARAM NAME="DisplayTemplate" VALUE="ENDEAVOUR_DEV_TECH/Dashboards/Sinter/Visual_Components/SVG_PercentGauge">
</APPLET>
But the graphic is not showing in Internet Explorer.
I get the following error:
load: class AnimatedObject not found.
java.lang.ClassNotFoundException: AnimatedObject
at sun.applet.AppletClassLoader.findClass(Unknown Source)
at java.lang.ClassLoader.loadClass(Unknown Source)
at sun.applet.AppletClassLoader.loadClass(Unknown Source)
at java.lang.ClassLoader.loadClass(Unknown Source)
at sun.applet.AppletClassLoader.loadCode(Unknown Source)
at sun.applet.AppletPanel.createApplet(Unknown Source)
at sun.plugin.AppletViewer.createApplet(Unknown Source)
at sun.applet.AppletPanel.runLoader(Unknown Source)
at sun.applet.AppletPanel.run(Unknown Source)
at java.lang.Thread.run(Unknown Source)
Caused by: java.io.IOException: open HTTP connection failed.
at sun.applet.AppletClassLoader.getBytes(Unknown Source)
at sun.applet.AppletClassLoader.access$100(Unknown Source)
at sun.applet.AppletClassLoader$1.run(Unknown Source)
at java.security.AccessController.doPrivileged(Native Method)
Can you help me?
Hi Sergio,
1- Create a transaction that generates image form animation renderer and image saver action.
2- Schedule transaction
Periodically running transaction saves image with same name but different measure (For example: web:
WEB\SpeedoMeter.gif)
3- Create irpt file and use javascript to refresh image
Regards.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi folks,
I followed the document http://www.sdn.sap.com/irj/scn/weblogs?blog=/pub/wlg/5952. [original link is broken]
In step 5 of this document I put the following code:
How do I create the link with query QUERY_SinterChemicalAnalysis and the image of SVG?
Regards,
Sérgio Salomã
if you look at this blog [Get started with Dynamic Graphics in xMII 11.5|http://www.sdn.sap.com/irj/scn/weblogs?blog=/pub/wlg/5952] [original link is broken] [original link is broken] [original link is broken];
In Step 5 itself a Javascript Code is provided a Javascript function
function doit()
this function will call the Xacute Query at an interval of every 1000 milliseconds,every time the Xacute Query is called it will send out latest data and it will refresh the image.
Use the JavaScript function provided in the blog and adjust code with your Xacute Query and Image name
Hope this helps!!
Regards,
Adarsh
may be [this post |http://searchsap.techtarget.com/tip/Getting-started-with-Dynamic-Graphics-in-xMII-115] (though its for 11.5) will help you understanding svg graphics and there use in MII.
Best Regrads,
Musarrat
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
I assume you hand typed this, because the code="AnimatedObject" is invalid. You're confusing the java applets with SVG images. The rendering for SVG images is done inside the Workbench in a transaction and showing the eventual picture on a web page is normally done with a standard html img tag referencing the image file.
http://help.sap.com/saphelp_xmii120/helpdata/en/44/7a871adb0b6573e10000000a11466f/frameset.htm
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
11 | |
6 | |
2 | |
1 | |
1 | |
1 | |
1 | |
1 | |
1 | |
1 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.