Atom

Members
  • Content count

    24
  • Joined

  • Last visited

Posts posted by Atom


  1. <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.


  2. <!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.


  3. Here is what the revised code looks like which will validate in html5:

     

    <div style="text-align: center">
          <object type="application/x-shockwave-flash" width="500" height="300">
             <param name="movie" value="../FusionCharts/Column2D.swf" />
             <param name="FlashVars" value="&dataURL=clientFTP/ESCombo7MoBar.xml&chartWidth=500&chartHeight=300">
             <param name="quality" value="high" />
             <embed src="../FusionCharts/Column2D.swf" 
    flashVars="&dataURL=clientFTP/ESCombo7MoBar.xml&chartWidth=500&chartHeight=300" quality="high" width="500" 
    height="300" id="Column2D" type="application/x-shockwave-flash" 
    pluginspage="http://www.macromedia.com/go/getflashplayer" />
    </object></div>

    so, nevermind........


  4. Further information

    <div style="text-align: 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="500" height="300" id="Line" >
    <param name="movie" value="../FusionCharts/Column2D.swf" />
    <param name="FlashVars" value="&dataURL=clientFTP/ESCombo7MoBar.xml&chartWidth=500&chartHeight=300">
    <param name="quality" value="high" />
    <embed src="../FusionCharts/Column2D.swf" 

    Gives me this validation error as html5

    Line 18, Column 36Element object is missing one or more of the following attributes: data, type

    .width="500" height="300" id="Line" >

     

     

    So I am trying to figure out if I need some new code from Fusion Charts (Is v3 still supported), or do I need to modify the code myself, or do I need to move to a newer version of Fusion Charts?

     

    Thanks for any advice.


  5. Hi,

     

    If you wish to use MSCombi2D chart, then please use MSCombi2D.swf file only.

     

    We would suggest you to use it from the latest version package(FusionCharts v3.2.2 SR5).

     

    You may download the latest trial version from the link below,

    http://www.fusioncha...ownload/trials/

     

    Hope this helps!

     

     

    Since this is a trial version does this mean I will have to upgrade my existing license at some point in order to use it long term?


  6. 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.


  7. 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:)


  8. 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?


  9. 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>
    


  10. 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


  11. When I view this post using FireFox, I cannot see the code.  One problem solved.

    <html>
    <head>
    <script language="JavaScript" src="../FusionCharts/FusionCharts.js"></script>
    </head>
    <body bgcolor="#ffffff">
    <div id="chart1div" align="center">The chart will appear within this DIV. This text will be replaced by the chart.</div>
    <script type="text/javascript">
      var myChart1 = new FusionCharts("../FusionCharts/Column3D.swf", "myChart1Id", "900", "300", "0", "0");
      myChart1.setDataURL("Data.xml");
      myChart1.render("chart1div");
    </script>
    <div id="chart2div" align="center">The chart will appear within this DIV. This text will be replaced by the chart.</div>
    <script type="text/javascript">
      var myChart2 = new FusionCharts("../FusionCharts/Pie3D.swf", "myChart2Id", "500", "300", "0", "0");
      myChart2.setDataURL("Data.xml");
      myChart2.render("chart2div");
    </script>
    </body>
    </html>


  12. 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?