Sundhar

Members
  • Content count

    16
  • Joined

  • Last visited

  • Days Won

    1

Everything posted by Sundhar

  1. I have a 100 percent stacked column chart. One of the column values in the dataset goes beyond 100.., ie.,102. The SWF auto adjusts itself, to get the maximum of 100%. Its fine. I wanted to understand what is the logic behind this., We have an export mechanism from the charts, wherein after export we find a mismatch in the data value. To avoid this, we have decided to implement the same logic as how the SWF is doing in our application, so that the generated XML will always have a maximum of 100.
  2. Hi, I was trying to create image out of our JS HTML5 chart. I have copied all the fc*.jar into my local setup and pass all necessary arguments. I was able to get everything but when I click download as JPG I get an ArrayIndexOutOfBoundsException: 1, I have also attached the svg contents that was used to export. rename the attachment from .svg.txt to .svg error in the UI width=0 height=0 DOMId=chartobject-10 statusMessage= Unable to encode buffered image. statusCode=0 But, when I change the export url to the default http://exports.highcharts.com -> I get the created image perfectly., by just changing the url pointing to my local setup it says something wrong with the image converter below is the exception i get in the console Aug 16, 2012 5:09:57 PM com.fusioncharts.exporter.servlet.FCExporter doPost INFO: actionsave Aug 16, 2012 5:10:09 PM com.fusioncharts.exporter.generators.ImageGenerator getChartImage INFO: Creating the Chart image Aug 16, 2012 5:10:59 PM com.fusioncharts.exporter.generators.ImageGenerator getChartImage INFO: Creating the Chart image java.lang.ArrayIndexOutOfBoundsException: 1 at com.fusioncharts.exporter.generators.ImageGenerator.getChartImage(ImageGenerator.java:97) at com.fusioncharts.exporter.resources.FCExporter_IMG.exportProcessor(FCExporter_IMG.java:283) at com.fusioncharts.exporter.servlet.FCExporter.doPost(FCExporter.java:216) at javax.servlet.http.HttpServlet.service(HttpServlet.java:637) at javax.servlet.http.HttpServlet.service(HttpServlet.java:717) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206) at com.manthan.multiconnection.RoleConnection.doFilter(RoleConnection.java:55) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206) at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:233) at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191) at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127) at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102) at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109) at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:298) at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:859) at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:588) at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:489) at java.lang.Thread.run(Thread.java:662) Aug 16, 2012 5:11:00 PM com.fusioncharts.exporter.generators.ImageGenerator getChartImage SEVERE: Image data is not in proper format:java.lang.ArrayIndexOutOfBoundsException: 1 suggest what could be the problem., here?? tets.svg.txt
  3. Hi, I was trying to create image out of our JS HTML5 chart. I have copied all the fc*.jar into my local setup and pass all necessary arguments. I was able to get everything but when I click download as JPG I get an ArrayIndexOutOfBoundsException: 1, I have also attached the svg contents that was used to export. rename the attachment from .svg.txt to .svg error in the UI width=0 height=0 DOMId=chartobject-10 statusMessage= Unable to encode buffered image. statusCode=0 But, when I change the export url to the default http://exports.highcharts.com -> I get the created image perfectly., by just changing the url pointing to my local setup it says something wrong with the image converter below is the exception i get in the console Aug 16, 2012 5:09:57 PM com.fusioncharts.exporter.servlet.FCExporter doPost INFO: actionsave Aug 16, 2012 5:10:09 PM com.fusioncharts.exporter.generators.ImageGenerator getChartImage INFO: Creating the Chart image Aug 16, 2012 5:10:59 PM com.fusioncharts.exporter.generators.ImageGenerator getChartImage INFO: Creating the Chart image java.lang.ArrayIndexOutOfBoundsException: 1 at com.fusioncharts.exporter.generators.ImageGenerator.getChartImage(ImageGenerator.java:97) at com.fusioncharts.exporter.resources.FCExporter_IMG.exportProcessor(FCExporter_IMG.java:283) at com.fusioncharts.exporter.servlet.FCExporter.doPost(FCExporter.java:216) at javax.servlet.http.HttpServlet.service(HttpServlet.java:637) at javax.servlet.http.HttpServlet.service(HttpServlet.java:717) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206) at com.manthan.multiconnection.RoleConnection.doFilter(RoleConnection.java:55) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206) at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:233) at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191) at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127) at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102) at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109) at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:298) at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:859) at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:588) at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:489) at java.lang.Thread.run(Thread.java:662) Aug 16, 2012 5:11:00 PM com.fusioncharts.exporter.generators.ImageGenerator getChartImage SEVERE: Image data is not in proper format:java.lang.ArrayIndexOutOfBoundsException: 1 suggest what is the problem., here?? tets.svg.txt
  4. pls refer http://forum.fusioncharts.com/topic/12308-pure-html-js-chart-fails-in-server-side-export for more info on this discussion.
  5. Hi Bindu, Thanks for clarification., I understood the limitation., Do u have any official page that has these limitations mentioned? Regards Sundhar
  6. Hi Bindhu, Yes, I followed the docs that was mentioned in the URL that u gave.., but that was specific to a local server that has PHP setup. But, I am using a J2EE server., so I cannot apply the same steps that was mentioned., Do u have any other docs specific to exporting Pure JS chart to image via J2EE server. As, Victor said I doubt if FCExporter servlet supports Pure JS charts exporting to image/pdf? Can you pls confirm the same? Regards Sundhar
  7. Hi, I wanted to render scroll stacked column 2D chart; by setting stack100Percent="1" too, the Y-Axis scale goes beyond 100%. I want the Y-Axis scale to be exactly 100% irrespective of the data values. can you suggest what could be the reason for this? Have attached the xml along with this and the wrong y-axis scaling image... Regards Sundhar stacked scroll 100 percent.xml
  8. for a column chart having negative y-axis values, if i set numdivlines as "3" the divisions in the chart looks fine., but the y-axis zero line is shown, which creates confusion that it may be a another division., though its not a division., have attached the snapshot.., in this., yAxisMinValue="-25" yAxisMaxValue="113" numDivLines="2".. is there any way to hide the y-axis zero line., suggest is there any other way to solve this problem...
  9. Numdivlines Collides With Y-Axis Zero Line

    thanks sumedh, this solves my problem. as u said I will use have to user divLineAlpha="3" zeroPlaneAlpha="60" to get the desired thing.., -- Sundhar
  10. Numdivlines Collides With Y-Axis Zero Line

    by setting divLineAlpha="3" the yaxis division lines brightness is very less., as like it is not there.,. fine but the same is getting applied for y-axis zero point line too, does that mean y-axis zero point line is also considered as a division???
  11. Numdivlines Collides With Y-Axis Zero Line

    any updates/suggestions on this ?
  12. Numdivlines Collides With Y-Axis Zero Line

    hi, attached the xml content., - SUndhar negative divisions.xml
  13. Hi, I wanted to know the default colors that gets applied to all the charts? Is there a way where I can get this detail? -- Sundhar
  14. Default Chart Colors

    Hi, Thanks for the info. The attached sheet looks like the default colors for 2D charts. Does this mean, the 3D charts has different default coloring system.? In addition to that, the excel sheet coloring system based on palette.., Do u have the same info based on chart types? Thanks sundhar
  15. Hi, I wanted to know if STackedBar charts supports labelDisplay attribute or not? From the docs, I understand it is not supported. but is there any other way can we handle the x-axis label display as like stacked column charts? kindly suggest. regards sundhar