Class to generate chart

i need a class to help me generate a chart from a array and export it into an image (png, jpg) ;
i'm searching with google but i didn't find ;
does anybody used this?
with a good api and also free
thanks
Edited by: alin19 on Jan 21, 2010 12:50 PM
Edited by: alin19 on Jan 21, 2010 12:52 PM

Yeah, that's one of the things about open source projects. If you set up a little project which does something useful, you can't just say "Okay, it's done" and stop working on it. Because then people are going to say "Oh, that project hasn't been changed since 2007" and they won't use your project. And it will get lost in the noise on the web. So you've got to keep working on it ("bloating" is the impolite word for the process) so that people will still notice it.

Similar Messages

  • How to Generate Chart (line chart, bar chart)!

    I want to generate Graphic Chart using Java,(e.g. line chart, bar chart).
    Is any Class can easy to generate Chart??
    thanks!

    petes1234 wrote:
    meacod wrote:
    Dimpu wrote:
    i need the source code how to generate the graphs using the Java
    Give me teh codes?
    And yes, this thread is old.Also note how the poster here politely requests help along with the use of the word "please". Very instructive. He'll get far here.Indeed, you are wise in the ways of the fool **bows politely**

  • Error Generating Chart

    Anyone know how to fix the error below.
    Trying to use the option to generate a chart from the pivot table controls.
    Error Generating Chart
    Assertion failure: nRequestedLayer < m_vLayerPositions.size() at line 979 of ./project/webcharts/chartdatatable.cpp
    Error Details
    Error Codes: OQ78YWIW

    Restart OC4J and check.
    It worked with me. I am using OBIEE 10.3
    manohar rana

  • Error Generating Chart on Windows XP professional

    Good day all,
    I do not understand why I can not create charts, I can view the data in tables and perform other operations but I cal not view charts using the available data.
    Any time i try it, the error comes up
    Error Generating Chart
    An error occurred during execution of "connect". No connection could be made because the target machine actively refused it.
    Error Details
    Error Codes: ETI2U8FA
    can anyone help out.

    The java host service was not started.

  • Error Generating Chart on Solaris

    We're running OBIEE 10.1.3.2.1 on Solaris 10 and receive the following error when creating charts:
    Error Generating Chart
    An error occurred during execution of "send". Broken pipe [Socket:16]
    Error Details
    Error Codes: ETI2U8FA During install we used JDK1.5.0_07, I've now installed JDK1.6.0_01 and changed the instanceconfig.xml file so it points to the new JDK1.6.0_01 environment. After restarting the presentation service (run-saw.sh), the error still exists.
    Does anyone know what might be the issue? Do I've to change the JDK-version also on other locations?
    Michael

    Solved by changing the common.sh in the <OracleBI>/setup directory, this file holds the JAVA_HOME-path. After editing restart the run-sa.sh and run-saw.sh.
    Michael

  • Cannot generate chart in PDF using BI Publisher

    I have a java program to generate chart in PDF using BI publisher. In some platforms the chart cannot be generated. Get the following exception.
    [061812_075947838][][ERROR] java.lang.reflect.InvocationTargetException
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
    at java.lang.reflect.Method.invoke(Method.java:597)
    at oracle.apps.xdo.template.rtf.img.RTFChartUtil.invokeMethod(Unknown Source)
    at oracle.apps.xdo.template.rtf.img.RTFChartUtil.generateChartAsBase64(Unknown Source)
    at oracle.apps.xdo.template.rtf.XSLTFunctions.chart_svg(Unknown Source)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
    at java.lang.reflect.Method.invoke(Method.java:597)
    at oracle.xdo.parser.v2.XSLExtFunctions.callStaticMethod(XSLExtFunctions.java:111)
    at oracle.xdo.parser.v2.XPathExtFunction.evaluateMethod(XPathExtFunction.java:307)
    at oracle.xdo.parser.v2.XPathExtFunction.evaluate(XPathExtFunction.java:226)
    at oracle.xdo.parser.v2.XSLValueOf.processAction(XSLValueOf.java:101)
    at oracle.xdo.parser.v2.XSLNode.processChildren(XSLNode.java:417)
    at oracle.xdo.parser.v2.XSLResultElement.processAction(XSLResultElement.java:180)
    at oracle.xdo.parser.v2.XSLNode.processChildren(XSLNode.java:417)
    at oracle.xdo.parser.v2.XSLResultElement.processAction(XSLResultElement.java:180)
    at oracle.xdo.parser.v2.XSLNode.processChildren(XSLNode.java:417)
    at oracle.xdo.parser.v2.XSLResultElement.processAction(XSLResultElement.java:180)
    at oracle.xdo.parser.v2.XSLNode.processChildren(XSLNode.java:417)
    at oracle.xdo.parser.v2.XSLResultElement.processAction(XSLResultElement.java:180)
    at oracle.xdo.parser.v2.XSLNode.processChildren(XSLNode.java:417)
    at oracle.xdo.parser.v2.XSLTemplate.processAction(XSLTemplate.java:191)
    at oracle.xdo.parser.v2.XSLStylesheet.execute(XSLStylesheet.java:512)
    at oracle.xdo.parser.v2.XSLStylesheet.execute(XSLStylesheet.java:489)
    at oracle.xdo.parser.v2.XSLProcessor.processXSL(XSLProcessor.java:271)
    at oracle.xdo.parser.v2.XSLProcessor.processXSL(XSLProcessor.java:155)
    at oracle.xdo.parser.v2.XSLProcessor.processXSL(XSLProcessor.java:192)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
    at java.lang.reflect.Method.invoke(Method.java:597)
    at oracle.apps.xdo.common.xml.XSLT10gR1.invokeProcessXSL(Unknown Source)
    at oracle.apps.xdo.common.xml.XSLT10gR1.transform(Unknown Source)
    at oracle.apps.xdo.common.xml.XSLT10gR1.transform(Unknown Source)
    at oracle.apps.xdo.common.xml.XSLTWrapper.transform(Unknown Source)
    at oracle.apps.xdo.template.fo.util.FOUtility.generateFO(Unknown Source)
    at oracle.apps.xdo.template.fo.util.FOUtility.generateFO(Unknown Source)
    at oracle.apps.xdo.template.FOProcessor.createFO(Unknown Source)
    at oracle.apps.xdo.template.FOProcessor.generate(Unknown Source)
    at com.edocs.common.reporting.batch.BatchEventHandler.generatePDFFile(BatchEventHandler.java:327)
    at com.edocs.common.reporting.batch.BatchEventHandler.processBatchRequest(BatchEventHandler.java:252)
    at com.edocs.common.reporting.batch.BatchEventHandler.service(BatchEventHandler.java:136)
    at com.edocs.common.reporting.tasks.batchprocessor.BatchReportProcessorTask.executeInternal(BatchReportProcessorTask.java:126)
    at com.edocs.common.reporting.tasks.batchprocessor.BatchReportProcessorTask.doProcessTask(BatchReportProcessorTask.java:46)
    at com.edocs.pwc.tasks.CommonTask.processTask(CommonTask.java:166)
    at com.edocs.common.reporting.tasks.batchprocessor.BatchReportProcessorTask_9qwgr6_EOImpl.__WL_invoke(Unknown Source)
    at weblogic.ejb.container.internal.SessionRemoteMethodInvoker.invoke(SessionRemoteMethodInvoker.java:40)
    at com.edocs.common.reporting.tasks.batchprocessor.BatchReportProcessorTask_9qwgr6_EOImpl.processTask(Unknown Source)
    at com.edocs.common.reporting.tasks.batchprocessor.BatchReportProcessorTask_9qwgr6_EOImpl_WLSkel.invoke(Unknown Source)
    at weblogic.rmi.internal.activation.ActivatableServerRef.invoke(ActivatableServerRef.java:85)
    at weblogic.rmi.internal.BasicServerRef$1.run(BasicServerRef.java:522)
    at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:363)
    at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:146)
    at weblogic.rmi.internal.BasicServerRef.handleRequest(BasicServerRef.java:518)
    at weblogic.rmi.internal.wls.WLSExecuteRequest.run(WLSExecuteRequest.java:118)
    at weblogic.work.ExecuteThread.execute(ExecuteThread.java:209)
    at weblogic.work.ExecuteThread.run(ExecuteThread.java:178)
    Caused by: java.lang.NoSuchMethodError: oracle.dss.util.CustomStyle.<init>(Ljava/io/InputStream;)V
    at oracle.dss.graph.CommonGraph.setStyleStream(CommonGraph.java:10774)
    at oracle.dss.graph.CommonGraph.setStylePath(CommonGraph.java:10743)
    at oracle.dss.graph.CommonGraph.setStylePathXML(CommonGraph.java:12138)
    at oracle.dss.graph.CommonGraph.setXML(CommonGraph.java:13348)
    at oracle.dss.graph.CommonGraph._setXML(CommonGraph.java:15821)
    at oracle.dss.graph.CommonGraph.setXML(CommonGraph.java:14751)
    at oracle.dss.graph.Graph.setXML(Graph.java:5243)
    ... 60 more
    In office word bi publisher plugin, load the xml, the chart can be generated.
    The above exception only occurs in some linux and solaris platforms, but never occurs in windows.
    The following plateform throws exception.
    Oracle Linux Server release 5.6 + java version "1.6.0_25"
    The following plateform doesn't throw exception.
    Enterprise Linux Enterprise Linux Server release 5.4 (Carthage) + java version "1.6.0_05"
    The strange thing is in those platforms which can throw exception, if the code is not running in EJB, the chart still can be generated.
    In other words, if the normal web or standalone app invokes that program; the chart can be generated.
    The java code is as below.
         public static void generate(String inputXML, String pdfTempPath, String outputPDF) {
              Reader reader = null;
              try {
                   File xmlFile = new File(inputXML);
         reader = new BufferedReader(new InputStreamReader(new FileInputStream(xmlFile), "UTF-8"));               
              ByteArrayOutputStream tmpXSL = new ByteArrayOutputStream();           
              RTFProcessor rtfProcessor = new RTFProcessor(pdfTempPath);
                   rtfProcessor.setOutput(tmpXSL);
                   rtfProcessor.process();           
              ByteArrayInputStream in = new ByteArrayInputStream(tmpXSL.toByteArray());
              FOProcessor processor = new FOProcessor();
              processor.setData(reader);
              processor.setTemplate(in);
              processor.setOutput(outputPDF);
              processor.setOutputFormat(FOProcessor.FORMAT_PDF);           
              processor.generate();
              catch(Exception e) {
                   e.printStackTrace();
              finally {
                   try {
                        if(reader!=null) {
                             reader.close();
                   } catch (Exception e) {
    Can anyone explain why this exception is thrown?
    Thanks a lot.

    Hello Tux Dueñas,
    I think you need to have ACL's setup in Oracle 11g in order to be able to connect to the BI Publisher server. Check the following link on how to setup ACL's in 11g...
    http://download.oracle.com/docs/cd/B28359_01/server.111/b28300/afterup.htm#BABFCBJI
    Thanks,
    Machaan
    Edited by: Machaan on Jan 25, 2011 11:49 AM

  • OBIEE Error Code: KQNW64YZ (Error Generating Chart)

    Hi All,
    I'm getting an error on a few of my reports:
    Error Generating Chart
    The queue for the thread pool ChartThreadPool is at it's maximum capacity of 512 jobs.
    Error Codes: KQNW64YZ
    I'm on Windows 7 operating system and currently still using OBIEE 10G.
    Any ideas on what may be causing this issue? Seems like it is intermittent at times as well.

    Hi ,
    Adding following entry in your "instanceconfig.xml " , may help :
    <JavaHost>
    <JVMOptions>-Xms128m -Xmx256m </JVMOptions>
    </JavaHost>
    might help with performance, but will not necessarily resolve the issue, unless the number of charts per page is reduced.
    Other recommendation would be editing the config.xml file as below:
    Example:
    <OracleBI>/web/javahost/config
    <XMLP>
    <InputStreamLimitInKB>8192</InputStreamLimitInKB>
    </XMLP>
    Thanks

  • Generating charts from jsp

    Hi there,
    i am a jsp novice and i am looking to generate chart using data in a dbase. can anyone point me in the right direction how to use JChart(in jsp) to generate chart from a database? I am looking to generate Barcharts and Line charts.
    it is my first attempt and i do not know where to start from. Any help would be greatly appreciated.
    thanks
    ravikiran
    mail : [email protected]

    hai man,
    will generating of the graphs take time... what will be the execution tie of a graph... for example if i want to generate the work performance of a team from the performance sheet i have and wanted it to be dynamically displayed( how much time it will take) since when I am doing the same in excel it is taking around 5 minutes to display the graph.will it take the same time when i use the technologies that were mentioned here ...
    i need ur help is it possible to generate the graphs online with dynamic data.
    SUGGEST ME ABOUT PROCEEDING FURTHER..
    THANKS
    RAVI

  • Dynamically Generating Charts

    I need to be able to generate charts in APEX 3.01 from a SQL query which doesn't exist until it's built at runtime.
    The query is of the form:
    SELECT null link, x label, count(*) value FROM y table GROUP BY label, value ORDER BY 3 DESC
    x and y are the dynamically generated bits. I build the query using a PL/SQL anon block:
    DECLARE
    myquery VARCHAR2(4000);
    BEGIN
    myquery := 'select null link,';
    myquery := myquery || :P39_MYCHARTQUERY;
    myquery := myquery || ' label, count(*) value from ';
    myquery := myquery || :P39_MYCHARTTABLE;
    myquery := myquery || ' group by label, value';
    myquery := myquery || ' order by value desc';
    htp.print(myquery);
    END;
    The problem is, APEX charts will only accept a straight SQL query, not a PL/SQL block. I've tried putting the block into a hidden field (Display as Text, PLSQL version) and referencing it using substitution strings (&variable_name. style), but this doesn't seem to work. APEX is complaining about my generated SQL query:
    "Error in rendering chart: ORA-06561: given statement is not supported by package DBMS_SQL"
    The SQL looks correct. I have no idea what the problem is. Can anyone help?

    That's an interesting blog post. I'll have to dig around in SQL Workshop to see how to implement it. Modifying it to be multi-variable looks like it shouldn't be too difficult. Teaching myself about what packages are and how to use them will be the hard part.

  • Generating charts in batch

    Hi!
    I have the requirement to generate charts/graphs as image files in batch (hundreds of them in one batch). This chart images should be stored in table's blob column or in files on server's file system and later used for viewing on "static" web pages. This batch will be triggerd by cliking on button by a user or without user interaction from scheduler.
    How can ADF charts can be used for this purpose?
    So, is there any Java API for generating charts without GUI (like ChartDirector for JSP/Java http://www.advsofteng.com/cdjava.html)?
    Regards,
    Sašo Celarc
    Edited by: Sašo Celarc on Jun 22, 2011 2:37 AM

    I found the oracle.dss.graph.Graph (http://download.oracle.com/docs/cd/E14571_01/apirefs.1111/e12063/oracle/dss/graph/Graph.html). As understood this package exists behind ADF Charts? Am I right?
    Are there any useful examples how to use methods from this package?
    Sašo

  • Java Class not generated by jax-ws Weblogic 10.3 if empty xs:enumeration

    Hi everyone!
    I discovered tricky problem. I've defined
         <xs:simpleType name="MyType">
              <xs:restriction base="cm:ValidStringType">
                   <xs:enumeration value="TRG"/>
                   <xs:enumeration value="TRM"/>
                   <xs:enumeration value="TMP"/>
                   <xs:enumeration value="TMV"/>
                   <xs:enumeration value="SFL"/>
                   <xs:enumeration value="PRQ"/>
                   <xs:enumeration value=""/>               
              </xs:restriction>
         </xs:simpleType>
    in some.xsd where
    <xs:simpleType name="ValidStringType">
    <xs:restriction base="xs:token">
    <xs:pattern value="([A-Z\p{S}\p{P}\d\s]){0,255}"/>
    </xs:restriction>
    </xs:simpleType>
    Problem is MyType.java is not generated now at all.
    But if I remove last entry <xs:enumeration value=""/> when the class gets generated.
    We are migrating from Weblogic 9.2 Java 1.5_11 and jaxrpc into
    Weblogic 10.3 jdk 1.6_14 and jaxwc-2.0.jar.
    Is that a bug in weblogic.wsee.tools.anttasks.WsdlcTask? I use it to generate source code files.
    Or jax-ws 2.0 has some limitations that <xs:enumeration value=""/> is not supported?
    So any ideas how to fix my situation?
    Here is the part of my build.xml
    <taskdef name="wsdlc" classname="weblogic.wsee.tools.anttasks.WsdlcTask" classpath="${wl103.dir}/server/lib/weblogic.jar"/>     
              <wsdlc verbose="on"
                   srcWsdl="${basedir}/../definitions/wsdls/mywsdl.wsdl"
              destJwsDir="${comp_wsdl.dir}"
              destImplDir="${generated.sources.dir}"
                   type="JAXWS">
                   <binding dir="${basedir}" includes="${binding.files}"/>               
         </wsdlc>
    Note all paths are correct.
    Thanks a lot
    Igor
    Edited by: user461997 on Jun 19, 2009 1:54 PM

    That's a problem.
    Other classes just complain that MyType class was not found.
    MyType.java file simply was not generated by wsdlc ( classname="weblogic.wsee.tools.anttasks.WsdlcTask ).
    There is no direct messages giving clue why MyType.java file was not generated.
    Is any verbose, diagnostic to turn on etc. tricks to get more generation process info?
    Are anywhere good articles reviling in-depth the process of generating java source code files by WsdlcTask and using javax.jws_2.0.jar
    in my case?
    For me it's an emergency. So if anybody can give some ideas?
    Is that a bug in weblogic.wsee.tools.anttasks.WsdlcTask which does not like empty xs:enumeration value="" ? I use it to generate source code files.
    Or jax-ws 2.0 has some limitations that <xs:enumeration value=""/> is not supported?
    Thanks a lot
    Igor
    Edited by: user461997 on Jun 22, 2009 7:10 AM

  • Proxy class sometimes generate bean class by webmethod name

    Hi,
    I have designed a wrapper for my proxy classes for our project Web logic integration into Siebel
    I found that during generation of proxy classes, the generated proxy class contain a bean class which is named same as the exposed web service method name, which I use to get the parameter name of method thru reflection from this generated bean class. But sometimes it doesn't generate this bean class at all, i don't know the reason why it does so.
    Can any one let me know why this happens so,or is there any way that i can get this bean class in the name of exposed web service method name get generated always.
    Also I want to know how to keep generated the webparam annotation for the for the exposed webemethods> Is that controlled by the web service provider?
    Thanks
    Krishnakumar (Siebel Core - Web logic integration)
    [email protected]

    It depends on the service style used by the WSDL, the class wrapping the webservice operation is generated only for document literal wrapper style.

  • Generating charts/diagrams based on resultset with wrapped java?

    Hi!
    We have some pl/sql (in an 8.1.7 db) that generates html-pages.
    Some results should be opened in an new window displaying an chart based
    on an resultset.
    How to do that?
    /Bjørn

    That is exactly the point I was trying to make, I actually forgot about this thread, because the problem at hand went on the shelf for the moment. To reformulate:
    1. I have only certain parts of the RSA key, but enough parts to determine a valid private/public key pair.
    2. Now I want to generate the missing parts on the card. The JC API requires all the parts to be supplied, it is not possible to provide only partial (but determining the whole key) key information. The KeyPair class can only retain the public exponent during key generation, but not the other parts (according to the specs and my own tests).
    3. My wild guess is that it would probably be doable without too much hassle with host JCE, but it's not an option for me, it has to be done on the card.
    4. I could try to write my own Java Card code that would do this based on, say, openssl implementation, but now I am too lazy, so that's why I asked if somebody possibly has the code that does this.
    Cheers,
    Woj

  • Not able to see the generated chart image

    I'm using Oracle 6i Reports and Oracle 9i dtabase to generate a report with graphs embedded. I'm able to view the tables populated with exact values but cannot see the graph. The chart image and html generated are placed correctly in the directory pointed to cahedir, but yet I'm not able to see the image. Can you tell me how to congifure the Html output from the server. The server is introducing a base tag pointing to a different location. Can I change the location.

    HI
    It is still not showing image. Messsage coming is "Right Click Here to Download Pictures. To help protect your privacy. Outlook prevented automatic download to this picture from the internet."
    Thanks & Regards,
    Ravi Grover

  • Error on generating charts

    Hi all,
    When I execute a large query, it works fine with Answers but not when try to generate a chart.
    Someone knows if there is some parameter where I can increase the maximum number of rows to generate a chart?
    Thanks in advance
    Victor.

    Hello Swamkrishna,
    The translation from spanish to english would be something like: exceeded the maximum number of records.
    Thanks
    Victor.

Maybe you are looking for

  • FMLE and windows 7

    fmle is compatible for windows 7? because  I have  windows 7 and my fmle no broadcast the audio to the movie in windows vista  de run better

  • Slowdown observed in gcc 4.8.0-1 vs 4.7.2-4

    Not sure where the appropriate section is for this post.  Mods feel free to move elsewhere. tl; dr Conclusions: 1) gcc 4.8.0 compiles ~ 5% slower than gcc 4.7.2 compiles. 2) gcc 4.8.0 produces kernels that run slower when compiling than kernels produ

  • My photo stream contains nothing after the first few weeks. How can I get it going again?

    I got my iphone on Dec 18, but it has no pictures or videos made after Jan 11.  How can I get the more recent media on photo stream? TIA

  • Blur faces in iMovie 11

    I have a short movie clip where I need to blur the faces of participants in a group therapy session. How can I do this in iMovie 11?

  • Web report on excel sheet

    hi, my scenerio is - i have 5 Bex reports to which i am placing them on single web report. so in web i will see diferent 5 reports one below another...   now, i want this web report to be transferred to my excel sheet and that to in to single excel s