Like this:

function drawVisualization() {

*  var options = {    chart: {      hAxis: {        gridlines: {
units: {            "days": {              "format": [
"MM/dd/yyyy"              ]            }          }        }      }*
*    }; *

     var wrap = new google.visualization.ChartWrapper({
            'chartType': 'AnnotationChart',
                'dataSourceUrl': '
https://docs.google.com/spreadsheets/d/1lb_pUshsx4Cy1layoy8WRfgpXLgOBYSSBSRt9e3YmB4/edit#gid=0
',
                'containerId': 'visualization',
                'query': 'SELECT A,C',
               * 'options': options*
        });

}

You should probably also find local help from someone who knows a bit of
javascript.  There are likely to be many more difficulties for you
otherwise.


On Mon, Jan 5, 2015 at 6:00 AM, Enkhtuvshin Amgalanbayar <
[email protected]> wrote:

> Greetings Daniel.
>>
>
> Following is the copy of the script I have right now. BUT I AM NOT SURE
> WHERE TO EXACTLY PUT *VAR OPTIONS* WITHIN THE SCRIPT IN ORDER TO ADJUST
> DATE FORMAT AND EDIT THE ZOOM OPTIONS.
>
> Your advice is indeed appreciated
>
> Thank you
>
>
>  <script type="text/javascript"
>     src='https://www.google.com/jsapi?autoload={
> "modules":[{"name":"visualization","version":"1.1"}]}'>
>  </script>
>  <script type="text/javascript">
>    google.setOnLoadCallback(drawVisualization);
>
>    function drawVisualization() {
>      // Define the chart using setters:
> var options = {
>   chart: {
>     hAxis: {
>       gridlines: {
>         units: {
>           "days": {
>             "format": [
>               "MM/dd/yyyy"
>             ]
>           }
>         }
>       }
>     }
>   };
>
>      var wrap = new google.visualization.ChartWrapper();
>      wrap.setChartType('AnnotationChart');
>      wrap.setDataSourceUrl('
> https://docs.google.com/spreadsheets/d/1lb_pUshsx4Cy1layoy8WRfgpXLgOBYSSBSRt9e3YmB4/edit#gid=0'
> );
>      wrap.setContainerId('visualization');
>      wrap.setQuery('SELECT A,B WHERE D > 100 ORDER BY D');
>      wrap.draw();
>    }
> </script>
>
> <body>
>   <div id="visualization" style="height: 400px; width: 750px;"></div>
> </body>
>
> --
> You received this message because you are subscribed to the Google Groups
> "Google Visualization API" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to [email protected].
> To post to this group, send email to
> [email protected].
> Visit this group at
> http://groups.google.com/group/google-visualization-api.
> For more options, visit https://groups.google.com/d/optout.
>



-- 
Daniel LaLiberte <https://plus.google.com/100631381223468223275?prsrc=2>  -
978-394-1058
[email protected] <[email protected]>   5CC, Cambridge MA
[email protected] <[email protected]> 9 Juniper Ridge
Road, Acton MA

-- 
You received this message because you are subscribed to the Google Groups 
"Google Visualization API" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/google-visualization-api.
For more options, visit https://groups.google.com/d/optout.

Reply via email to