SeeThePicture
Members-
Content count
40 -
Joined
-
Last visited
About SeeThePicture
-
Rank
Advanced Member
-
Hello, Has someone ever created an iPhone app (meaning an app downloadable from the App Store) featuring Fusioncharts? If you know that one exists please let me know the name. I would like to get the app and see how it works. Thanks, Seethepicture
-
Problems With Special Characters In Setxmlurl
SeeThePicture replied to SeeThePicture's topic in XML Issue
Thank you! I don't understand why seemingly redundant URL encoding works but it is working for me. Thank You. Regards, SeeThePicture -
Problems With Special Characters In Setxmlurl
SeeThePicture replied to SeeThePicture's topic in XML Issue
Hi, Thank you! Yes it does help. It demonstrates to me that + can be used directly in the body of the XML. Thank you. However, I may have a slightly different problem related to using the function setxmlurl when the URL contains a variable with special characters. From Documentation I am reading "Home > FusionCharts and JavaScript > Providing & updating data". I see "Using XML file as the chart's data source". I am using my dataMaker.php page to generate my xml data. I pass a variable to my dataMaker.php page through the URL to that dataMaker.php. Sometimes the URL will therefore look like: -- dataMaker.php?myvar=hereWeGo%3E where %3E can be anything to url encode characters like %3E for >, %3C for <, %40 for @, etc. I assign the location of my dataMaker.php file (with my url encoded passed variable) in a string called strang as shown by $strang in my original post. Then I pass that $strang to the FusionCharts JavaScript class function setXMLUrl as shown in my original post. Well, everything is working fine when characters get encoded as '%3E', '%3C', '%21', '%2A', '%27', '%28', '%29', '%3B', '%3A', '%40', '%3D', '%24', '%2C', '%2F', '%3F', '%25', '%5B' and '%5D'. However, I am stumbling on three cases. I get No data to display whenever characters in the URL are encoded as: -- %23 for # -- %2B for + -- %26 for & Any idea what these three might have in common, causing them not to work for me? Thank You, SeeThePicture -
Problems With Special Characters In Setxmlurl
SeeThePicture replied to SeeThePicture's topic in XML Issue
-
Problems With Special Characters In Setxmlurl
SeeThePicture replied to SeeThePicture's topic in XML Issue
Hello, Thank you for this reply. I will try that. Please note that I also specifically asked about the plus sign "+". Do you know whether the plus sign can be directly embedded or needs to be specially encoded? Can you provide a very simple example demonstrating usage of the plus sign or its code in the XML of a very basic chart? Thank you, SeeThePicture -
Problems With Special Characters In Setxmlurl
SeeThePicture replied to SeeThePicture's topic in XML Issue
-
SeeThePicture started following Background Image To Fill 100% Of Only This Section, Problems With Special Characters In Setxmlurl, Problems With Special Characters In Links. and and 1 other
-
Hi, I am doing something like this (I have simplified for this discussion), but it is consistently resulting in "No data to display.": $strang = "dataMaker.php?myvar=hereWeGo%2B"; <script type="text/javascript"> FusionCharts.setCurrentRenderer("javascript"); var myChart = new FusionCharts("ZoomLine.swf", "myChartId", "100%", "100%", "0", "1"); myChart.setXMLUrl("<?php echo $strang;?>"); myChart.render("chartContainer"); </script> The above is only problematic for me when trying to work with <, >, &, ", # and +. Of course when I get rid of the special characters, everything works fine. Also please note through the use of various things like $mysqli->real_escape_string(htmlspecialchars(urlencode(" She's looking great! This is a slash /. "]))) I am able to successfully accommodate some special characters /, \ and ' with no problem. So what do you think of the bold characters above? Is it possible to accommodate those in setXMLUrl? What are your thoughts? Thank you, SeeThePicture
-
Hi, With this XML (See attached XML file) I am trying to change the "resetChartMenuItemLabel" but it's not working for me. Does it work? In JS and in Flash? Please advise. Thanks, Ferd exported2.xml
-
Thank you! I look forward to trying that. Meanwhile I wonder if you noticed whether my XML Styles definition and application should work for myShadow for YAXISVALUES. <apply toObject="YAXISVALUES" styles="myFont,myShadow"/> It is already being worked on via a separate thread (here's the link) but I just thought it might be ok to just mention it here since we're looking at the same section of the same XML. Regards, SeeThePicture
-
Hi Sumedh, Can you please try it with my XML and with ZoomLine.swf? Here is my XML. -- See attached XML file. Thank You, SeeThePicture exported2.xml
-
Hi, I have used this code to successfully set the size of tooltip font to 25 when I render via js. Here is the code that I used: <styles> <definition> <style name='myFont' type='font' isHTML='1' bold='1' size='25' color='FFFFFF' /> <style name='myToolTipFont' type='font' isHTML='1' bold='1' size='25' color='888888' /> <style name='myShadow' type='shadow' color='333333' angle='45' strength='3'/> </definition> <application> <apply toObject='tooltip' styles='myToolTipFont' /> <apply toObject='YAXISVALUES' styles='myFont,myShadow' /> <apply toObject='DataLabels' styles='myFont,myShadow' /> <apply toObject='Caption' styles='myFont,myShadow' /> <apply toObject='SubCaption' styles='myFont,myShadow' /> </application> </styles> But when I render via flash, the tooltip font size above (specified by "myToolTipFont") seems ignored. Any suggestions on how to make this tooltip font size take effect for flash? Thanks, SeeThePicture
-
Hi, At "Documentation --> Advanced Charting --> Setting backgrounds for chart" you show how to position and size the background picture several different ways. What is the portion of the chart being pointed to by the blue arrow that I have provided? Is there a way to have the background fill only that portion? I can fill the entire portion pointed to by the purple arrow but I want to consistently 100% fill the portion pointed to by the blue arrow even when the chart is resized. This would enable us to keep the Y Axis values an X axis labels clearly visible and outside the perimeter of the background image. Thanks, Ferd
-
Maximizing Chart Size On Mobile Devices
SeeThePicture replied to SeeThePicture's topic in General usage
Thank you, I'll try this. -
Hi, When opening a chart in a new window it would be great to hide the address bar of the mobile browser. This would allow the chart to be much bigger and feel more like a native mobile app. How can this be done? Can it be implemented in such as a way as to detect whether the mobile device is Android or iPhone and hide appropriately? Thanks, SeeThePicture
-
Hi, I imagine mobile users would want to see my charts in the largest size possible. Would JQuery Prettyphoto be best for this or would New Window scaled to 100% 100% be best? If the latter, then please advise how to do this. The Documentation example in "Advanced Charting --> Resizing Charts in %" describes how to do this via instantiating a JS FusionCharts object. In my application I am using PHP to render the JS chart: <?php FC_SetRenderer("javascript"); echo renderChart("../dir1/FusionCharts/MSCombi2D.swf", $mystring, "", "anyString", 700, 500,false); ?> Any advice on how I can make sure the chart is always opened in a new window on the mobile phone and sized 100% 100%? I imagine when the user is done looking at the chart he can simply close the window. Thanks, SeeThePicture