Haritha

Members
  • Content count

    489
  • Joined

  • Last visited

Everything posted by Haritha

  1. Exporting to Server Extremely Slow

    Hi, Welcome to FusionCharts Forum We have created a sample demo using the latest version of FusionCharts v3.3.1 SR1 for exporting Flash charts in Java/J2EE web application. Can you please deploy it at your end and let us know the time it takes to export the chart? The chart usually takes some milliseconds (less than a minute) to get exported. Can you please check if you have implemented in the similar way? If not, can you please try modifying your code and let us know if it works? Awaiting your response. ExportDemo.zip
  2. Disable Right-Click Print on FusionCharts v3

    Hi Sheston, Welcome to FusionCharts Forum Glad to know that the solution provided by Pallav helped you out. Happy FusionCharting
  3. Scatter Chart breaks slanted labels

    Hi, Can you please try using the below given code and let us know if it works for you? Eg: <category label="07/08/2008 {br}" x="10" showVerticalLine="1"/> Awaiting your response.
  4. Multi-Series Column Single Y

    Hi, According to your requirement, we are modifying the code behind page of Multi-series chart present in the link : http://docs.fusioncharts.com/charts/contents/guide-for-web-developers/csnet/CS_DB.html String xmlData=""; // add chart element and categories obtained from database String xmlDataRed="", xmlDataGreen=""; xmlDataRed+="<dataset seriesName='Below Average' color='DE1E25'>"; xmlDataGreen+="<dataset seriesName='Above Average' color='4CBB47'>"; string factoryquery3 = "select quantity from factory_output where factoryid="+factoryID; DbConn oRs2 = new DbConn(factoryquery3); int avg=0; while (oRs2.ReadData.Read()) { // calculate average according to your need } while (oRs2.ReadData.Read()) { if(avg<=oRs2.ReadData[0]) //red { xmlDataRed+="<set value='"+oRs2.ReadData[0]+"'/>"; } else //green { xmlDataGreen+="<set value='"+oRs2.ReadData[0]+"'/>"; } } oRs2.ReadData.Close(); xmlDataRed+="</dataset>"; xmlDataGreen+="</dataset>"; xmlData+=xmlDataRed; xmlData+=xmlDataGreen; xmlData+="/chart"; Please implement the same by referring the code snippet above. Hope this helps.
  5. Hi, Can you please try using the attribute "anchorMinRenderDistance" and setting it to 1 and check if it works for you? Ref. <chart .... anchorMinRenderDistance='1' > Awaiting your response.
  6. How to change 'colorrange'?

    Hi, Welcome to FusionCharts Forum It is not possible to change the color range without re-rendering the chart. As a workaround, you may set "defaultAnimation" to 0. Now, the dial will not animate due to which the chart does not appear as if it has re-rendered but the color range gets changed. Hope this helps.
  7. Multi-Series Column Single Y

    Hi Pickle, Welcome to FusionCharts Forum It seems that you are creating the XML dynamically after obtaining the values from the database. Since, the values come from the database at run time, you are finding it difficult to determine under which dataset (the one plotted in green or the one plotted in red) should the value fall into. To combat the situation, you may try the following steps and see if this helps. 1. Obtain all the values and calculate the average 2. Maintain two variables for each of the datasets 3. Run a loop to navigate through the contents of values list and compare each value with the average. 4. After comparing, you can add it either of the datasets applicable 5. After exiting the loop, close the datasets and append to the main variable of the chart. By doing this, you will able to create the chart as per your requirement. Hope this helps.
  8. 2D Column charts bar size

    Hi, The attribute "plotSpacePercent" defines the spacing between two columns. By default, the spacing is set to 20% of canvas width. Hence, you may try removing the use of this attribute in your XML/JSON data, in which case the columns will be plotted with their default rendering. Hope this helps.
  9. Combination of ScrollColumn2D and Scatter chart

    Hi, The anchors of the line appear in between the two columns when you have more than one column on the chart. This is the behavior of the Scroll Combination 2D chart and hence, it is not possible to have the anchors on one column. Hope this helps.
  10. Fusion charts xt trial in chart

    Hi, If you want values to be visible only when you hover over the chart, then please set "showToolTip" to 1 and "showValues" to 0. Also, this works for FusionCharts XT SR2. For the latest version v3.3.1 SR2,there is no tooltip implementation. Instead, to enhance the performance of zoom line chart, cross-hair has been implemented, which will depict showValues as well as tooltip feature. Hope this helps.
  11. Combination of ScrollColumn2D and Scatter chart

    Hi, Can you please send us the XML/JSON data that you are using so that we can help you better? Awaiting your response.
  12. Javascript chart with JQueryPlugin

    Hi, Yes, HTML embed method does not support JavaScript chart fallback mechanism. But using jQuery plugin is not the only way to render JavaScript charts. You can use JavaScript code to render JavaScript charts. For information on creating JavaScript charts, please refer http://docs.fusioncharts.com/charts/contents/FirstChart/UsingPureJS.html Hope this helps.
  13. Javascript chart with JQueryPlugin

    Hi, jQuery plugin support for JavaScript rendering of charts has been started since FusionCharts v3.2.2. The version of FusionCharts v3.2.1 that you are using does not support the use of jQuery plugin to render charts. You may please upgrade to the latest version of FusionCharts v3.3.1 SR2 since each version of FusionCharts comes with some bug fixes and enhancements. You may download the evaluation copy of the latest version from http://www.fusioncharts.com/download/trials/ Hope this helps.
  14. Javascript chart with JQueryPlugin

    Hi, Could you please try providing the "yAxisMinValue" as equal or lesser than the smallest value in the XML and "yAxismaxValue" as equal or greater than the largest value mentioned in the XML to get the closest range of values along the Y-axis? The chart would adjust its axis and divisional lines based on the values provided using decimals if the interval is not qually divisible. In case you want whole numbers, equally divided without any decimal values, you would need to perform the calculation manually before setting the Y-axis minimum and maximum values. Could you please elaborate more on your requirement "Also I need minimum versions for each type of charts in a single page" ? If possible, please send us a screenshot of your requirement so that we can help you better. Awaiting your response.
  15. Javascript chart with JQueryPlugin

    Hi, Apologies for delay. Please find the answers to your queries below: 1) slantLabels is not working for line charts, but works on AreaChart(refer attached image - fc1.png), Ans: We are looking into your query and will get back to you soon. 2) Chart data displays outside of chart(refer attached image - fc.png), Ans: We are looking into your query and will get back to you soon. 3) debugMode is not working properly. Even i refer http://forum.fusionc...ing/#entry55433 and try as, <script> FusionCharts.debugMode.enabled(true); FusionCharts.debugMode.outputTo( function() { console.log(arguments); } ); $("#chart").insertFusionCharts({ dataSource: 'test.xml',height : "350",width : "410",renderer : "JavaScript",quality : "high",swfUrl:"ZoomLine.swf",dataFormat: "xmlurl", debugMode: "1" }); </script> Ans: Can you please refer the link http://docs.fusioncharts.com/charts/contents/Debug/JS.html and check if you are looking for debug information in the right place? Also, can you please let us know the browser you are using to see the debug information? 4) For JS rendering charts we needn't swf files, but why we have to give swfUrl as "ZoomLine.swf" Ans: As already said by Shamasis, you may use "ZoomLine" in the swfUrl instead of "ZoomLine.swf". Alternatively, you may use the attribute "type" instead of "swfUrl" and provide the chart alias like "ZoomLine". For more information, please refer : http://docs.fusioncharts.com/charts/contents/JavaScript/API/Methods.html#chartparams 5) When show Diff type of charts in a page , we meet some errors(example:Uncaught TypeError: Cannot read property 'parent' of undefined,Invalid value for <rect> attribute x="NaN"),Even i follow as our docs, (Please give also minimum version for each type of charts) Ans: Can please try refering the sample sent to you in the post http://forum.fusioncharts.com/topic/14769-jqueryplugin-issue/#entry55421 and modify your code accordingly? If this does not resolve your problem, please send us a sample replicating the problem so that we can test it here. 6) Chart values are overlapping one on another (see attached image - fc2.png). Ans: We are fixing the issue and let you know about its developments soon. 7) I used document.getElementById(id).getValue() instead of value;, but when include jquerymin.js for our charts, meet the error, (Uncaught TypeError: Cannot call method 'toLowerCase' of undefined)but i think this may come due to prototype.js Ans: Can you please send us a sample replicating the problem so that we can test it here ?
  16. JQueryPlugin Issue:

    Hi, Please refer the post http://forum.fusioncharts.com/topic/14770-debugmode-in-jqueryplugin-is-not-working/#entry55433 Hope this helps
  17. zoomline charts in IE 9

    Hi Ranendra, It seems that you are seeing the Flash variant of Zoom line chart on Chrome and JavaScript variant of Zoom line chart on IE 9. Please check if the flash player is enabled in IE. If not, please enable the same and check again. For differences in Flash and JavaScript variants, please check out our demo gallery of Zoom Line chart at http://www.fusioncharts.com/demos/gallery/#zoom-line Hope this helps.
  18. 2D Pie Chart Labels

    Hi, Apologies for delay The difference in smart lines in Flash and JavaScript variant of Pie 2D when the attribute "smartLabelClearance" is used is an intended behavior of Pie 2D chart of FusionCharts. Hope this helps.
  19. JQueryPlugin Issue:

    Hi, The HTML specification specifies that script tags inserted using innerHTML should not be executed. For information on this, please refer http://www.w3.org/TR/2008/WD-html5-20080610/dom.html#innerhtml0 You may use "appendChild" method to insert elements inside the desired node, thus, modifying the DOM structure. We have modified your code accordingly. Can you please confirm if the below given code works at your end? <script> function test(){ var spanElement = document.createElement('span'); spanElement.setAttribute('id', 'chart'); document.getElementById("chart_td").appendChild(spanElement); var scripts="$('#chart').insertFusionCharts({ dataSource: 'test.xml',height : '100%',width : '90%',renderer : 'JavaScript',quality : 'high',swfUrl:'/FusionCharts/ZoomLine.swf',dataFormat: 'xmlurl', debugMode: '1' });"; var scriptElement = document.createElement('script'); scriptElement.setAttribute('type', 'text/javascript'); scriptElement.innerText = scripts; document.getElementById("chart_td").appendChild(scriptElement); } </script> <table><tr><td id="chart_td" width="500" height='500'></td></tr></table> Hope this helps.
  20. Formatting text in SSGrid

    Hi, The functionality of defining hyperlink to data labels was not a feature supported by FusionCharts but was a workaround provided to achieve the desired functionality. I'm afraid, you will not be able to use the same workaround anymore since its support has been removed due to some security reasons. Hope this helps.
  21. DebugMode in jqueryplugin is not working?

    Hi, The JavaScript variants of FusionCharts can be debugged by using the FusionCharts JavaScript Debug Mode. It allows users to watch the chart’s JS activities and debug charts accordingly. To enable the JavaScript Debug Mode, you need to write the following lines of code: FusionCharts.debugMode.enabled(true); Also, you need to specify where you will like to display the debugMode output. In case you want to see the error within the browser’s JavaScript console, you will need to write the following lines of code. FusionCharts.debugMode.outputTo( function() { console.log(arguments); } ); For more information, please refer our documentation link : http://docs.fusioncharts.com/charts/contents/Debug/JS.html Hope this helps.
  22. Hovering on chart causes scroll bars to appear

    Hi Kieran, Welcome to FusionCharts Forum Could you please try setting the "scrolling" attribute of iframe tag to "no" and check again? Could you please send us a code snippet replicating your problem so that we can test it here? Awaiting your response.
  23. Hi, Please refer the post http://forum.fusioncharts.com/topic/13748-gantt-chart-exporting-imagepdf-limitations/ Hope this helps.
  24. Gantt Chart - Exporting Image/pdf Limitations

    Hi Yamini, Apologies for delay. The Flash charts have limitation that the dimensions of the chart should be within 2880px of height and 2880px of width for a chart to get exported properly. Since, your chart had dimensions greater than the said dimensions, the chart was not getting exported properly. As a suggestion, you may use JavaScript variant of Gantt chart. In JS variant of Gantt chart, the above mentioned limitation is not present for exporting the charts. Hope this helps.