a.premkumar

Members
  • Content count

    9
  • Joined

  • Last visited

About a.premkumar

  • Rank
    Forum Newbie
  1. Hi Sumedh, The problem was resolved, Thank you for the help. Regards, Premkumar. A
  2. Javascript Fallback Is Not Working For Lineargauge

    Hello Sanjukta, The problem has been resolved. I was missing some files or something in my FusionChart folder. So I downloaded the HLinearGauge sample provided here in another thread and applied the FusionChart files to my code. It worked. Thank you for the help. Regards, Premkumar. A
  3. Hello Sumedh, Here is the chart XML. Please check this out. <Chart bgColor='FFFFFF' bgAlpha='0,0' showBorder='0' upperLimit='100' lowerLimit='-2' gaugeRoundRadius='6' chartBottomMargin='5' showGaugeLabels='0' valueAbovePointer='0' pointerOnTop='0' pointerRadius='0' showTickMarks='0' showTickValues='0' showLimits='0' adjustTM='0' ticksBelowGauge='0' showValue='0' exportEnabled='1' exportAction='download' exportAtClient='0' showAboutMenuItem='1' aboutMenuItemLabel='About eG Innovations' aboutMenuItemLink='n-http://www.eginnovations.com'><colorRange><color minValue='0.0' maxValue='0.34' name='critical' code='#bc1a17' toolTip='0.34' /><color minValue='0.34' maxValue='0.3' name='major' code='#c3950a' toolTip='0.3' /><color minValue='0.3' maxValue='0.04' name='minor' code='#8c337d' toolTip='0.04' /><color minValue='0.04' maxValue='9.8' name='unknown' code='#4d91b0' toolTip='9.8' /><color minValue='9.8' maxValue='89.52' name='good' code='#4c830b' toolTip='89.52' /></colorRange><styles><definition><style name='ValueFont' type='Font' bgColor='333333' size='10' color='FFFFFF'/></definition><application><apply toObject='VALUE' styles='valueFont'/></application></styles></Chart> Regards, Premkumar. A
  4. Javascript Fallback Is Not Working For Lineargauge

    Hi Sanjukta, Thank you for the response. I did as you directed. Now the charts show a label 'Loading Chart, Please wait...'. At this point another script error is shown in the console. I am pasting it here in case it may be helpful in finding the cause. Uncaught TypeError: Cannot read property 'callbacks' of undefined FusionCharts.HC.Widgets.js:40 Does this mean anything that I have done wrong while configuring chart? Regards, Premkumar.
  5. Hello, What if all naming and placing of my html tags are correct? What if the error occurs only when I turn off flash support of my browser? Is it a possible bug or am I doing something wrong while configuring? Please clarify me. 1. Tried to use HLinearGauge. 2. Worked fine while flash is on 3. Turned off my browser flash support and checked. 4. Exhibits a error as follows: Uncaught RuntimeException: #25081850 linearChartId::RendererManager Error >> There was an error rendering the chart. Enable FusionCharts JS debugMode for more information. Trying to get an answer for this, but still haven't found one yet. I would be glad If anyone could clarify this. Regards, Premkumar
  6. Hello, I am trying to load a Linear Gauge chart in my application. I have done it with the div and render methodology. It is working fine when flash is enabled. But when I check loading the chart after disabling flash, I get some error from FusionChart.js Please I need to solve this as soon as possible. I have given the required details below. Version being used : 3.2.1 Error log: ["#3 [linearChartId] fired "beforedataupdate" event. "] 192.168.8.39:17 ["#4 [linearChartId] fired "dataupdated" event. "] 192.168.8.39:17 ["#5 [linearChartId] fired "error" event. #25081850 …e FusionCharts JS debugMode for more information."] 192.168.8.39:17 ["#6 [linearChartId] fired "internal.domelementcreated" event. "] 192.168.8.39:17 Uncaught RuntimeException: #25081850 linearChartId::RendererManager Error >> There was an error rendering the chart. Enable FusionCharts JS debugMode for more information. FusionCharts.js:15 Sample code replicating the problem is : <html> <head> <title> </title> <!-- <link type="text/css" rel="stylesheet" href=""/> <script src="../extjs/ext-all.js"></script> --> <script src="/FusionCharts/scripts/FusionCharts.js"></script> </head> <body> <div id="container"></div> <script> var anotherXml = "<chart lowerLimit='0' upperLimit='100' lowerLimitDisplay='Bad' upperLimitDisplay='Good' palette='1' numberSuffix='%' chartRightMargin='20'><colorRange><color minValue='0' maxValue='75' code='FF654F' label='Bad'/><color minValue='75' maxValue='90' code='F6BD0F' label='Moderate'/><color minValue='90' maxValue='100' code='8BBA00' label='Good'/></colorRange><pointers><pointer value='92'/></pointers></chart>"; var linearChart = new FusionCharts('/final/FusionCharts/swf/HLinearGauge.swf','linearChartId','100%','36','1','1'); FusionCharts.setCurrentRenderer('javascript'); FusionCharts.debugMode.enabled(true); FusionCharts.debugMode.outputTo(function(){ console.log(arguments); }); linearChart.setXMLData(anotherXml); linearChart.setTransparent(true); linearChart.render('container'); </script> </body> </html> EDIT: It says : GET http://192.168.8.39:7077/final/FusionCharts/Charts/FusionCharts.HC.Widgets.js 404 (Not Found) Any help? Regards, Premkumar. A
  7. Hi, I am facing certain problem while loading charts on flash enabled browsers (Chrome, Firefox and IE). I am using a javascript function for clickURL attribute. While loading in non-flash browser or flash disabled mode, drill down works fine. But when it comes to flash enabled mode, there seems to be problem in opening drill down when the bars in the chart is being clicked. Drill down works fine when clicked elsewhere but the bars. I am using FusionCharts XT v3.2.2 SR5 licensed version. I am attaching a sample JSP code. Regards, Premkumar
  8. This problem was solved. Thanks. But currently facing another problem. In IE8, the charts are not loading properly. Some charts half-load, stay as half-visible. i'll attach the screen shot. My FusionChart version is 3.2.4-sr1.9888. Sample code: <div id="macroBarChartDiv" style="height:100%;"></div> <script type="text/javascript"> if ( FusionCharts("macroBarChartDivId")) FusionCharts("macroBarChartDivId").dispose(); var myChart = new FusionCharts( "<%=swfpath%>","macroBarChartDivId", "100%", "300","0","1"); myChart.setXMLData("<%=xmlStringForFusionColumnChart%>"); myChart.setTransparent(true); myChart.render("macroBarChartDiv"); </script> Regards, Premkumar
  9. Hi, I am getting xml for the chart from server and display it with the help of script. The xml from server is good. I have double checked it. Now, the problem is, target div element, does not show the chart. I am using jQuery Ajax call to get server data, place the received 'html' content into div. But for some reason this is not showing the chart visual. Just shows blank space instead of it. No errors are exibited by Javascript. It would be great if some one could help me on this. P.S: The same process works fine with the use of <object> tag. But doesn't do well with div. Regards, Premkumar