Could someone please give me the link to the section of the documentation 
that details the Options available for the style of chart below - I've 
looked and looked.
For example:
                       'width':550,
                       'height':400,
                       'legend':'none',
                        colors: ['#e0440e', '#e6693e', '#ec8f6e', 
'#f3b49f', '#f6c7b6'],
                        is3D: true
these options above I've learned are applicable - but what other options 
are available? Where is the listing?

thanks



On Sunday, March 2, 2014 11:25:38 AM UTC+10, [email protected] wrote:
>
> Hi all,
> Need a bit of handholding please.
> I've just started off and am trying to modify the simplest sample chart 
> that might suit my purpose - the pizza pie chart.
>
> I've made a few simple mods that leave it still working:
> __________________________________________
> <!--Load the AJAX API-->
>     <script type="text/javascript" src="https://www.google.com/jsapi
> "></script>
>     <script type="text/javascript">
>
>       // Load the Visualization API and the piechart package.
>       google.load('visualization', '1.0', {'packages':['corechart']});
>
>       // Set a callback to run when the Google Visualization API is loaded.
>       google.setOnLoadCallback(drawChart);
>
>       // Callback that creates and populates a data table,
>       // instantiates the pie chart, passes in the data and
>       // draws it.
>       function drawChart() {
>
>        // Create the data table.
>         var data = new google.visualization.DataTable();
>         data.addColumn('number', 'Time of Day');
>         data.addColumn('number', 'Load');
>         data.addRows([
>           [8 , 0.1],
>           [9 , 0.3],
>           [10 , 0.2],
>           [11 , 0.8],
>           [12 , 0.6]
>         ]);
>
>         // Set chart options
>         var options = {'title':'Server Load',
>                        'width':400,
>                        'height':300};
>
>         // Instantiate and draw our chart, passing in some options.
>         var chart = new 
> google.visualization.LineChart(document.getElementById('chart_div'));
>         chart.draw(data, options);
>       }
>     </script>
> ________________________________
> Now what I'd like to do is change the data.addColumn('number', 'Time of 
> Day'); from type:'number' to type:'timeofday' but when I simply do that, 
> the chart doesn't render. I suspect I need to change the Row data now to 
> suit that field type which I read is a 2 or 4 digit representation of the 
> time - I've had a couple of tries at doing that, but can't get it right. 
> Can someone point me in the right direction with that first hurdle?
>
> Also, I tried successfully changing the chart line color, but I'd also 
> like to add/change a number of other options e.g. background color, axis 
> line colors, text color etc - can I simply do that with this chart style 
> I'm using?
>
> I've got some other questions if you're patient enough   *_*
>
> Many thanks
>
>
>
>

-- 
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/groups/opt_out.

Reply via email to