Search the Community
Showing results for tags 'render'.
Found 9 results
-
FusionChart showing '' Loading chart. Please wait'' when rendered (React JS)
mango posted a topic in Introduction
FusionChart showing '' Loading chart. Please wait'' when rendered (React JS) $objFusionChart = new FusionCharts( 'Column3D', '898', '300', '0', '1' ); $strGraph = $objFusionChart->renderChart( false, false ); $strGraph has the the html content <script type="text/javascript" src="module/FusionCharts.js"></script> <div id="graph_data" class="sectionContainer report_graph"><!-- START Code Block for Chart 0 --> <div id="0Div">Chart</div> <script type="text/javascript" ><!-- // Instantiate the Chart if ( FusionCharts("0") && FusionCharts("0").dispose ) FusionCharts("0").dispose(); var chart_0 = new FusionCharts( { "swfUrl" : "/Common/fushion/fushion_charts/Column3D.swf", "width" : "898", "height" : "300", "renderAt" : "0Div", "dataFormat" : "xml", "id" : "0", "wMode" : "transparent", "dataSource" : "<chart showValues='0' showBorder='1' decimalPrecision='0' canvasbasedepth='10' bgcolor='FBFAFA' yAxisMinValue='0' yAxisMaxValue='5' showName='1' numDivLines='4' divlinecolor='C4C4C4' outCnvBaseFont='Arial' outCnvBaseFontSize='10' outCnvBaseFontColor='5A5863' canvasBaseColor='5A5863' baseFont='Arial' baseFontSize='10' baseFontColor='636363' canvasbgcolor='E4EBF4' hoverCapBgColor='eeeeee' borderColor='1D' borderThickness='1' xAxisName='Lead Events' yAxisName='Hits' ><set value='105' /><set value='827' /><set value='788' /><set value='441' /><set value='1' /><set value='38' /><set value='140' /></chart>" } ).render(); // --></script> <!-- END Script Block for Chart 0 --></div> -
FusionChart showing '' Loading chart. Please wait'' when rendered (React JS)
Yasmine posted a topic in Introduction
Hello everyone, I am new to FusionCharts and I am currently working on implementing a multilevelpie chart. I added the dataSource into state so that I can manipulate it later and I am simply rendering it. All I am seeying is "Loading chart. Please wait" and it doesn't change. I already tried verifing the location of the js files in the nodes_modules and I installed flash_player but nothing has changed. The code is in the App.js file. and the screen shot of what I am seeying . Node version: 12.16.2 Could you please me to solve this problem. thank you App.js -
I just upgraded to FusionMaps XT 3.4.0 and the display of the maps labels is totally off when it is within a jqueryUI tabs panel. Furthermore, there is a javascript error upon rendering in fusioncharts.js on line 745 that is "Uncaught TypeError: cannot read property "offsetWidth" of undefined. Can you take a look ASAP? Thank you!
- 4 replies
-
- fusionmaps
- maps
-
(and 2 more)
Tagged with:
-
Iam facing an issue for Dual Yaxis chart while rendering as "flash". For the same xml, chart is rendered in different way when is use setCurrentRenderer('flash') and setCurrentRenderer('javascript'). Here is my Xml: ------------------ <chart canvasbgAlpha="0" formatNumberScale="1" sFormatNumberScale="1" sNumberPrefix="$" borderThickness="0" chartLeftMargin="0" chartRightMargin="0" plotSpacePercent="65" showLegend="1" borderColor="FFFFFF" bgcolor="FFFFFF" bgalpha="0,0" legendBorderColor="FFFFFF" legendBgColor="FFFFFF" animation="1" legendShadow="0" showShadow="0" caption="" xaxisname="" decimals="1" numberPrefix="" numberSuffix="" sNumberSuffix="" showPlotBorder="0" showAlternateHGridColor="0" plotgradientcolor="" SyAxisMinValue="0" SyAxisMaxValue="200" PyAxisMinValue="0" PyAxisMaxValue="0" exportCallback="FC_Exported" exportEnabled="1" exportAtClient="0" exportAction="save" exportHandler="http://localhost/app/FCExporter.jsp" exportShowMenuItem="0" showExportDialog="0">, <categories>, <category label="2005"/>, <category label="2006"/>, <category label="2007"/>, <category label="2008"/>, <category label="2009"/>, </categories>, <dataset parentYAxis='S' renderAs='COLUMN' color="E0A9A8" showValues="0">, <set />,<set />,<set />,<set />, <set value="2816130"/>, </dataset>, <dataset parentYAxis='S' renderAs='LINE' dashed="1" lineDashLen="5" lineDashGap= "6" showValues="0" anchorSides="4" showAnchors="1" anchorRadius="1" anchorBgColor="C0504D" lineThickness="3" color="C0504D" >, <set />,<set />,<set />,<set />, <set value="2816130"/>, </dataset>, <styles><definition>, <style name='myFont' type='font' color='000000' bold='1'/></definition> <application>,<apply toObject='legend' styles='myFont'/></application>, </styles>, </chart> Please find the attached images when rendered as javscript and flash
- 1 reply
-
- flash
- javascript
-
(and 1 more)
Tagged with:
-
Hi, Any idea to stop the Flash graph to render again after print preview is close. FusionCharts.printManager.enabled(true) Currently i'm using it for the multiple graph (flash) in the same page. Problem is that graph will be render again once the print preview is close. This is happen to your demo site too. http://www.fusioncharts.com/demos/features/#print-manager-enabled (Flash version). This is very troublesome when the page has many graph and need to re-render to wait a lot of time just for render print graph (canvas). Browser: Chrome 31.0.1650.48 Browser: Safari 6.0.5 OS: Mac 10.8.4 FusionChart version: 3.3.0 Partial Code: FusionCharts.setCurrentRenderer("flash"); FusionCharts.printManager.enabled(true); var chart = new FusionCharts("js/fusionchart/Line.swf", chartID, "100%", "200", "0", "0");
-
Hello, I programmed an html page with a map of Spain with provinces (see attached files - please add the fusion map libraries). The render mode is javascript and I want to show a value for each province in the map. As indicated in docs.fusioncharts.com/maps/Contents/MapSS/SpainProvinces.html, there is 52 provinces, so the xml will have a maximum of 52 provinces. As we want to show a value in each province, we will have a xml with 52 entities (see attached file). It happens somewhat the reported in this topic: forum.fusioncharts.com/topic/13835-worldwithcountries-render-mode-javascript-bug/ With 51 entities it is shown correctly in the map - except for one province, the province I comment. With 52 entities, the first entity of the xml is not shown (Albacete is this case), but the rest is ok. With 53 entities, the second entity of the xml is not shown, but the rest is ok. It seems like this map admits only 51 entities in the xml, but the number of provinces is 52. Is this a bug or I'm missing something? Thank you very much John fm.html
-
I am working with FusionMaps XT v3.3.1 rendering JavaScript-only maps in the following fashion: first rendering a global map with countries, which has one linked map for the United States (showing each state). The issue I'm seeing is that when I try to render the initial map, which loads up the global map with countries, it works fine in all browsers except for IE8. In IE8, the browser waits a few moments (about 12 seconds) and then displays the following message: Stop running this script? A script on this page is causing Internet Explorer to run slowly. If it continues to run, your computer might become unresponsive. If I comment out the chart's rendering function call within my script the page displays normally and quickly without this message showing up. What should I do to either further troubleshoot this issue or (hopefully) resolve it?
-
Cannot read property 'width' of undefined - FusionCharts.HC.js error.
FelipeOdoni posted a topic in Bug Reports
Hi All. I am using FusionCharts XT 3.3.1-sr2.19840 to render a javascript chart and I get the following error: Cannot read property 'width' of undefined The snippet code that throws this error is (FusionCharts.HC.js): getSmartText: function (d, e, q, l) { if (!this.init) return !1; if (d === void 0 || d === null) d = ""; var v = { text: d, maxWidth: e, maxHeight: q, width: null, height: null, oriTextWidth: null, oriTextHeight: null, oriText: d, isTruncated: !1 }, i = !1, k, b, f, a, g = -1, c = -1, t = -1, x = this.container, J = this.context, ja = g = 0, la, r = [], w = 0, u = this.showNoEllipses ? "" : "...", g = this.lineHeight, V = function (a) { for (var a = a.replace(/^\s\s*/, ""), b = /\s/, g = a.length; b.test(a.charAt(g -= 1)); return a.slice(0, g + 1) }; la = J ? function (a) { return J.measureText(a).width; } : function (a) { x.innerHTML = a; return x.offsetWidth }; In some situations (generally when a = "") the call J.measureText (a) returns undefined and the next call (.width) throws the error. I could not identify why this call returns undefined, or why a = "". Can someone help me with this? Thanks in advance, Felipe Odoni- 1 reply
-
- javascript
- render
-
(and 3 more)
Tagged with:
-
Hello, we are using a purchased version of Fusion Maps in our web page. The maps and charts are renderized by Javascript and I have noticed that in Firefox browser (version 20.0.1 for example) is slower than in other browsers like IE or Chrome. Also I noticed that when the map is displayed with other charts in the same page, the map is even slower. Is this a normal behaviour? Can I speed up the map? Thanks John
- 7 replies
-
- Javascript
- render
-
(and 3 more)
Tagged with: