rahul_advanced

Members
  • Content count

    14
  • Joined

  • Last visited

Everything posted by rahul_advanced

  1. Hello Team , I need to show data in Tabular format, i see there is a SSGrid chart which is use to represent data in tabular format, but it is used as supporter chart for others charts. I need to use SSGrid as my main chart , the only problm i found is, there is no way to specify Caption or Headers (columns header) for this chart. Is there any way to do this?
  2. Caption And Header In Ssgrid Chart

    Hello Sumedh , I attache the Screen Shot of my report (SSGrid.png) as my requirement. Basically i want to draw a chart where i have different links and click count of that links. I want to show each link and their respective click count. I try with column and scroll charts but problem i am facing is, links are so big like "http://xyz.cz.vde-0006/1/2/landing-pages/example-form.aspx", which is not adjust in X-axis and not looking good, and i need to show 50 records like that and that is not looking good. So I found SSGrid is better for me , if it has Caption and Column Headers. I also attach the screen shot of column chart (Scroll.png) where i am facing problem.
  3. Caption And Header In Ssgrid Chart

    Thanks For Reply, Ok, no problem if it is not possible, but better if you can provide this option also in future, so we can use SSGrid chart as main chart.
  4. Pagging In Charts

    Is there any functionality for pagging in charts? I have some scenario where i have 100 records and at a time i want to show 20 records on chart and if there is a button say "Next" and by clicking on it i can see next 20. Have you this kind of things in fusion chart? I know drill down charts are there but it is not suits in my scenario.
  5. Pagging In Charts

    Thanks a lot .
  6. Pagging In Charts

    Thanks for reply , No problem , but do you have this item in your wishlist?
  7. Pagging In Charts

    Thanks for reply , I got your point , but if i update the chart the problem is: i call a url which return me XML data and that XML data i am directly using for rendering chart. so suppose i have 100 records on my DB side so url return me 100 records and that 100 records are going to be shown on chart. But i want 20 only at a time, so for this i need to return 20 records from db side (server side) and for showing 100 records i need to make call to url 5 times which increase load on server side. Better if we can get 100 records in once and show 20 records at a time and by pagging we can show rest records. I hope you understand.
  8. Linked Chart For Stacked Charts

    Will anybody tell me , can i create Linked Charts for Stacked Charts. I have to create a StackedColumn3D chart there i need to provide drilldown feature. If it is possible , will u please give me a sample xml for that.
  9. Javascript Exception

    I am using ASP.Net, ExtJs, C# and FusionCharts XT. I create a method in C# which internally call FusionChart Dll's method "FusionCharts.RenderChartHTML()" which return html response and that response i am assigning into ExtJs Panel. Chart is rendring properly and every thing is working fine, the only problem is when i close the page i get JavaScript error in IE9, i paste that error below as i got:- "Unable to set value of the property 'dataInvokedOnSWF' " please help me on this.
  10. Javascript Exception

    Yes i tried to render chart with javascript but it is not suitable for us. Below i paste response which i am getting from server side(from c# method). <!-- Using ASP.NET FusionCharts v3.2.2.1 Wrapper --><!-- START HTML Code Block for Chart --> <object width="600" class="FusionCharts" height="500" lang="EN" type="application/x-shockwave-flash" data="../ext-4.0.0/charts2/StackedColumn3D.swf" > <param name="movie" value="../ext-4.0.0/charts2/StackedColumn3D.swf"> <param name="wMode" value="opaque"> <param name="FlashVars" value="&registerWithJS=1&chartHeight=500&dataXML=<chart caption='EmailsOverview'><categories><category label='Day31' /><category label='Day23' /><category label='Day14' /><category label='Day15' /><category label='Day26' /><category label='Day31' /><category label='Day23' /></categories><dataset seriesName='EmailOpened'><set value='0' /><set value='8' /><set value='5' /><set value='0' /><set value='2' /><set value='0' /><set value='0' /></dataset><dataset seriesName='LinksClicked'><set value='8' /><set value='2' /><set value='0' /><set value='6' /><set value='0' /><set value='0' /><set value='9' /></dataset><dataset seriesName='Bouncebacks'><set value='4' /><set value='4' /><set value='0' /><set value='3' /><set value='0' /><set value='0' /><set value='4' /></dataset></chart>〈=EN&scaleMode=noScale&chartWidth=600&animation=undefined&debugMode=0"> <param name="quality" value="best"> <param name="allowScriptAccess" value="always"> <param name="scaleMode" value="noScale"> </object> <!-- END HTML Code Block for Chart -->
  11. Javascript Exception

    Thanks for reply Sumedh Sorry, But forcefully i have to use RenderChartHtml() Method because it better suits with our requirement , will you please help me.
  12. I created a rest web service in C#.Net using wcf which return chart script and i am calling that service on my html page under the javascript and whatever response i am getting that i assign into div but it is not generating any chart. It simply Shows Chart as string. I don't know what is wrong? But i know whatever string returned by wcf service that is correct because when i put directly that string under any div tag it render chart. Below i give some code so you come to know what i am trying to do. I see some examples of fusion chart with ASP/C#.Net but i don't want to use that methods where we have to create asp literals and assign chart on that. My requirement is:- 1) call Service which internally calling FusionCharts.RenderChart("../StackedColumn3D.swf", "", chartData, "myChart6", "350", "350", false, false) function which is available in FusionCharts.dll. So i created function like below and my service calling this function and returning data that is returned by this method. public void GetChart() { return FusionCharts.RenderChart("../StackedColumn3D.swf", "", chartData, "myChart6", "350", "350", false, false) ; } 2) I am calling this function in html page using javascript like function getChartFromService{ var xmlhttp = new XMLHttpRequest(); if (window.XMLHttpRequest) {// code for IE7+, Firefox, Chrome, Opera, Safari xmlhttp = new XMLHttpRequest(); } else {// code for IE6, IE5 xmlhttp = new ActiveXObject("Microsoft.XMLHTTP"); } xmlhttp.open("POST", "api/reportGraph/3.xml?start=1&limit=2&height=300&width=300", false); //Pass data as form in request var dataToSend = "some data"; xmlhttp.setRequestHeader("Content-Type", "application/x-www-form-urlencoded"); xmlhttp.send(dataToSend); //Get respons var response = xmlhttp.responseText; //genrate chart document.getElementById("div1").innerHTML=response; } 3) I created a simple html file MyChart.html :- code of body part of html <body> <table> <tr> <td> <input type="button" value="Generate Chart" onclick="getChartFromService ()" /> </td> </tr> <tr> <td> <div id ="div1"> </div> </td> </tr> </table> </body> so when i run the html page and click on Genrate chart button i get Chart as string on my page. No chat is loading , plz help me. i am just paste the response of my service , in case u need. <!-- Using ASP.NET FusionCharts v3.2.2.1 Wrapper and JavaScript rendering --><!-- START Script Block for Chart myChart6 --> <div id='myChart6Div' > Chart. </div> <script type="text/javascript"> if (FusionCharts && FusionCharts("myChart6") ) FusionCharts("myChart6").dispose(); var chart_myChart6 = new FusionCharts({"debugMode" : "0", "swfUrl" : "../StackedColumn3D.swf", "renderAt" : "myChart6Div", "width" : "350", "wMode" : "opaque", "dataFormat" : "xml", "id" : "myChart6", "lang" : "EN", "scaleMode" : "noScale", "registerWithJS" : "1", "height" : "350","dataSource" : "<chart caption='TopLinksClicked'><categories><category label='Day1' /><category label='Day1' /></categories><dataset seriesName='TotalClicks'><set value='17' /><set value='2' /></dataset><dataset seriesName='SitePageId'><set value='31' /><set value='31' /></dataset></chart>"}).render();</script> <!-- END Script Block for Chart myChart6 -->
  13. Problem In Chart Generating Using Service

    Thanks for reply Sumedh I am getting same java script from server side but that script already contain <div> tag......... this the script that i am getting <!-- Using ASP.NET FusionCharts v3.2.2.1 Wrapper and JavaScript rendering --><!-- START Script Block for Chart myChart6 --> <div id='myChart6Div' > Chart. </div> <script type="text/javascript"> if (FusionCharts && FusionCharts("myChart6") ) FusionCharts("myChart6").dispose(); var chart_myChart6 = new FusionCharts({"debugMode" : "0", "swfUrl" : "../ext-4.0.0/charts2/StackedColumn3D.swf", "renderAt" : "myChart6Div", "width" : "350", "wMode" : "opaque", "dataFormat" : "xml", "id" : "myChart6", "lang" : "EN", "scaleMode" : "noScale", "registerWithJS" : "1", "height" : "350","dataSource" : "<chart caption='TopLinksClicked'><categories><category label='Day1' /><category label='Day1' /></categories><dataset seriesName='TotalClicks'><set value='17' /><set value='2' /></dataset><dataset seriesName='SitePageId'><set value='31' /><set value='31' /></dataset></chart>"}).render();</script> <!-- END Script Block for Chart myChart6 -->
  14. Problem In Chart Generating Using Service

    Hello Sumedh............. I check all .js files and .swf files path, all are correct and my service also return correct data, because if i copy the response of my service and directly put it under the <div></div> tag , it render the chart.