-
Content count
943 -
Joined
-
Last visited
-
Days Won
3
Posts posted by srividya_sharma
-
-
Thanks Sai.
We would really like you to help out other FusionCharts users in this forum with Seam integration and other issues.
Keep FusionCharting!
Srividya

-
Hi Talamond,
Please find the latest jar : http://www.fusioncharts.com/forum/Topic14110-33-1.aspx#bm17718
Srividya
-
Hi Talamond,
Looks like there is a problem in the xml.
The special character % has to be encoded and used numberPrefix='%25'
Please see the documentation page: http://www.fusioncharts.com/docs/Contents/SpChar_Percent.html for further information.
Hope this solves the problem.
Srividya

-
Hi,
At first glance, this is what I found. You have to provide only one of the two parameters - strURL or strXML. So please remove the strURL parameter.
Also, since you are using JSF, you could use the JSF tag library posted here: http://www.fusioncharts.com/forum/FindPost17718.aspx
Hope this helps!
Srividya

-
Hi
Glad that you were able to integrate FusionCharts with Spring.
In order to refresh only the chart, ( instead of the whole page ) you could do the following:
1. Make ajax request for new data
2. Set this data to the chart using the following
[/code]
<SCRIPT LANGUAGE="JavaScript">
//Here, we get a reference to the chart and update it's
//data using setDataXML method.
function updateChart(DOMId,xml){
//Get reference to chart object using Dom ID
var chartObj = getChartFromId("chart1Id");
//Update it's XML
chartObj.setDataXML(xml);
}
</SCRIPT>
[/code]
This way, only the chart will get updated.
Hope this is what you were looking for.

Srividya
-
Hi Deepti,
In the code:
ApplicationPICount.getXMLData(str,function (data){ strXML=data; });please verify that the function which sets the data in strXML is called only onreadystatechange.
Hope this helps.
Srividya

-
Hi
You are most welcome. I am really happy to know that you have been using the JSF tag library and are finding the Struts2 example also useful.
Gives me motivation to contribute more to the forums.

Srividya
-
Hi Sai,
If I have understood your question correctly, this is what you would need to do:
Create a <chart> root element.
Iterate through the list of active users and for each item in the list, create a <set label='active username' value='value'/> element.
Close the chart element using </chart>
So finally your xml would look something like this:
<chart> <set label="user1" value="value1"/> <set label="user2" value="value2"/> ... </chart>
Just as Sudipto mentioned, the xml format varies for different chart types. The xml format given above is for single series chart.
Now, store this xml in backing bean and use it in the jsf page.
Hope this helps.

Srividya
-
Hi Stephane,
If you are using FusionChartsRenderer.jsp to embed the chart, then this is how you pass the registerWithJS parameter to it:
<jsp:include page="../Includes/FusionChartsRenderer.jsp" flush="true"> <jsp:param name="chartSWF" value="../../FusionCharts/Column3D.swf" /> <jsp:param name="strURL" value="Data/Data.xml" /> <jsp:param name="strXML" value="" /> <jsp:param name="chartId" value="myFirst" /> <jsp:param name="chartWidth" value="600" /> <jsp:param name="chartHeight" value="300" /> <jsp:param name="debugMode" value="false" /> <jsp:param name="registerWithJS" value="true" /> </jsp:include>
Please make this correction and try once.
Hope this works out.

Srividya
-
Hi
Are you using FusionCharts For FileMaker? If not, plrease try it out.
Please tell us the technology you are using to create the xml.
Then we might be able to supply the code.
Srividya
-
Hi
Did you place fc_exporter_controller.rb in app/controllers/fusioncharts folder?
If you did that, then you should be able to access the index method in the controller.
Srividya
-
Hi
there is no requirement to configure any routes to use export in RoR.
can you please tell me if you are able to access "/fusioncharts/fc_exporter/index" from your browser?
srividya
-
Hi
Can you please take a look at the servlet implementation at
http://www.fusioncharts.com/forum/FindPost15615.aspx
It handles exactly what you are asking for.
Hope this helps!

Srividya
-
are you using the latest fusioncharts JSF jar? please verify the version of jar.
-
Hi
Please include FusionCharts.js in the head section of your page.
Hope this helps!

Srividya
-
Hi
Can you please post the source code of the page?
We can then determine whether wMode has been applied to the chart or not.

Srividya
-
ok, I have tried out xml configuration and annotations. Need to look at JavaConfig.
If you have any luck with it, please post the solution.
Srividya

-
Hi
Can you elaborate a bit?
Which configuration are you talking about?
If it is the chart, then the chart takes xml for data. The xml can be generated within java code too.
If this is not what you are talking about, please make me understand.
Thanks

Srividya
-
Hi Arun,
Can you please tell us how you are connecting to the database?
Please post the relevant code so that we can help you better.

Thanks
Srividya
-
Some users are self solvers!

Hope you like the sample.
Srividya
-
Hi
For lo4j, please create a log4j.properties file with the following lines in it:
log4j.rootCategory=INFO, R log4j.logger.com.fusioncharts.exporter=ERROR ------------------------------------------------------------------------------ # # The following properties configure the console (stdout) appender. # See http://logging.apache.org/log4j/docs/api/index.html for details. # #------------------------------------------------------------------------------ log4j.appender.S = org.apache.log4j.ConsoleAppender log4j.appender.S.layout = org.apache.log4j.PatternLayout log4j.appender.S.layout.ConversionPattern = %d{yyyy-MM-dd HH:mm:ss} %c{1} [%p] %m%n #------------------------------------------------------------------------------ # # The following properties configure the Daily Rolling File appender. # See http://logging.apache.org/log4j/docs/api/index.html for details. # #------------------------------------------------------------------------------ log4j.appender.R = org.apache.log4j.DailyRollingFileAppender log4j.appender.R.File = logs/myApp.log log4j.appender.R.Append = true log4j.appender.R.DatePattern = '.'yyy-MM-dd log4j.appender.R.layout = org.apache.log4j.PatternLayout log4j.appender.R.layout.ConversionPattern = %d{yyyy-MM-dd HH:mm:ss} %c{1} [%p] %m%nPlace this file in WEB-INF/classes folder.
Hope this works out.

Srividya
-
In order to use this sample with FusionCharts Free, you would need to replace the .xml and builder files generating the xml data for the chart with the free version xmls.
Hope this helps!

Srividya
-
Hi everybody,
Here is a FusionCharts sample RoR application which works with rails 2.3.5.
Please place the .swf files in public/FusionCharts folder, before testing.
I assume the database creation etc to be same as the application provided with FusionCharts download package.
Hope you find it useful.

Please give me your valuable suggestion/feedback.
In case, it does not work, please tell me. :w00t:
Srividya
-
Hi Ranga swamy,
Hope you are doing good.
I have attached a simple drill-down ina popup example frm pie3d chart.
Please replace the paths (swf, jsp etc) with correct paths according to your application.
Hope you find this useful.

Srividya

Flash Player 10.1 urgent issue
in Bug Reports
Posted · Report reply
Hello Captain,
Just to replicate your issue, I updated the flash player in Windows machine to the latest Version 10,1,53,64.
All my charts in FileMaker are of the same size as before. I have verified with different versions of FileMaker.
Can you send me a sample file where I can see the reduced size of the chart?
Can you verify that the chartWidth and chartHeight attributes in the QueryString are same as the webviewer width and height?
Awaiting your reply.
Srividya