<?php

//require_once 'init2.php';
include "../../site/includes/sitecommon.php";
?>
<html>
<head>
    <title>Config Line Chart Sample</title>
    <script type="text/javascript" src="http://www.google.com/jsapi"></script>
    <script type="text/javascript" src="../../site/includes/querywrapper.js"></script>
    <?php 
IncFunc::incJquery();
?>
    <script type="text/javascript">
		var count = 0;
		//alert('here .5');

 
        google.load('visualization', '1', {packages: ['corechart']});
        google.setOnLoadCallback(function() { sendAndDraw('') });
        //google.setOnLoadCallback(loadChart);
        line_chart = null;
        var options = {};
        var query;
        var firstpass = true;
        
        
        
        function setValues()
        {
          	var prop1 = document.getElementById("prop1");
                    //alert('here 3');
                }
            });
            
        }
    </script>
</head>
<body>
<div id="jq-siteContain">

<?php 
IncFunc::header1("charts");
?>
<div id="pf-body">
<?php 
IncFunc::apycomDropDownMenu();
?>
<BR>
<div id="chartTitle" style="border-bottom-style: solid; border-width: 2px;margin: 20px 0 0 0;font-size: medium;font-weight:bold;"><?php 
echo strtoupper('GLOBAL GASOLINE PRICES');
?>
</div>
    <div id="chart-div" style="margin-top:50px"></div>
    
	<!-- <input type="button" value="Display Chart" onclick="showState();return false;"> -->
<div style="font-size: 1.5em;float: left;margin-bottom: 20px;margin-top:50px;">
<input type="button"  value="View Data Table"	onclick="viewDataTable();return false;"> <br />
</div>
</div>
</div> <!--  siteContain -->
</body>
Пример #3
0
</div>

<div id="pf-form">

<BR>
Time Frame:&nbsp;&nbsp;
Start: <input type="text" id="rangeDemoStart" size="23" />
&nbsp;Finish: <input type="text" id="rangeDemoFinish" size="23" />
<input type="button" id="rangeDemoClear" value="clear" />

<!-- <div id="displaycustom"></div> -->

<BR>
&nbsp;(Preset Time Frames: 
<?php 
IncFunc::dateSelectNew();
?>
 )<BR>
<BR>


<input type="button" value="Display Table"	onclick="sendAndDraw();return false;"> <br />
<!-- <input type="button" style="color: #000000;background-color: #FFFFFF" value="Display Table"	onclick="sendAndDraw();return false;"> <br /> -->
<br />
</div><!-- pf-form -->

<div id="tmp1" style="float: left;margin-bottom: 20px">



  
Пример #4
0
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<?php 
IncFunc::title();
?>
</head>

<body>
<script src="https://spreadsheets.google.com/gpub?url=http%3A%2F%2Ff62ed6fg3rppptjtj5ia5idjichr25gm-ss-opensocial.googleusercontent.com%2Fgadgets%2Fifr%3Fup_title%26up_chartTitle%3DFederal%2520Reserve%2520Balance%2520Sheet%2520-%2520Capital%26up_labelx%26up_labely%3D(%2524%2520millions)%26up_legend%3D0%26up_stacked%3D1%26up_showpoints%3D1%26up_min%26up_max%26up__table_query_url%3Dhttps%253A%252F%252Fspreadsheets.google.com%252Ftq%253Fgid%253D5%2526range%253DA1%25253AD9%2526key%253D0AvI-SyuXTqm8dDc3OUU5ZzBRSVVhR2VNRkxJTmhlM3c%2526pub%253D1%26url%3Dhttp%253A%252F%252Fwww.google.com%252Fig%252Fmodules%252Farea-chart.xml%26spreadsheets%3Dspreadsheets&height=440&width=1380"></script>
</body>
</html>
?>

<!DOCTYPE html>
<html>
<head>
	<?php 
IncFunc::icon();
?>
	<?php 
IncFunc::title();
?>
 <?php 
IncFunc::linkStyleCSS();
?>
	<?php 
IncFunc::googleGadget();
?>
  <script type="text/javascript">
    google.load('visualization', '1', {'packages' : ['table']});
    google.setOnLoadCallback(function() { sendAndDraw('') });
    var firstpass = '******';

    <?php 
echo "var dataSourceUrl = '" . Environment::getJSPPath(true) . "mysqldatasource3.jsp';";
?>
        // var dataSourceUrl = 'http://www.pikefin.com/phpdev/gadgetsamples/echodatasource2.php';
           

   // var dataSourceUrl = 'https://spreadsheets.google.com/tq?key=rCaVQNfFDMhOM6ENNYeYZ9Q&pub=1';
    var query;
Пример #6
0
      query2 = new google.visualization.Query(dataSourceUrl2 + queryString2);
      query2.setTimeout(120);
      var queryWrapper2 = new QueryWrapper(query2, chart2, options2, container2);
      queryWrapper2.sendAndDraw();

    }

  </script>
</head>

<body style="text-align:left;">
<div id="jq-siteContain" >
<?php 
IncFunc::header2("charts");
//echo "<div id=\"yuipadding\" style=\"paddin>";
IncFunc::yuiDropDownMenu();
//echo "</div>";
?>




<br/>
	<div id="pf-form" style="margin:20px 0 0 0;font-size:15px;">
    Enter stock ticker:
    <BR>
  	<input type='text' id='a_c' /><br/>
  
  
	<!-- <div style="font-size:30;margin: 10px 0 0 0;" id="chart-title"></div> -->
	</div>
Пример #7
0
	border-color: white;
	border-style: solid;
}
table.sample td.title {
	font-weight: bold;
}
</style>
</head>

<body>
<div id="jq-siteContain">



<?php 
IncFunc::header1("home");
?>

<!-- <div id="jq-content"> -->
<div id="custom-body" style="margin: 20px 50px;">

<!-- 
To do: 
-Put a white background on the text.
-Add the twitter control to the page.
-finish the table with the alert parameters.
-set up the page and link to a table of all of the twitter alerts.



Пример #8
0
<div id="pf-form" style="display:none;">

<BR>
Time Frame:&nbsp;&nbsp;
Start: <input type="text" id="rangeDemoStart" size="18" />
&nbsp;Finish: <input type="text" id="rangeDemoFinish" size="18" />
<!-- <input type="button" id="rangeDemoToday" value="today" /> -->
<input type="button" id="rangeDemoClear" value="clear" />

<!-- <div id="displaycustom"></div> -->


&nbsp;(Preset Time Frames: 
<?php 
IncFunc::dateSelect();
?>
 )<BR>
<BR>


<input type="button" value="Display Table"	onclick="sendAndDraw();return false;"> <br />
<!-- <input type="button" style="color: #000000;background-color: #FFFFFF" value="Display Table"	onclick="sendAndDraw();return false;"> <br /> -->
<br />
</div><!-- pf-form -->

<div id="tmp1" style="float: left;margin-bottom: 20px">



  
Пример #9
0
<?php

require_once "../../site/includes/sitecommon.php";
?>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<?php 
IncFunc::title();
?>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<?php 
IncFunc::linkStyleCSS();
?>
</head>

<body>

<div id="jq-siteContain">

<div id="jq-header">
<?php 
logo();
primaryNav("charts");
chartSecondaryNav();
?>
</div> <!-- header -->

<!-- <div id="jq-whosUsing"> -->