Hey all
I am new to google graph, so i dont really know what the acceptable terms.

What i am trying to achieve would look a little like google analitics. 
where in the graph its self it will show the progress (or data) everyday 
but down on x exile it will show it by week or by month instead of every 
day.


google.load('visualization', '1', {packages: ['corechart']});
>                     function drawVisualization() {
>                         // Create and populate the data table.
>                         var data = google.visualization.arrayToDataTable([
>                                ['Date', 'Price'], 
>                                <?php echo implode(',',$DatePriceGraph); 
> ?>                                        
>                            ]);
>                         new 
> google.visualization.LineChart(document.getElementById('chart_div')).
>                         draw(data, {
>                                 curveType: "none",
>                                 width: '950px', height: '332px',
>                                 vAxis: {maxValue: 10}
>                                 }
>                             );
>                      }
>                      google.setOnLoadCallback(drawVisualization);
>

This is what i currently use.

Any help would be appreciated. 

-- 
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?hl=en.
For more options, visit https://groups.google.com/groups/opt_out.


Reply via email to