-
Content count
943 -
Joined
-
Last visited
-
Days Won
3
Everything posted by srividya_sharma
-
Generating images on a scheduled mode
srividya_sharma replied to srividya_sharma's topic in FusionCharts and JSP
Hi Saving the chart as an image on the Server-side is possible with the latest version of FusionCharts. Currently, each chart can be saved as a separate image on the server. If you want to save multiple charts into a single file, you would need to do some coding - currently we do not have available code in JSP for this. On another note, you could load the charts in all the tabs when the page loads, in which case, the chart would exist, even though not visible. You could automate the export of the chart using javascript. Hope this answers all your questions. Srividya -
Need to call js function on entire chart.
srividya_sharma replied to anila's topic in FusionCharts and JSP
Hi Anila, Please attach the code. Thanks Srividya -
Hi Anila, please use <set value='' /> for empty datasets.
-
Doubt about Xml data,which is passed to chartCode method
srividya_sharma replied to anila's topic in FusionCharts and JSP
Hi Anila, The root element has to be <chart>. Srividya -
Hi Anila, You have used double quotes for attribute values- within a string, this will cause error. Please use single quotes. Srividya
-
Need to call js function on entire chart.
srividya_sharma replied to anila's topic in FusionCharts and JSP
Hi Anila, String strURL = FusionChartsHelper.encodeDataURL("ExtDXAction.do?type="+feed+"&cn="+ctl,"false",response); String chartXML1 = "<chart clickURL='"+strURL+"' ...>" Please try something like this. Srividya -
Need to call js function on entire chart.
srividya_sharma replied to anila's topic in FusionCharts and JSP
Hi Anila, If you need to call the servlet, then , you can get rid of the javasript function and do something like this: // Encoding the URL since it has a parameter strDataURL = FusionChartsHelper.encodeDataURL("servlet.do?FactoryId="+factoryId,"false",response); then use this strDataURL in clickURL directly. Srividya -
Need to call js function on entire chart.
srividya_sharma replied to anila's topic in FusionCharts and JSP
Hi Anila, Good that it is working. Please send me the screen-shot showing what is happening the second time you click. Thanks Srividya -
Need to call js function on entire chart.
srividya_sharma replied to anila's topic in FusionCharts and JSP
Hi Anila, Here is the code. Please modify the path to js, FusionChartsRenderer.jsp and swf file before trying. Hope this really helps. LinkExample.zip -
Need to call js function on entire chart.
srividya_sharma replied to anila's topic in FusionCharts and JSP
I think there was a mistake, please prepend to the function call Java script: . without the space. It worked for me with that. -
Need to call js function on entire chart.
srividya_sharma replied to anila's topic in FusionCharts and JSP
Hi Anila, Please change that statement with: String chartXML1 = "<chart connectNullData='1' labelDisplay='Rotate' slantLabels='1' baseFont='Ge Inspira' useRoundEdges='1' legendPosition='RIGHT' yAxisName='NPS' legendBorderAlpha='0' shownames='1' showvalues='0' clickURL='download(%26apos;DwnNPS%26apos;,4);'>"; Hope this works! -
Need to call js function on entire chart.
srividya_sharma replied to anila's topic in FusionCharts and JSP
Hi Anila, Can you please provide the piece of code where you are constructing the xml. Say, String chartXML="<chart>..." I will try to modify it and send. -
Hi Mona, Can you please post the html from view source as an attachment? Also, Please give us a screenshot of your directory structure. Srividya
-
How to round off Tick mark values in Angular Gauge
srividya_sharma replied to [email protected]'s topic in FusionCharts and JSP
<Chart bgColor="AEC0CA,FFFFFF" fillAngle="45" upperLimit="3263563533444444" lowerLimit="236356353344444" majorTMNumber="4" majorTMHeight="8" showGaugeBorder="0" gaugeOuterRadius="140" gaugeOriginX="205" gaugeOriginY="206" gaugeInnerRadius="2" formatNumberScale="1" numberPrefix="Rs" displayValueDistance="45" decimalPrecision="0" tickMarkDecimalPrecision="0" pivotRadius="17" showPivotBorder="1" pivotBorderColor="000000" pivotBorderThickness="5" pivotFillMix="FFFFFF,000000"> <colorRange> <color minValue="160000000000" maxValue="193000000000" code="399E38"/> <color minValue="19300000000" maxValue="217000000000" code="E48739"/> <color minValue="21700000000" maxValue="25000000000" code="B41527"/> </colorRange> <dials> <dial value="2100000" borderAlpha="0" bgColor="000000" baseWidth="28" topWidth="1" radius="130"/> </dials> <annotations> <!-- Draw the background arcs --> <annotationGroup xPos="205" yPos="207.5"> <annotation type="circle" xPos="0" yPos="2.5" radius="150" startAngle="0" endAngle="180" fillPattern="linear" fillAsGradient="1" fillColor="dddddd,666666" fillAlpha="100,100" fillRatio="50,50" fillDegree="0" showBorder="1" borderColor="444444" borderThickness="20"/> <annotation type="circle" xPos="0" yPos="0" radius="145" startAngle="0" endAngle="180" fillPattern="linear" fillAsGradient="1" fillColor="666666,ffffff" fillAlpha="100,100" fillRatio="50,50" fillDegree="0"/> </annotationGroup> </annotations> </Chart> Here is the xml. Please see. -
Hi Mona, Please try changing <jsp:param name="registerWithJS" value="false" /> to <jsp:param name="registerWithJS" value="true" /> Srividya
-
FusionCharts Server-side Export Handler
srividya_sharma replied to vramineni's topic in FusionCharts and JSP
Hi Andreas, I have put these headers in relevant places in the Resource jsps. Please see the attached files, replace these jsps in your Resources folder, and try. Hope this works! Srividya Resources.zip -
FusionCharts Server-side Export Handler
srividya_sharma replied to vramineni's topic in FusionCharts and JSP
Hi Andreas, I think it is a problem with headers. Can you please try this in your jsp: response.setHeader("Pragma", "private"); response.setHeader("Cache-Control", "private, must-revalidate"); If it doesn't work there, I will try putting the same in FCExporter_PDF and give you the files. Please try this out first. Srividya -
FusionCharts Server-side Export Handler
srividya_sharma replied to vramineni's topic in FusionCharts and JSP
hi Did you find a solution to the problem? -
Unable to View Charts from Client Side
srividya_sharma replied to srividya_sharma's topic in FusionCharts and PHP
Hi Please put the same server path http://serverip/fc/charts in $$CurrentDir also. Srividya -
Need to call js function on entire chart.
srividya_sharma replied to anila's topic in FusionCharts and JSP
Hi Please try with a simple alert statement in the javascript download function. alert('Feed='+feed); Let us see if that works. Srividya -
Hi That file is not being used anywhere. It is not required. Srividya
-
Please check if you are using the latest version of FusionCharts. Srividya
-
Hi Can you please post the xml that you are using? Which server are you using? Srividya
-
Fusion Charts intergration with JSF
srividya_sharma replied to srividya_sharma's topic in FusionCharts and JSP
Hi Phantom, The jar should work for java6. Please verify that you do not have any older class files or jars in your classpath ( WEB-INF/classes or WEB-INF/lib ). Srividya -
Fusion charts integration with RichFaces
srividya_sharma replied to pickpeters's topic in FusionCharts and JSP
Hi Derek, Good to know that it worked out well for you. Srividya Ask, and get more out of FusionCharts Everyday!