So basically there is nothing to calculate it, i will have to make those 
calculation my self ?

the dates should be  a string or numbers in my case no date type.

On Friday, February 8, 2013 10:24:17 AM UTC-5, asgallant wrote:
>
> So you have daily data, but you want axis labels every week or every 
> month?  Your solution will be similar to what I posted 
> here<https://groups.google.com/d/msg/google-visualization-api/Zv1BFivB_Lc/PI5qpr6aIoEJ>.
>  
>  Note that the bug referenced in that thread (which prevents any solution 
> if you use a "date" type axis) is scheduled to be fixed in the next month 
> or two (assuming all goes according to the dev team's plan).
>
> On Friday, February 8, 2013 12:58:30 AM UTC-5, Yaniv Kalfa wrote:
>>
>> 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