Atom

Members
  • Content count

    24
  • Joined

  • Last visited

About Atom

  • Rank
    Junior Member
  1. Fine tuning chart attributes

    Ok, I think I have it now. Thank you.
  2. Fine tuning chart attributes

    <chart caption='MyStuff (Updated: Oct 14 07:03 AM)' subcaption='From: Oct, 2017 To: 10/14/19 Net $ by Month - Trend ' xAxisName='Months' yAxisName='Net $' bgColor='9AB5E4' alternateHGridColor='E3EBF5' showValues='0' labelStep='2' lineColor='FF0000'> <set label='0' value='0.00' /> <set label='1' value='2057.50' /> <set label='2' value='1975.00' /> <set label='3' value='12925.00' /> <set label='4' value='16460.00' /> <set label='5' value='18982.50' /> <set label='6' value='28310.00' /> <set label='7' value='32490.00' /> <set label='8' value='31487.50' /> <set label='9' value='39670.00' /> <set label='10' value='42145.00' /> <set label='11' value='43117.50' /> <set label='12' value='36377.50' /> <set label='13' value='45702.50' /> <set label='14' value='46740.00' /> <set label='15' value='57550.00' /> <set label='16' value='60987.50' /> <set label='17' value='69365.00' /> <set label='18' value='70443.61' /> <set label='19' value='68802.71' /> <set label='20' value='69307.71' /> <set label='21' value='74572.71' /> <set label='22' value='79697.71' /> <set label='23' value='76312.71' /> <set label='24' value='77730.21' /> </chart> My chart data is coming from a file (xml) that looks as above. Do I need to change the structure of this file? I am migrating from flash version.
  3. Fine tuning chart attributes

    <!DOCTYPE html> <html> <head> <meta http-equiv="Content-Type" content="text/html; charset=UTF-8"> <meta name="viewport" id="viewport" content="target-densitydpi=high-dpi,initial-scale=1.0,user-scalable=no" /> <title>'<?php echo $_GET["sysname"] ?>'</title> <link href="styles.css" rel="stylesheet" type="text/css" /> <script type="text/javascript" src="//ajax.googleapis.com/ajax/libs/jquery/1.11.0/jquery.min.js"></script> <script type="text/javascript" src="//ajax.googleapis.com/ajax/libs/jqueryui/1.10.4/jquery-ui.min.js"></script> <script type="text/javascript" src="FusionCharts/js/fusioncharts.js"></script> <script type="text/javascript" src="FusionCharts/js/fusioncharts.charts.js"></script> <style type="text/css"></style> <?php $DataFile = "clientFTP/".$_GET["sysname"].$_GET["period"].$_GET["DFS"].".xml"; $CType = $_GET["ChtType"]; ?> <script type="text/javascript"> FusionCharts.ready(function(){ var fusioncharts = new FusionCharts({ type: '<?php echo $CType ?>', renderAt: 'chartContainer', width: '500', height: '300', lineThickness: '1', lineColor: 'FFFFFF', dataFormat: 'xmlurl', dataSource: '<?php echo $DataFile ?>', }); fusioncharts.render(); }); </script> </head> <body class="twoColFixLtHdr"> <div id="container"> <div id="header" class="fltlft"><img src="images/logo.jpg" alt="SIF Trading Systems Logo" class="fltlft" /> <img src="images/software_box.jpg" alt="Software Box" class="fltrt" /> </div> <br class="clearfloat" /> <div id="chartContainer" style="margin-left: 200px"></div> <div style="margin-left: 200px"><br> <p>This chart is automatically updated directly from a TradeStation chart.</p><!--<p>This chart does not include the current month.</p>--> <p style="margin-right: 125px">PAST PERFORMANCE WHETHER REAL OR HYPOTHETICAL IS NO GUARANTEE OF FUTURE RESULTS.</p></div> <div id="footer"> <p><a href="<?php echo $_GET["sysname"] ?>JS.html"><?php echo $_GET["sysname"] ?></a></p> </div> </div> </body> </html> Changing the lineThickness value in the above code does nothing. I am able to change the width, for instance.
  4. I have been able to accomplish most of what I wanted as you can see here: http://www.siftradingsystems.com/MyStuffJS.html Now I'm just looking to fine tune the appearance such as setting the line thickness and color for a line chart and setting font size and type.
  5. I have been using fusion charts for years on my website. I want to convert from flash to javascript. I've down loaded the trial version. How do I implement the js charts? MyStuff
  6. Since I am upgrading, what will be the cost to upgrade?
  7. I have a very old FC license and am still using flash to generate charts. I know that I must switch to js. How do I do this? Here is where I'm using FC: http://www.siftradingsystems.com/
  8. Fusion Charts V3

    I am a long time licensor using v3. What upgrades are available to me at what cost, if any? Will the new versions be able to process the same xml files and produce charts that look exactly the same as what I have now?
  9. Charts Have Disappeared

    I've been using Fusion charts for a long time and this morning, for the first time, none of the charts on my website are being rendered. Just a blank space where the chart used to be. Thanks for your help. edit: Nevermind. The problem appeared to be with my browser (Chrome) and disappeared when I restarted my computer.
  10. Making a chart without a data.xml file

    Ok, I get that, but you still didn't explain why you can generate a chart without pointing to any data file as long as there is a data.xml file in the same folder as the html you are calling the chart from.
  11. Making a chart without a data.xml file

    What problems can result from having the html and the data in the same folder? And, if having them in the same folder is undesireable, why does it run at all without any file pointing when the data is in the same folder?
  12. Making a chart without a data.xml file

    OK, here's what the code should look like. <script type="text/javascript"> AC_FL_RunContent( 'codebase','http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=9,0,28,0','width','600','height','300','src','Line','FlashVars','&dataURL=Data.xml','quality','high','pluginspage','http://www.adobe.com/shockwave/download/download.cgi?P1_Prod_Version=ShockwaveFlash','movie','Line','FlashVars','&dataURL=Data.xml' ); //end AC code </script> <noscript><center> <object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=9,0,28,0" width="600" height="300"> <param name="movie" value="Line.swf" /> <param name="quality" value="high" /> <param name="FlashVars" value="&dataURL=Data.xml&chartWidth=600&chartHeight=300"> <embed src="Line.swf" flashVars="&dataURL=Data.xml&chartWidth=600&chartHeight=300" quality="high" pluginspage="http://www.adobe.com/shockwave/download/download.cgi?P1_Prod_Version=ShockwaveFlash" type="application/x-shockwave-flash" width="600" height="300"></embed> </object> </center> </noscript> At least it works:)
  13. Making a chart without a data.xml file

    On a related matter, the exact code which runs a chart on my website is thus; <script type="text/javascript"> AC_FL_RunContent( 'codebase','http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=9,0,28,0','width','600','height','300','src','Line','quality','high','pluginspage','http://www.adobe.com/shockwave/download/download.cgi?P1_Prod_Version=ShockwaveFlash','movie','Line' ); //end AC code </script> <noscript> <center> <object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=9,0,28,0" width="600" height="300"> <param name="movie" value="Line.swf" /> <param name="quality" value="high" /> <embed src="Line.swf" quality="high" pluginspage="http://www.adobe.com/shockwave/download/download.cgi?P1_Prod_Version=ShockwaveFlash" type="application/x-shockwave-flash" width="600" height="300"></embed> </object> </center> </noscript> There is, of course, no reference to a data.xml file here either, but I would also point out that the chart will run just fine without everything between the noscript tags. The purpose of this code is to avoid having to be prompted by IE to allow the code to be generated. You don't seem to mention this anywhere. Comments?
  14. Making a chart without a data.xml file

    Thanks for your reply, but if the data must be pointed to explicitly then why am I able to generate a chart with only this code... <html> <head> <title>My First FusionCharts</title> </head> <body bgcolor="#ffffff"> <center> <object classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" codebase="http://fpdownload.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=8,0,0,0" width="600" height="300" id="Column3D" > <param name="movie" value="../FusionCharts/Column3D.swf" /> </object> </center> </body> </html>
  15. I posted this in another area of the forum and got no response, so I hope someone here can explain. When you go through the process of "creating your first chart" you are given some code to embed which includes a reference to the location of the data. It is this line... param name="Flashvars" value="&dataURL=Data.xml" Now, you can leave this line of code completely out and the chart will run just the same. Or, you can include the line and give the file a different name. My first question is, how does the script know where to get the data for the chart if you don't explicitly tell it? Secondly, how do you go about creating two separate charts from two completely different sets of data on the same web page? Atom