![](https://forum.fusioncharts.com/uploads/set_resources_2/84c1e40ea0e759e3f1505eb1788ddf3c_default_photo.png)
JMaj
Members-
Content count
8 -
Joined
-
Last visited
About JMaj
-
Rank
Forum Newbie
-
Fallback For Fusioncharts.rendercharthtml Not Working
JMaj replied to JMaj's topic in FusionCharts and ASP.NET
I've found the issue. With mine I needed a space before the showLabels. It appear like "showValues='0'showLabels='0'" instead of "showValues='0' showLabels='0'" And your embed was missing the number prefix, when I added the dollar signed it worked. Thanks for the assistance. ---- I do have one side question, we were looking at buying Fusion Maps as well. Are we able to Provide the country or city name? The examples I've provides some sort of country code or country prefix. No of them provide The exact name for example London or Spain. -
Fallback For Fusioncharts.rendercharthtml Not Working
JMaj replied to JMaj's topic in FusionCharts and ASP.NET
I've enabled the debugger and I am using Fusion Charts 3.2.1. It's the one that was in the download files on the site. -
Fallback For Fusioncharts.rendercharthtml Not Working
JMaj replied to JMaj's topic in FusionCharts and ASP.NET
Angshu, I appreciate your help. But I don't think your understanding me. I am trying to tell you that your HTML5 Fall back doesn't not work. Here's what I want and mean: 1. I'm am trying to have both Flash and HTML5, the HTML5 one will be a fallback for users who don't have Flash. 2. The code doesn't generated any fallback, I have provided sample URLs for you to look at and see what I mean. Your Chart Code Here's a URL of the demo code you provided. It doesn't produce any results for me, I just get Invalid Data. http://up.videodetec...shu/Charts.html Mine Chart Code Here's mine, it produces the Flash Charts but no HTML5 fallback. I've tested in chrome with Flash turned off and I've tested it on the iPad. http://up.videodetec...ine/Charts.html All I need to know is why isn't the Fallback working in my code, I've done everything correctly and it produce no charts when Flash is disabled. Or are the HTTML5 charts not working at all? If you can answer all the points in my post that would be great. Thanks -
Fallback For Fusioncharts.rendercharthtml Not Working
JMaj replied to JMaj's topic in FusionCharts and ASP.NET
That's what I'm doing in the above code, but I'm not getting JavaScript based charts. The only difference is I'm not passing xml, I've creating it in a string. But that shouldn't matter right? -
Fallback For Fusioncharts.rendercharthtml Not Working
JMaj replied to JMaj's topic in FusionCharts and ASP.NET
Edit again <div id="chartContainer">/div> <script type="text/javascript"><!-- var myChart = new FusionCharts( './charts/Pie3D.swf','myChartId', '400', '300', '0', '1' );myChart.setXMLUrl('Data.xml');myChart.render('chartContainer'); myChart.setXMLData("<chart caption='Impressions by Operating System' xAxisName='Systems' yAxisName='Imperssions'showValues='0' showLabels='0' legendPosition='RIGHT' showLegend='1' formatNumberScale='0' showBorder='1'><set label='iPhone' value='2738602' /><set label='Windows' value='1314438' /><set label='iPad' value='987632' /><set label='Android' value='974328' /><set label='iPod' value='927866' /><set label='Macintosh' value='398802' /><set label='Linux' value='16203' /><set label='Google TV' value='4929' /><set label='Vodafone' value='2592' /></chart>"); myChart.render('chartContainer'); </script> This code doesn't produce an HTML5 Chart, I create the js code from the codebehind and add it on the page. It only creates the flash chart no html5 chart. -
Fallback For Fusioncharts.rendercharthtml Not Working
JMaj replied to JMaj's topic in FusionCharts and ASP.NET
No edit button, but I found the Javascript documentaion. As long as I can write the js code server side I don't see an issue. -
Fallback For Fusioncharts.rendercharthtml Not Working
JMaj replied to JMaj's topic in FusionCharts and ASP.NET
Thanks Angshu. My next question is how will I go about creating the HTML5 chart? -
Fallback For Fusioncharts.rendercharthtml Not Working
JMaj posted a topic in FusionCharts and ASP.NET
I'm use the code below to create a OS pie chart based on some Google data. It's creates the Pie Chart and displays it correctly. But I am not getting anything when Flash is disabled, I turned it off in chrome and just got the 'Missing Plugin' error. Is there any Fall back for Non Flash users, primarily for the iPad for client demo and presentations. Public Function ImpressionByBrowser Dim DataQuery As DataQuery = New DataQuery(Query) Dim DataFeed As DataFeed = AnalyticService.Query(DataQuery) Dim xmlData As StringBuilder = New StringBuilder() xmlData.Append("<chart caption='Impressions by Operating System' xAxisName='Systems' yAxisName='Imperssions' showValues='0' formatNumberScale='0' showBorder='1'>") For Each entry As DataEntry In DataFeed.Entries If entry.Dimensions(0).Value = "(not set)" Then xmlData.Append("<set label='" & entry.Dimensions(0).Value & "' value='" & entry.Metrics(0).Value & "' />") End If Next xmlData.Append("</chart>") Return FusionCharts.RenderChartHTML("./charts/Pie3D.swf", "", xmlData.ToString(), "OSesPieChart", "600", "300", False) EDIT I'm also embeding this on the aspx page. <script type="text/javascript" src="./charts/FusionCharts.js"></script> <script type="text/javascript" src="./charts/highcharts.js"></script> <script type="text/javascript" src="./charts/jquery.min.js"></script> And if the HTML5 or Image Fallback isn't included in the Free version that's fine, the company I work for is doing a test before we buy thing. We just wanna make sure that the code above will generate the same results for Flash, HTML5, and Image(not really important) when we do buy the license. Thanks.